Re: dynamically call re-entrant VI

2004-06-22 Thread Greg McKaskle
about it and can even be quit without affecting the children. Greg McKaskle

Re: Sending pointers to libraries

2004-06-22 Thread Greg McKaskle
substitution and treat the number as the result of some mathematical operation, does it make sense to you how the three values are being maintained. Greg McKaskle

Re: Getting data back from libraries

2004-06-22 Thread Greg McKaskle
. Be sure not to give it pointer to stack variables or you will cause some nasty corruptions. Greg McKaskle

Re: Generic UI question [menu someone ?]

2004-06-22 Thread Greg McKaskle
about how this gets torn down and released. Greg McKaskle

Re: #define

2004-06-22 Thread Greg McKaskle
to modify the constants throughout the program. When your C programmer friends start to snicker and talk about efficiency, select some code and make a subVI from selection. Or start explaining how LV has dynamic arrays and loop autoindexing. It will usually send them away. Greg McKaskle

Re: dynamically call re-entrant VI

2004-06-21 Thread Greg McKaskle
now available on the Open VI Ref that help with the autodisposing of the reference upon completion. Greg McKaskle

Re: Analysis Support files

2004-06-17 Thread Greg McKaskle
problem you see? What dialogs or errors do you get? Greg McKaskle

Re: system low on virtual memory

2004-06-17 Thread Greg McKaskle
through and possibly even modify. Greg McKaskle

Re: Problems after Update 6.1 to 7.0 Linux-Vers.

2004-06-17 Thread Greg McKaskle
souls that turned on a hidden token that make diagrams be partially transparent. It was a test feature for allowing hidden code and wires to be seen through, but the performance in nested loops quickly became a problem. So another question is, have you added anything to the preference file? Greg

Re: changing local variable to read

2004-06-16 Thread Greg McKaskle
at is, be sure that you aren't using local variables to store and retrieve data into controls instead of using wires and dataflow. I bring this up because this is a common habit when people move from a procedural language like C or BASIC to LabVIEW or other functional langauages. Greg McKaskle

Re: Windows API vis

2004-06-16 Thread Greg McKaskle
to build a wrapper function in C or other language. Greg McKaskle

Re: Can I resize function icons on the diagram ?

2004-06-15 Thread Greg McKaskle
than trying to resize individual elements of the diagram. There are lots of ways to get images of diagrams, bitmaps, printing to postscript, etc. If you have more specific questions, please ask again. Greg McKaskle

Re: While loop in subVI

2004-06-15 Thread Greg McKaskle
is in the same VI? If I understand your question correctly, the answer is yes. A loop around code is the same as a loop around a subVI containing the same code, is the same as a subVI containing a loop containing the code, ... There will be slight performance differences, but very small. Greg

Re: search special character

2004-06-15 Thread Greg McKaskle
expressions, you will want to escape the special characters by preceding them with a \. To search for [] you would search for \[\] Try it out in a simple example to learn how it works, and be sure to click the more help and read the manual page on this node as it is full of features. Greg

Re: Returning an array of strings to LV from activex.

2004-06-15 Thread Greg McKaskle
is working fine. Without the extra typing information provided by the To G Data, LV just doesn't know enough to make a decent probe, at least not today. Greg McKaskle

Re: Virtual memory

2004-06-15 Thread Greg McKaskle
a decent amount of code to do so, and the built-in behavior is pretty good if it isn't growing millions of times. Greg McKaskle

VIs for NIWeek GBnU

2004-06-14 Thread Greg McKaskle
PROTECTED] along with some description of what you were trying to do and what things you wished had turned out better. The VIs will be made anonymous and the presentation will be very interactive. Join us if you can for the NIWeek session. Greg McKaskle

VIs for NIWeek Session

2004-06-14 Thread Greg McKaskle
PROTECTED] along with some description of what you were trying to do and what things you wished had turned out better. The VIs will be made anonymous and the presentation will be very interactive. Join us if you can for the NIWeek session. Greg McKaskle

Re: LV7 How to click on an xy chart and identify the data point selected

2004-06-14 Thread Greg McKaskle
on devzone or other sites to do this, and in the future more of this may be built into graph methods. Greg McKaskle

Re: Reusable Code

2004-06-14 Thread Greg McKaskle
casting. For higher properties, you may need to cast the control reference before setting the property. If this doesn't make sense or doesn't work, please ask again. Greg McKaskle

