LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

suspend when called

How do perform a "suspend when called" without getting the "can't close a suspended vi" error when finished with the vi?  I have a gui that opens during its sequence frame and needs to stay "suspended" in that frame until the user closes the gui, after which, the rest of the sequences execute.  But I don't want the user to deal with error windows or run buttons. 
 
Who are my experts out there?  Let me know if you have a solution!  Thanks!!!
0 Kudos
Message 1 of 2
(2,744 Views)
Hi mdamico,

use an Panel close? event to stop the VI.

So you just run the VI inside the sequence (as long as the VI is running the sequence is halted), and finish the VI if a Panel close? event is triggered.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 2
(2,733 Views)