NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to detect pass/fail status of a test from LabVIEW

Solved!
Go to solution

What TestStand variable should I read to determine the pass/fail status of an entire TestStand test?

 

I'm running the parallel model and LabVIEW can see my process' index with the "RunState.TestSockets.MyIndex" variable, but now LabVIEW needs to know whether that process has passed or failed the entire test.

0 Kudos
Message 1 of 3
(3,645 Views)
Solution
Accepted by topic author bmihura

The possible, recommended way to capture those (if not using the predefined "TS visible controls") is to capture the UIMsg_EndExecution (which is generaated automatically if the engine finishes an execution).

With this user interface message, you have access to the execution and its data, one being the property Execution.ResultStatus.

Refer to the TS help for possible values of ResultStatus. Use this to control indicators on your UI.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 3
(3,642 Views)

What I wound up doing was reading this property: RunState.SequenceFailed

0 Kudos
Message 3 of 3
(3,615 Views)