LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to stop LabVIEW linux with a shell command

I'd like to stop LabVIEW from the shell in Linux (by telnet). How can I do that without killing LabVIEW "violently"?
thanks
Pascal Greliche
0 Kudos
Message 1 of 6
(3,784 Views)
Do you want to stop LabVIEW or stop your program? If you want to stop your program you can do things such as look for a file called quit.txt (or something else) in a defined location and have the presence of that file cause the program to programatically quit LabVIEW. Have your program erase the file before quitting and you are all ready to go for next time. You can easily create this file explicitly or with a shell script.

-Jim Kring
0 Kudos
Message 2 of 6
(3,784 Views)
No I want to stop LabVIEW without any vi running. Which signals does LabVIEW concider ? The SIGSTOP doesn't seems to be concidered.
0 Kudos
Message 3 of 6
(3,784 Views)
Could you load a VI from the commandline, set it to auto-run, and have it
close Labview down from the inside? From the point of view of scripting it's
equivalent.

Pouet78 wrote in message
news:506500000005000000BC4A0000-1004225886000@exchange.ni.com...
> No I want to stop LabVIEW without any vi running. Which signals does
> LabVIEW concider ? The SIGSTOP doesn't seems to be concidered.
0 Kudos
Message 4 of 6
(3,784 Views)
could probably just use the kill command on LabVIEW. Its not neat, but if you don't have any VI running at the time, it probably won't cause any problem.
0 Kudos
Message 5 of 6
(3,784 Views)
Wouldn't be my favoured approach; a sh or perl script doesn't know if any
VIs are running before doing a "killall -9 labview"

Aaron Marks wrote in message
news:506500000005000000D24A0000-1004225886000@exchange.ni.com...
> could probably just use the kill command on LabVIEW. Its not neat,
> but if you don't have any VI running at the time, it probably won't
> cause any problem.
0 Kudos
Message 6 of 6
(3,784 Views)