Re: labview runtime engine

2004-06-13 Thread Greg McKaskle
and looking at remote panels published there to check your installation. You might try reinstalling the remote panel plug-in or looking for the plug-in file to see if it is in the correct plug-in folder. Greg McKaskle

Re: Arithmetic performance

2004-06-12 Thread Greg McKaskle
the multiplication 10 or 100 thousand times to get a decent elapsed time for the PC clock resolution. Greg McKaskle

Re: Dll data update

2004-06-09 Thread Greg McKaskle
. Greg McKaskle

Re: Is there an elegant way to paste data from a spreadsheet...

2004-06-09 Thread Greg McKaskle
it to be there in a future release, but the current controls deal primarily with internal binary data and haven't expanded to deal with external clipboard data yet. Greg McKaskle

Re: Connect to Remote Panel

2004-06-09 Thread Greg McKaskle
is typically launched from the menu or the web page at the client's request. You can do this using the VI Server. Drop an invoke node and select the Remote Panel Open Connection to Server. You can also make web pages and use LV to programmatically open the web page. Greg McKaskle

Re: Call Library

2004-06-08 Thread Greg McKaskle
out. Oops. I forgot it had been added and didn't look before posting. Live and learn. Greg McKaskle

Re: Call Library

2004-06-07 Thread Greg McKaskle
as an integer and pass a zero. Greg McKaskle

NIWeek Guinea Pig Grovelling

2004-06-07 Thread Greg McKaskle
, or human nature at least. So, time is running out and if you have something that has a UI, performance, or capability problem, please consider submitting it by emailing to [EMAIL PROTECTED] Thanks, Greg McKaskle

Re: Recursive Code Challenge

2004-06-06 Thread Greg McKaskle
to make the iterative version. Greg McKaskle

NIWeek Session, Guinea Pigs Needed

2004-06-06 Thread Greg McKaskle
in attendance will learn something. So if your app seems like good a good guinea pig, please consider submitting it to [EMAIL PROTECTED], otherwise I'll keep asking. Greg McKaskle

Re: Can I update numeric control value from global parameter or other

2004-06-06 Thread Greg McKaskle
. Of course I'd recommend that you be sure that you really need the duplicates when used. If you have questions about the UI, you can ask with more details, or you can also submit your UI to be critiqued for an NIWeek session. Greg McKaskle

Re: Unlink x-axis marker values from graph scale

2004-06-05 Thread Greg McKaskle
that you overlay. The problem with this approach is that as fonts change when you change platforms, or MS changes the default font, your array and graph won't line up. The markers on the graph always will. Greg McKaskle

Re: Windows Media Player runs when VI Is opened

2004-06-05 Thread Greg McKaskle
. This is really just transferring the problem to the subVI, but if you want to edit the main panel without this in your way, that may be a decent solution. Otherwise, you can perhaps look for another player that play more nicely. Greg McKaskle

Re: How to replace multiple items at once?

2004-06-05 Thread Greg McKaskle
to Ctl-v. Greg McKaskle

Re: how do I allocate more memory to a large labview array?

2004-06-05 Thread Greg McKaskle
specific and can't always be used in the general case. Greg McKaskle

Re: How do I create text labels for the XY graph legend

2004-06-05 Thread Greg McKaskle
this interactively, show the cursor legend and use the style button to select various appearance settings. Programmatically, you use the graph property node, probably setting the Cursor Array with the appearance properties all at once. Greg McKaskle

Re: Autoscale Y axis

2004-06-03 Thread Greg McKaskle
pretty much the same algorithm that LV uses. Or you can write the data to LV and immediately set the min to zero leaving autoscaling on. You might try this in a single property node or in a tightly sequenced set of property nodes, possibly with panel updates turned off when doing it. Greg

Re: which command I can use to exit from a subvi without exiting

2004-06-03 Thread Greg McKaskle
, just like the loop and case statement that it is built from. Greg McKaskle

Re: Image acquisition using video capture card

2004-06-03 Thread Greg McKaskle
the picture control. If you have base, you can sacrifice some color information and use the intensity graph. Greg McKaskle

Re: how to convert time (X-axis) from seconds to minutes

2004-06-03 Thread Greg McKaskle
units. For time, that makes seconds look like minutes. Greg McKaskle

