I want to interface with the front panel of one or more of my subVIs in my program, but when I call them, each subVI shows up as a new window on my computer screen. How can make each subVI be part of my Main VI Front Panel so I do not have as many windows on my screen?
You can use subpanel controls to do this. Also known as a child window, a subpanel control is a container that allows the front panels of multiple subVIs to be displayed on the front panel of one main VI rather than opening several individual subVI windows that may become hidden behind one another. The subpanel control also allows users to view and interact with the front panel of subVIs in Remote Panel applications.
In LabVIEW 2011 and later, you can find subpanel controls in the Controls»Modern»Containers palette. For step-by-step instructions on how to create a VI that uses a subpanel control, refer to LabVIEW Help: Loading a Front Panel in a Subpanel Control.
LabVIEW includes a shipping example, Multiple VIs in a Subpanel.vi, which demonstrates how to use subpanel controls. You can find it in the LabVIEW Example Finder by selecting Help»Find Examples..., and on the Search tab, enter subpanel as your keyword in the Enter keyword(s) text box. You can also find an example on using Subpanels in the NI Community : How to use subpanels to display different subVI front panels within a single host VI.
Things to keep in mind when using subpanel controls:
Thank you for your feedback.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.