LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check if a Vi clone is still running such that we can interrupt it

Solved!
Go to solution

@DT1981 wrote:

Please let me know if I understand correctly.

 

The boolean refnum negates itself once the database read vi finishes, and we have the event handler catch the Boolean refnum's value change event and exit the event handler?


As mentioned, the Boolean refnum is just an artifact of making the snippet. The previously attached VI doesn't use a refnum. Delete the refnum, and link the property node to the Boolean control.

 

When the query is done, the Value change event will trigger the event structure, and it will stop waiting. If the time out event is done first, it will send the terminate and stop waiting.

0 Kudos
Message 11 of 11
(194 Views)