Re: Bird's Eye View 1.5.0 Available

2004-06-03 Thread Greg McKaskle
saw of it was the beta for 7.1, which was I believe a few weeks after the OpenG version was posted. So if it wins a Nobel or similar, I guess it will be a shared honor. Anyway, it is interesting how many times this sort of thing seems to happen. Like I said, enjoy. Greg McKaskle

Re: [OT] NI Internal Programs

2004-06-03 Thread Greg McKaskle
Tracking tools? (Bugzilla, etc.) SCC? (SourceSafe, CVS, etc.) A home brewed company-wide groupware database for bug tracking, and we once used our own front end to RCS, but currently use Perforce for SCC. Greg McKaskle

Re: VI hangs while attempting to save

2004-06-02 Thread Greg McKaskle
and severely slowed down the app load time. The solution was to convert the detailed .emf file to another form before adding to the panel. As pointed out in the other posted answer, you might check the VI Info to determine if it is panel, diagram, code, or data. Greg McKaskle

Re: Insert 1D array into 3D array

2004-06-01 Thread Greg McKaskle
, or attach a picture. Greg McKaskle

Re: Polymorphic functionality of Delete From Array

2004-06-01 Thread Greg McKaskle
go on vacation of something. Greg McKaskle

Re: [W] user specific LabVIEW ini file

2004-06-01 Thread Greg McKaskle
this way for built apps. Greg McKaskle

Re: Minimum elapsed time resulution

2004-05-31 Thread Greg McKaskle
be pretty reliable. But keep in mind that this will delay by consuming the CPU for a period of time, not by releasing it to the OS, so the more this delay is used, the higher the CPU usage will go. Greg McKaskle

Re: Speed of VI on two Computer Systems

2004-05-31 Thread Greg McKaskle
PROTECTED] Greg McKaskle

Re: Minimum elapsed time resulution

2004-05-31 Thread Greg McKaskle
doesn't work, search for high-precision timer or something similar. Greg McKaskle

Re: Display the indicator bigger when the user clicks on it

2004-05-29 Thread Greg McKaskle
color and name just before showing to fit it to the thing clicked upon. Greg McKaskle

Re: Disable Monitoring of Remote Panels

2004-05-29 Thread Greg McKaskle
in line. To do this, you could use CGI in LV, Perl, etc. Greg McKaskle

Re: to customize a horizontal meter control to vertical

2004-05-28 Thread Greg McKaskle
the outer scale ticks where you want, then coloring or hiding the pieces you don't want to see. Unfortunately, the meter is a troublesome control that has lots of ratios and things hard-coded. Greg McKaskle

Re: What LabVIEW for Linux based on ?

2004-05-28 Thread Greg McKaskle
for other functionality, it has to have special code for the window manager, KDE, etc. Greg McKaskle

Re: What do I need to do now to ensure that datalog files will...

2004-05-28 Thread Greg McKaskle
save a few of the newest. Coming up with a universal storage format is very difficult. Greg McKaskle

Re: Event Structures within a Case Structure

2004-05-27 Thread Greg McKaskle
. Greg McKaskle

Re: What does the anti-aliasing feature of the graph do?

2004-05-27 Thread Greg McKaskle
, by by an OpenGL driver in its own memory buffer slows it down further. For slowly changing plots, they look quite nice. This doesn't make sense for dense data or quickly changing data. Greg McKaskle

Re: Event Structures within a Case Structure

2004-05-26 Thread Greg McKaskle
usually be collapsed down into a single loop, but some prefer to keep them separate. If you describe more of why you want the event structures in different cases, we can give alternatives that make more sense. Greg McKaskle

Re: DAQmx, etc.

2004-05-26 Thread Greg McKaskle
the tasks you want to proceed in parallel. This is different than older DAQ where the balance was often out of whack and one mechanism existed to yield the CPU and thread back to LV. Greg McKaskle

Re: LV Wishlist

2004-05-26 Thread Greg McKaskle
%26temp1=%26node= If this URL doesn't work search for two words, wish list, and it will lead you to the Product Suggestion Center. Greg McKaskle Use this wish list instead: http://forums.lavausergroup.org/index.php?showforum=14 } Can't find NI's wishlist page. }

Re: Hi!!how can I build a vi with every number of inputs?

