LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can we tell if a VI is already running before calling Start Asynchronous Call?

Solved!
Go to solution

Being quite an old thread, the importance has nevertheless not changed, nor has the state of solutions. I found something rather weird, but ingenious at the same time. Check it out:

Find truly executing VIs by trying to save the run-time menu

KUDOs to Tanja Troescher.

 

Message 11 of 14
(1,207 Views)

Sushant_Kumar_0-1602785807542.png

 I think this could also be a solution for your problem.

0 Kudos
Message 12 of 14
(632 Views)

comrade's "Find truly executing VIs by trying to save the run-time menu" is nice if the code will only run in LabVIEW (especially since you can output to a nul device "\\.\NUL" to avoid actual disk access) but that property is not available at run-time.

0 Kudos
Message 13 of 14
(495 Views)

> I think this could also be a solution for your problem.

 

Sushant_Kumar, the problem with your solution is that it will output Running even when it is just Waiting to Run (i.e., when its caller is running but it is not).

0 Kudos
Message 14 of 14
(491 Views)