LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way (via toolbox, API or ActiveX) to implement a drag and drop capability for a palette of indicators onto a blank VI and then run it in labVIEW? Is it even possible with labWindows CVI?

An application I have been asked to design has a series of VIs with numeric indicators, graphs, etc. One such VI is attached. The target audience would like to have custom displays because the spectrum of data is so large. To me, it sounds like what we need is a drag and drop capability to populate a blank VI with indicators from a palette, much like typical IDEs, for example Borland's C++ Builder or Visual Basic and then run it. Is this possible in labVIEW 7.0 or CVI?
0 Kudos
Message 1 of 4
(2,835 Views)
You need more than just a palette of indicators because you would need some method of generating the code. This is no different than Visual Basic. The ability to create a LabVIEW program from a script or from another LabVIEW program does not exist in version 7. The technology does exist and is being used but only by some NI programs (i.e. Vision Build and State Machine Toolkit). When it will be made available to the public is anyone's guess. In the meantime, you might come close by writing a program that would have the maximum number of options and make controls/indicators/tab pages visible or invisible based on user choices. There are other techniques such plug-ins or the new sub-panels that could be used.
0 Kudos
Message 2 of 4
(2,835 Views)
thanks for your input Dennis! I have plenty of time to put together prototypes, so it may just work.
0 Kudos
Message 3 of 4
(2,835 Views)
>The ability to create a LabVIEW program from a script or
>from another LabVIEW program does not exist in version 7.
>The technology does exist and is being used but only by
>some NI programs (i.e. Vision Build and State Machine
>Toolkit).


Not any more.
I just create a VI, "Drop VI.vi", which let LabVIEW programmers creating VIs programmatically.

This VI drop a VI on the specified diagram progarmmatically at cursor position; drop a control/indicator on the specified front panel; or drop an image on the front panel/diagram. This VI can also be used to drop a file on Windows Explorer.

Demo can be downloaded from my web site.

George Zou
http://gtoolbox.yeah.net
George Zou
0 Kudos
Message 4 of 4
(2,835 Views)