Creating a Basic User Interface - LabVIEW
- Aktualisiert2025-07-23
- 2 Minute(n) Lesezeit
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:
- Initialize the TestStand engine
- Provide functionality to TestStand controls by connecting them to manager controls
- Register callbacks to execute when TestStand events occur
- Shut down TestStand
Example File Location
<TestStand Public>\Examples\Modifying User Interfaces\Creating a Basic User Interface\LabVIEW\Basic User Interface.lvproj
Highlighted Features
- TestStand User Interface Controls
- TestStand User Interface API
Major API
TestStand User Interface API
Prerequisites
You must have the LabVIEW Development System involved to execute this example.
How to Use This Example
Complete the following steps to run the example:
- Click Run to start the user interface.
- Notice that the control functionality matches the specified connections in the Configure Connections case.
- 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.lvproj, open TestStand Basic User interface.vi.
- Select the Initialize case. In this case, references to the UI controls are stored in the UI data cluster, and this application is set as the main TestStand window.
- Select the Configure Connections case. In this case, the TestStand UI controls are connected to manager controls to give them functionality. Refer to the in-line comments for more information.
- Select the Register Event Callbacks case. This case specifies callback VIs that will execute when a TestStand event occurs. Refer to the in-line comments for more information.
- Select the Handle Events case. This case handles LabVIEW specific events, such as closing the panel. Refer to the in-line comments for more information.
- Select the Shutdown case. This case closes all references and closes the panel.