LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I programatically tell if an application is running?

I interface to another application from my CVI app.  How can I tell if the other app is already up and running?

0 Kudos
Message 1 of 2
(2,992 Views)

One possible option is to check this thread and the one linked in it. This will permit you to detect if the application is listed among running applications in the system.

 

Another option, provided you can modify the target app or there already is some applicable function, is to use the interface that you are using to introduce some sort of "hartbeat" in the applications: the target appication periodically modify some element which can be handled in the interface so that your CVI app can detect it is alive.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,981 Views)