LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple SubVI display onto main VI

Hi everyone,
 
Probably a really simple solution to this problem:
 
I have 6 SubVI's that I want to use on one main VI, no problem, but I would like to display all 6 SubVI front panel display onto this one main VI. Hope this makes sense!
 
I looked at SubPanels and tried to add more VI's to it but it only displayed a single one.
 
Any help would be great
 
Thanks
0 Kudos
Message 1 of 2
(2,617 Views)

Hi Intel;

My application had similar GUI requirements, but unfortunately, there is only so much GUI space!  Here are a couple of options that you can use:

(1) Break up the GUI using splitter bars (if you are using LabVIEW 8.0 or later) and place several subpanels, or forget the splitter bar and simply place several subpanels on the same GUI; or...

(2) Use a TAB structure, and place a different subpanel in each tab (i.e. if you have 6 subpanels, then use 6 tabs each containing a subpanel); or...

(3) You can use a single subpanel, and depending on which sub-vi is required to be active, you can write some code to "unload" the existing sub-VI and then "load" the new one.  This is the only way (I am aware of) to have a single subpanel reference multiple VIs.

Hope this gives you some ideas.  I make use of all three methods in a single program, for example.

DJH

0 Kudos
Message 2 of 2
(2,589 Views)