LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display SubVI Front Panel in MainVI

I have a sub vi I want to reuse but I want the display of the sub vi displayed inside of the main vi.

How do you display the front panel of a sub vi on the main vi?
0 Kudos
Message 1 of 6
(3,591 Views)
Here is an LV7.1 example of using a subpanel. The subpanel control can be found in Controls - Containers. The example prompts you to navigate and choose a vi to run, then displays the running vi on the main vi front panel. Press stop button at any time to exit.
- tbob

Inventor of the WORM Global
Message 2 of 6
(3,591 Views)
You can go to subvi properties and in windows appearance you can put sohn font panel when load on customize
0 Kudos
Message 3 of 6
(3,591 Views)
Yes... this is what i am currently doing... but I need the sub vi to show up on the Main display
0 Kudos
Message 4 of 6
(3,591 Views)
Thank you... this is exactly what I want.
0 Kudos
Message 5 of 6
(3,591 Views)
To display the front panel of a SubVI on the main form use a subpanel control. To find an example of this goto the example finder, Help>>Find Examples... then under the search tab type "subpanel" the 'simple.vi' example should show you how todo this. If you need further help or explaination please dont hesitate to ask!

Allan S.
National Instruments
Applications Engineering
0 Kudos
Message 6 of 6
(3,591 Views)