Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66748

How do I "find" Asynchronous VIs?

$
0
0

I like to use the Asynchronous Call and Forget function to start parallel loops, as it allows me to launch the parallel VI when all the prerequisites for it have been met.  It can also be done from within another loop without compromising Data Flow.

 

Sadly, sometime my code doesn't work 100% of the time, and the detached VI keeps running (even though I thought I told it to stop).  I've also had the situation of stopping LabVIEW and getting a warning that one or more VIs will have to stop.

 

Is there a programmatic way to "find" all of the VIs that have been started (and are still running) Asynchronously?  If so, one could (in principle) interrogate them, abort them, or simply "know about them".  I thought that maybe the Invoke Node "All VIs in Memory" (one of the Application Methods) would work, but it doesn't find the detached nodes.

 

Bob Schor 


Viewing all articles
Browse latest Browse all 66748

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>