LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controls on main Front Panel from SubVis

I wanted to know if I could make my sub vi controls appear on my front panel. The reason I want to do this is because I have 200 numeric controls and the main flow of my program is hard to read since I have 6 screens worth of controls to scroll through.

I suppose I could just make my subvi show up as the main front panel and hide the main fp? Maybe? I'd rather not though if at all possible.

Cason Clagg
SwRI
LabView 7.1, Windows XP
0 Kudos
Message 1 of 3
(2,710 Views)
Hi Cason,

Using control references you can modify the value and other properties of a top-level front panel object front inside a SubVI. There is an example program titled Using Control References to Pass Access of Front Panel Controls to SubVIs that demonstrates this functionality.

Scott Y
NI
0 Kudos
Message 2 of 3
(2,691 Views)
I would suggest using Subpanels, which is a control that allows you to imped a VIs front panel in another front panel.

So on your main VI you can drop a subpanel, and then simply load the SubVIs into that subpanel as you want to use the various VIs.

There are a couple of examples on SubPanels that you can find using the example finder.
0 Kudos
Message 3 of 3
(2,686 Views)