LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Muliple Windows

I'm designing a system, that starts at a main menu in one window, and from
there calls other windows...

Is there any way of minimizing the parent window upon calling another subVI?
Or perhaps even closing it, so it opens it again when the subVI is finished?

Also, how would I set up the subVI so that, if I close the window, via the x
in the top right, the parent VI will return, and continue to run?

Any help would be greatly appreciated!

--
Slade Squire
Programmer
Rectifier Technologies Pacific
Melbourne, Australia
SladeSquire@rtp.com.au
0 Kudos
Message 1 of 4
(2,946 Views)
Download lvwutil32 from the ni site and look at the window functions in it: you can minimize/maximize and/or close a window. There are also some other useful vis for interact with the system.

http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&74DDE683A1AFF6988625683A000C0D73&cat=034E59A8530E09DF862568900018707A

Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 4
(2,946 Views)
You can use tools provided in LVWUtil32 to manage windows, minimize, hide maximize or show them as you want. LVWUtil32 can be found at Developer Zone, you can also use gtoolbox http://gtoolbox.topcool.net . To continue to run a closed front panel, there is some kind of example in Developer Zone too, or you can simply avoid the user to close window using vi properties.
Hope this helps
0 Kudos
Message 3 of 4
(2,946 Views)
You can edit the "Front Panel Window Properties" in Labview. One of the properties that you can set, is wether the front panel of the VI is visible or not. That's the same effect as minimizing.

Just look at the attached example to see how to do it. You need to get a reference to your VI, and then use that for the property box. Works for Labview 6. Don't think it works on version 5.
0 Kudos
Message 4 of 4
(2,946 Views)