10-15-2014 05:04 PM
My main program runs a subVI that opens in a new window when called. I want the window to remain open after the sub finishes running. Is there a way to programatically close that window from the main program when I no longer want to see it? Thanks!
10-15-2014 05:57 PM
If you have a reference to that subVI, then just use an Invoke Node with the Front Panel:Close method.
10-15-2014 06:30 PM
crossrulz,
Do you know of a good on-line tutorial that could help me set things up as you suggest?
Thanks.
10-15-2014 07:19 PM - edited 10-15-2014 07:21 PM
Here's a snippet of how you can do it.
10-16-2014 12:22 AM - edited 10-16-2014 12:24 AM
As of I know there is no direct tutorials that will give you information about using the Property and Methods in LabVIEW. But you can play around with that by using the VI and Control references and see the context help to understand things. Believe me you will learn more in this way than by using tutorials 🙂
Just a quick link about Property Nodes help
10-16-2014 05:49 AM
You can also create a User Event which ref you send to the sub-vi and register in there. Then you just create the event "close" and it'll close itself.
/Y