LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

automatically close vi

I have produced an EXE file from a simple VI. at the end of the execution the user is asked whether they want to repeat the VI or not, to do this i have used a while loop. If the user answers yes the vi executes again. However, if the user selects no the VI stops but remains open. I require the VI/EXE to close down if no is clicked.

Any thoughts?

Ross
0 Kudos
Message 1 of 3
(2,915 Views)
Ross,

There are a couple of ways to do this. First, there is a function called "Quit LabVIEW" inside the "Application Control" functions palette. You can call this when you are at the very end of your application. Second, a LabVIEW application will exit, if there are no front panels open. You can use VI Server to close the front panel of your VI at the very end of execution.

Good luck,

Jim
0 Kudos
Message 2 of 3
(2,915 Views)
I can't build standalone applications myself, but I use the "Quit LabView" VI from the Application Controls panel. I assume that using this VI in standalone mode will just quit the application.

Edwin
0 Kudos
Message 3 of 3
(2,915 Views)