LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to close main window programatically?

I built an application where Main.vi calls some dialogs. Main.vi has nothing for the user to see.
I want Main.vi to close and disappear when it terminates.
I have tried every combination I can think of in VI Properties/Window Appearance and .../Execution, but when I build and run the app,
the Main.vi window remains on the screen when it terminates.
What's the magic trick to make Main.vi close, disappear, go away, and cease to exist like a properly closed application?
 
bb
0 Kudos
Message 1 of 3
(2,577 Views)
Use the function called quit labview under the applications pallette. this will make it like a true windows application.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 3
(2,571 Views)
take a look at this vi i just built u use the quit labview function found in the functions-->application control pallet, it is in the bottom right corner of ur application control palette.
hope this helps
0 Kudos
Message 3 of 3
(2,570 Views)