LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Checking if executables are running?

I am trying to link to execuatbles together.  In the second executable I am checking to see if the first is running.  In the development version I am using a property node to list all vi's in memory and then check the list for the particlular vi I need to link with.  Then I open a reference to the vi to check the execution state.  When in a runtime mode is there a way to check which labview executables are running?
 
Thanks,
 
Ryan
0 Kudos
Message 1 of 2
(2,529 Views)

Enable the VI server in each executable, with a different port for each one. This can be done through the options menu or by copying the appropriate lines into the application's INI file.

Now, place an Open Application Reference VI and wire the correct port number into it. Also, you will probably want to use a smaller timeout. You can run this in a loop and as long as you get an error it means the application is not running. If you do open a connection, you should remember to close it once you are finished with it.


___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,512 Views)