Creating a Basic User Interface - LabWindows/CVI
- Updated2025-07-23
- 1 minute(s) read
Purpose
This example provides a simplified user interface to demonstrate the architecture of a TestStand user interface. The interface code demonstrates the following actions in a TestStand interface:
- Provide functionality to TestStand controls by connecting them to manager controls
- Register callbacks to execute when TestStand events occur
Example File Location
<TestStand Public>\Examples\Modifying User Interfaces\Creating a Basic User Interface\CVI\Basic User Interface.prj
Highlighted Features
- TestStand User Interface Controls
- TestStand User Interface API
Major API
TestStand User Interface API
Prerequisites
You must have LabWindows/CVI installed to execute this example.
How to Use This Example
Complete the following steps to run the example:
- (64-bit TestStand) Navigate to Build»Configuration and select Debug64 as the configuration.
- Click Debug Project to start the user interface.
- Notice that the control functionality matches the specified connections in the SetupActiveXControls function.
- Use the interface to open a sequence file and execute it. The execution displays in the executionView control if tracing is enabled.
Complete the following steps to review the sequences and steps in this example:
- In Basic User Interface.prj, open TestExec.c.
- Find the SetupActiveXControls function. This function registers callback functions that will execute when a TestStand event occurs. Also, the TestStand UI controls are connected to manager controls to give them functionality. Refer to the in-line comments for more information.