
When we develop LabVIEW™ applications for our customers, a common request is for a simple, resizable and intuitive user interface (UI) for data visualization. In these cases, we use a tree control and a subpanel. This type of UI functions like a tab control that automatically resizes. The main benefit of using a subpanel is to make your code more modular.

To illustrate the modularity that this type of UI creates, I made an example LabVIEW™ project. The main VI shown above uses a tree control to switch between a VI containing a graph and a VI containing a table. I used our multi-queue event architecture for VI information communication messaging. The image below shows the main VI’s significant functions.

The main VI’s functions are listed below.
Functions
- Initialize queues and events and then generate initialize event.
- Initialize tree and add tree items.
- When a user selects an item in the tree, generate data and then send it to the subpanel VI.
- Receive SubPanel Ready event from a subpanel VI and then insert the VI into the subpanel.
- Destroy queues and unregister for events.
In this example the subpanel VIs are very simple. They populate an indicator (table or graph) and then generate a SubPanel Ready Event. The two (2) subpanel VIs and block diagrams are shown below.

Contact Information: For more information on this example or our LabVIEW development service contact:
Mark Yeager – Integrated Test & Measurement (ITM), LLC. Email: mark.yeager@itestsystem.com or Phone: 1.844.TestSys
Need a clean, modular LabVIEW UI for your test system? Talk to the engineers who build them.
Related solutions
iTestSystem Software
The LabVIEW-based acquisition, analysis, and automation platform behind ITM’s test systems. Explore →
Data Acquisition
The DAQ hardware LabVIEW applications are built to drive, from CompactRIO to CompactDAQ. Explore →
Engineering Consulting
Custom LabVIEW development and engineering expertise for your next test or measurement challenge. 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…
