LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hi. I want to build a GUI based on several windows appearing following a certain sequence. How can i create different windows in the same VI? Also, i want the front panel of a subvi to appear when i run, how can i enable this.Thanks

Hi,

You can't create several windows for one VI. But you can use the "Tab Control" and change tab's in the program. Or you can use sub VI's and show ther front panels.

To show the front panel of a sub VI you have to open the VI you want to show and select "File->VI Properties". In the VI Properties window select Category "Window Appearance" and click Customize...
In the Customize Window Appearence window, here you can set a number of attributes for how the window will appear, select "Show front panel when called" and "Close afterwards if originally closed" click OK and OK and save the VI, done.
Now the VI front panel will appear then you use it as a sub VI.

/Thomas
0 Kudos
Message 2 of 5
(2,771 Views)
You can also use a sub-panel, found under Controls - Containers in LV7.1. A sub-panel placed on the front panel acts like a window for other vi front panels. This way you can call any sub-vi you like, in any order, and have their front panels be displayed on the main front panel. Search NI's web site for sub-panel examples to see how this works. It uses properties and methods.
- tbob

Inventor of the WORM Global
0 Kudos
Message 3 of 5
(2,771 Views)
Thanks guys, it's working fine now. I haven't tried the sub-panels as yet, but will do after finishing this project. Thanks again.
0 Kudos
Message 5 of 5
(2,771 Views)