LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO CLOSE A SUBVI

I HAVE A MAIN VI WITH MANY SUB VIS , HOW CAN I PUT A BUTTON ON MY SUB VIS TO CLOSE OUT OF THE SUB VI AND RETURN TO THE MAIN VI?
0 Kudos
Message 1 of 2
(2,482 Views)
insert a STOP button and connect it to the conditional terminal of the While loop of the vi. 
When STOP is Pressed, the vi will finish execution. 
The vi property has to be set so it closes after finishing execution.  To do that
 
right click the vi icon
windows appearnace -----customize----  enable "show front panel when run" and close afterwords if initially closed
Message 2 of 2
(2,477 Views)