LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Auto-Replace Currently Running VI?

I'm writing some code here to launch an arbitrary VI from a command
line. The user uploads a VI and then it's launched and they are
provided with a page containing their panel. However, if they make a
change and re-upload the VI, it jams because the host system asks for
user confirmation via the View/Discard dialogue for a currently running
VI. I realize I could avoid this problem by incrementally naming their
uploaded files, but I need to control the amount of memory used and
therefore cannot permit a ton of running VIs.

Does anyone know a way to supress user interaction when opening a VI
that is already running or perhaps close a currently running VI of a
specific name from the command line?

Also, does anyone know of a complete
list of command line switches for
labview? (i.e. labview.exe -run suchandsuch.vi, etc)

Thanks in advance for any help,
- Xo



--
Xocet
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
0 Kudos
Message 1 of 2
(2,631 Views)
the LV team made this drop dead simple in LabVIEw 7.0 by intgrating your VI and the command line. If you ahve LV 7.0, open the example called "CommandLine.vi" to see how it works.

If you don't have LV 7, then I recommend that you look at the evaluation version just for this feature. The eval is free, and the example I mentioned is easily found from the Example Finder. This feature alone my make it worth your while to upgrade.
Message 2 of 2
(2,631 Views)