Showing results for 
Search instead for 
Did you mean: 

Possible for sub vi to abort caller vi and then keep running?

Go to solution

I want to run my main vi,

and I want that main vi to call a sub vi,

when the sub vi starts, I want it to abort the main vi,

then, I want the sub vi to keep running.



I don't think so, because aborting the caller should also automatically abort all running sub vi's, but I wanted to confirm if there was some other trick I was missing.

0 Kudos
Message 1 of 4

Dynamically call the subVI.  Perhaps do a Call and Forget setting?

Message 2 of 4

<Comment in total agreement with Raven's Fan> ...


Yes, indeed!  If you are careless about making sure your "detached" VIs get stopped either "by themselves" or by your main routine "reaching into them" and turning them off, you can have multiple VIs "running loose" when your main VI (and all of its legitimate offspring) stop.


Bob Schor

Message 3 of 4
Accepted by wnb

Ok, awesome, exactly what I was looking for.

Thanks you guys.


Solution that worked for me was to start an asynchronous call-and-forget VI call.

0 Kudos
Message 4 of 4