When using a LabVIEW Action Step in TestStand, you may expect the VI’s front panel to open and remain visible while the test runs. However, a front panel will typically close (or the VI will complete execution) as soon as TestStand finishes calling the VI—unless the VI is configured and executed asynchronously.
If your goal is to keep a VI’s front panel open beyond the execution of a LabVIEW Action Step, ensure that the VI is not run synchronously. Instead, configure the step to run the VI asynchronously, allowing the front panel to remain open until the asynchronous VI itself stops.
Why the Front Panel Closes
By default, TestStand calls LabVIEW VIs synchronously, meaning TestStand waits for the VI to finish running before continuing. After the execution completes, LabVIEW closes the VI, which causes the front panel to close unless the VI is configured otherwise in LabVIEW.
If you want the front panel to:
- Open when the step starts, and
- Remain open until the overall test sequence or workflow is complete,
then the VI must be executed asynchronously.