Include Error Details in TestStand UUT Result Dialog on Fail

Updated Jan 21, 2026

Environment

Software

  • TestStand

When a test fails in TestStand, it is important to ensure the test engineer has access to the error message of the failure to enable them to perform troubleshooting. This article will demonstrate how to display an error message in the UUT result dialogue box of TestStand when a LabVIEW VI test fails.

Error details will be displayed in UUT Result dialogue box as long as the error information is provided to Step.Result.Error.

  1. Place an Error Out indicator in the Front Panel of the LabVIEW VI.
  2. Connect the Error Out indicator to the connector at the upper right of the VI.
  3. Ensure in the Block Diagram that when an error occurs, error message is passed to the error out indicator. Below is a simple user defined error for demonstration purposes:
  4. Call the VI in TestStand by using LabVIEW action step or test step.
  5. Ensure the Step Setting of the step has successfully detected the error out output automatically and its value is stored at Step.Result.Error.
  6. Run the VI and the error information will be included in the UUT result dialogue box.

Sequential Model:

Parallel Model:

Batch Model: