12-12-2009 09:18 PM - edited 12-12-2009 09:20 PM
I've attached a VI. It won't close when it is finished running, even though I have it set to in the VI properties. It ends and stops, but the window doesn't close. Can anyone show me what's wrong?
12-12-2009 09:32 PM
12-12-2009 09:41 PM
12-12-2009 09:56 PM
12-12-2009 10:00 PM
OK, that helps. Thanks.
12-12-2009 10:01 PM
Are you running this as a toplevel VI? (In this case it will not close the panel if run in a development environment).
You can always call a "FP.close" invoke node for the current VI.
12-12-2009 10:14 PM
Well, it turns out I just wasn't paying attention. There is a main VI that calls executables. This is one of the executables being called. Apparently the property settings won't close it as an executable?
All the other executables have an "Exit LabVIEW" VI in them. I put that in this VI, and it works great. Thanks for the help though, and thanks for the info how to close a VI, that may come in handy some day.
12-14-2009 02:27 AM
If you close all the front-panels of an executable the executable will close.
Ton