
One control combination that our LabVIEW development team uses to build modular adaptive user interfaces is the radio button, subpanel pairing. Using the radio button to switch between vis displayed in a subpanel essentially allows you to make a tab control that scales with the front panel during resizing events.
I built the vi shown in Figures 1 & 2 (linked here) to demonstrate how to insert dynamically called vi’s front panels into a subpanel. In this example each radio button inserts a different 3D graph example vi into the subpanel by its reference.
Since the vis used in the subpanel are called dynamically, some extra steps may be required to build the exe. The link below shows how to build an exe that uses dynamically called vis using the application builder. I have also included some path tips that are useful when building LabVIEW executables (exe).

Steps for Inserting a VI into a Subpanel
- Assign VI Name to a Button or Tree Item.
- Insert File Name into the Relative Path containing VIs to show in the Sub Panel. See Notes
- Open a reference to the VI.
- If the VI is in the Idle state then run the VI.
- Insert VI into the Subpanel via a reference.
Notes
- “…” will cause the Build Path VI to strip path once.
- \ One extra \ is required per folder because the format into string function interprets backslashes as escape characters.
You can also use a tree control instead of a radio button to control which vi is inserted into the control panel. An example of this method is illustrated in a previous blog titled “Building a Modern User Interface in LabVIEW“. The vi shown in that blog uses a similar technique for building and selecting the which vi will be inserted into the subpanel.

Figure 3 above is a vi snippet of the Insert VI invoke node for a Subpanel. If you already have a subpanel, right click on the subpanel, create a reference and wire it to the subpanel invoke node.
To learn more about subpanels, other LabVIEW programming techniques, iTestSystem or our LabVIEW programming services contact Mark Yeager @(844) 837-8797.
Building a custom LabVIEW interface? Talk to the developers behind this technique.
Related solutions
iTestSystem Software
Certified LabVIEW architects for custom dashboards, HMIs, and application integration when off-the-shelf won’t do. Explore →
Engineering Consulting
Program management and analysis from a team that builds the software it tests with. Explore →
Data Acquisition
Field DAQ and rental systems that pair with the custom LabVIEW front ends we build around them. Explore →
Recent insights
-
Aerospace Engineering, Aerospace Testing, Blue Origin, Engineering, ESCAPADE Mission, Launch Vehicle Engineering, New Glenn, Rocket Reliability, Strain Measurement, structural health monitoring, Structural TestingHow Pre-Launch Structural Testing Ensures Mission Success
When Blue Origin’s New Glenn rocket successfully launched NASA’s ESCAPADE mission to Mars, it marked a historic step forward for commercial launch technology — and a testament to the unseen engineering that happens long before a vehicle ever reaches…
-
6D Testing & Analysis, Accelerometers, data acquisition systems, design validation, Engineering, engineering measurement, experimental modal analysis, impact hammer testing, mechanical engineering, modal testing, structural dynamics, Structural Testing, vibration testingFree Engineering Guide: How to Perform Experimental Modal Analysis for Better Structural Insight
Understanding how structures vibrate—and why—is essential across nearly every engineering discipline. Whether you’re working on rotating machinery, industrial equipment, robotics, medical devices, heavy vehicles, consumer products, or building-scale…
-
AWS IoT Analytics, cDAQ-9189, Channel Synchronization, CompactDAQ, Condition-Based Maintenance, Edge-to-Cloud High-Channel Datalogging, Engineering, Instrumentation, iTestSystem, iTestSystem Automated Analytics, iTestSystem Notification Service, NI-9236, NI-9469, Strain, Stress, structural health monitoringHigh Channel Count Synchronous Datalogging
When a manufacturer needed to validate the structural performance of a 38-ton on-highway vehicle, ITM deployed a 200+ channel synchronous datalogging system capable of capturing accelerometer, strain, GPS, and speed data at nearly 2 kS/s per channel…
