LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to kill LabVIEW Runtime from Vb.Net

i make one application in vb.net where i call dll of the LabVIEW . when i kill my application but labview runtime is not kill.

Now my Question is how can i kill LabVIEW Runtime from vb.net.
(before my application get terminated)


ThanX in adva.................
0 Kudos
Message 1 of 2
(2,532 Views)
Hello,
 
Perhaps you can use a command line taskkill operation (see the link below)- it's basically like the task manager operation, and I think should do the trick.  To execute commands from LabVIEW as in a command prompt, you can use the System Exec VI which can be found in the Communication palette in LabVIEW.  To get started, the following string used for the "command line" input to the System Exec VI should open that text file in notepad: (provided that "C:/test.txt" is indeed a path to a file named test.txt)
 
notepad.exe "C:/test.txt"
 
Windows XP/2000 Commands and Tools
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 2 of 2
(2,518 Views)