I am building an executable application. When the application
ends, it remains in an open window that needs to be closed separately
afterwards. Is there a way for that window to close automatically
when the application ends?
Attached is a VI I wrote which I use for this. Note that it only exits if it was called by the top level VI. The reason I did this is because I sometimes take working programs and call them from other VIs. This allows closing them without stopping the EXE. I haven't really checked how this works with dynamic calls.