2004-05-24 Thread Greg McKaskle
and set the option. When dropped, you will get the build array's default size already wired to the other subVI. Greg McKaskle

Re: accessing front panel LEDs in several subVIs

2004-05-23 Thread Greg McKaskle
probably want a delay in the loop. Greg McKaskle

Re: I have an interface (main vi) wich call another interface...

2004-05-22 Thread Greg McKaskle
returning or leave it to the caller. Just be sure they are in agreement. Greg McKaskle

Re: is there a null value in labview?

2004-05-22 Thread Greg McKaskle
. Greg McKaskle

Re: What LabVIEW does internally while coercion dots appears in block

2004-05-20 Thread Greg McKaskle
is equivalent to a coversion bullet. Does this answer your question? Greg McKaskle

Re: How to call function in C# DLL

2004-05-19 Thread Greg McKaskle
the .NET or C# code will produce an assembly, the easiest thing to do is to use the .NET assembly. It is probably possible to build a DLL instead or put a DLL wrapper on it, but I'm not sure it is worth it. Greg McKaskle

Re: How to Run a VI when it is active?

2004-05-19 Thread Greg McKaskle
is the IsFrontmost property of a VI. You might start by looking up the help and looking for examples on these individually. If you need additional help, please be more explicit. Greg McKaskle

Re: pointer to array

2004-05-19 Thread Greg McKaskle
Libraries (DLLs) and Calling Them from LabVIEW on zone.ni.com. This tutorial goes over lots of DLL related issues and has an example of passing a numeric array in and out of a DLL. Greg McKaskle

Re: pointer as an input parameter in call library function

2004-05-19 Thread Greg McKaskle
indicators to view the results. If you still have problems, please be specific as to which step causes problems. Greg McKaskle

Re: What happened if i check the property called Reentrant in SubVI's?

2004-05-19 Thread Greg McKaskle
. If it is nonfunctional, the reentrancy only makes sense one way, and the compiler can't tell which makes sense, only the designer of the VI. Greg Mckaskle

Re: How to Run a VI when it is active?

2004-05-19 Thread Greg McKaskle
the VI server code to them as well, or add a user event that passes the request on to the Main VI. To close a panel, get the reference and close the window. You can also abort the VI if that is what you intend. Greg McKaskle

Re: How Does the Waveform Chart Allocate Memory in LabVIEW?

2004-05-18 Thread Greg McKaskle
, you might try smaller numbers and see if that is part of the problem. Otherwise it might be some other part of your diagram. Greg McKaskle

Re: Use unsupported framegrabber

2004-05-18 Thread Greg McKaskle
There are some examples that ship with LV, but you will find many more on devzone or labview zone if you search for Calling External Code. Greg McKaskle seb wrote: Thank you Greg for the answer, Do you know where I can find some example to write my drivers ? Merci ! Sebastien

Re: change the background of one control in an array of clusters

2004-05-18 Thread Greg McKaskle
through a function that computes colors and puts the value into the output array of clusters. Greg McKaskle

Re: How can I cancel a runing program?

2004-05-17 Thread Greg McKaskle
But unfortunately all suggestions did not work. Is there any other chance to cancel it? Open a New VI, use VI... to browse to and drop the icon for the top VI. It will not start running. Double click on it and it will not start running. If it does, please explain where it starts. Greg

Re: Use unsupported framegrabber

2004-05-17 Thread Greg McKaskle
many functions you will need and how many times you see the word struct or other more complicated C datatype stuff. If you haven't got the time or skills, but do have the money, you might want to look for an alliance member in your area. Greg McKaskle

Re: How to save intensity chart as movie?

2004-05-17 Thread Greg McKaskle
at either development SDK functions from the vendors or to third party toolkits that have already wrapped things up into VIs. Greg McKaskle

Re: Support for abstract data types from a C DLL in LV?

2004-05-17 Thread Greg McKaskle
it and put it in your own palette, it is pretty similar. Greg McKaskle

Re: ActiveX server in Labview

2004-05-17 Thread Greg McKaskle
asynchronous notifications and more a function call with a funny calling convention. So what is in LV7 is a subVI callback that you register. Greg McKaskle

Re: How can I cancel a runing program?

2004-05-14 Thread Greg McKaskle
. Another trick is to open and set a breakpoint on a subVI of the VI. Greg McKaskle

Re: How to do an event only once inside a while loop?

2004-05-13 Thread Greg McKaskle
several shift registers for various data, you might decide to combine them into a cluster and use fewer shift registers. The choice is yours. Greg McKaskle

Re: lining up a reference trace too muliple input signals

2004-05-13 Thread Greg McKaskle
, and if they are the same, the waveforms will line up on their initial point. Greg McKaskle

Re: Why is the difference between Error Out.ctl and Error Out

2004-05-13 Thread Greg McKaskle
on a panel using 3D controls. Greg McKaskle

Re: memory management and style

2004-05-12 Thread Greg McKaskle
they will need to know this later in life while others hack their way through just enough to get the desired A, B, or C. Enjoy, Greg McKaskle

Re: Multiple Waveform Graphs

2004-05-11 Thread Greg McKaskle
, write to them always, but if you can measure a problem or have spare time on your hands, add code to make the update conditional and deal with the data when being shown. Greg McKaskle

Re: Programmatically controlling multiple scale graph

2004-05-10 Thread Greg McKaskle
, then programmatically hide the ones you don't need and show the ones you are using. You can also set the Plot Active Y Scale to select which Y scale is used for the plot. Greg McKaskle

Re: memory goes crazy when calling a sub-vi

2004-05-08 Thread Greg McKaskle
solution to what problem is quicker if you are an experienced programmer in any other language. If not, make lots of small controlled experiments and ask questions. Greg McKaskle

Re: How do I display a progress bar which obtains its value from

2004-05-08 Thread Greg McKaskle
a minimum of locals as more locals open up the possibility of more race conditions. To update a progress bar on another panel, use a control reference's value property. Greg McKaskle

Re: Type issues in LV

2004-05-08 Thread Greg McKaskle
done, please ask, I'll stop making excuses for how hard it is now. Greg McKaskle

Re: Why can't I save any VIs?

2004-05-08 Thread Greg McKaskle
the VI to check for corruption. Post again if this is the case and it isn't obvious why the DLL call is corrupting memory. Greg McKaskle

Re: I need to disable the right-click feature of my mouse while running

2004-05-08 Thread Greg McKaskle
. Greg McKaskle

Re: Why is Time treated as an ugly child in labview

2004-05-08 Thread Greg McKaskle
and you probably will get what you want. I believe this is what happens by default when using single point DAQ. Greg McKaskle

Re: Why is Time treated as an ugly child in labview

2004-05-08 Thread Greg McKaskle
will still be with us. If you or anyone else has more concrete suggestions, please let us know about them, here or better yet in a suggestion form. Greg McKaskle

Re: Limit in waveform data size?

2004-05-07 Thread Greg McKaskle
be minimized to a point, but at some point the convenience of dealing with a simple arrays takes too much memory and you need to operate in blocks or on decimated data. There are some pretty good articles on dealing with large arrays on the NI web site. Greg McKaskle

Re: hotkey and subpanels

2004-05-07 Thread Greg McKaskle
it to the subpanel versions of themselves. Definitely not elegant, but quick in a pinch. Greg McKaskle

Re: How can I get notification that a callback vi has closed

2004-05-06 Thread Greg McKaskle
. This hopefully means this interface doesn't change as much, but the LV to LV interface can offer more options and change more often without disturbing the rest of the app. Greg McKaskle

Re: Slide control autoscale??

2004-05-06 Thread Greg McKaskle
and the scales would just change alot. It is not built-in, but a subVI could easily be written to do this whenever asked on any slide, given its reference and perhaps a parameter to state the style of rescaling. Perhaps someone already has a similar VI they would like to put on devzone? Greg McKaskle

Re: How to add plot areas?

2004-05-06 Thread Greg McKaskle
. Greg McKaskle

Re: memory goes crazy when calling a sub-vi

2004-05-06 Thread Greg McKaskle
, accessable and usable from LV so that you get the best of both. This is true of most/all good libraries. Greg McKaskle

Re: Save path of options

2004-05-05 Thread Greg McKaskle
user directory. If this doesn't help, ask again and I can look into it further when I'm near a PC. Greg McKaskle

Re: How can I get notification that a callback vi has closed

2004-05-05 Thread Greg McKaskle
synchronization from both LV using the DLL node and from your C++ code. Personally I'd go for the call unless you need notification during their execution and not simply at the end of the VI. Greg McKaskle

  1   2   3   >