NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Numeric Limit Test result

Hi everyone.,
I'm trying to store the result of a numeric limit test in a variable. In the post expression, I tried with
1) Step.Result.Status, which just returns the string "Running".
2) Step.Result.Numeric which just returns the value I'm evaluating in a GELE comparison.
I just want to retrieve a boolean value "True", if the test is passed or "False" otherwise.
I can use more if statements, but I'm trying the keep my sequences somewhat compact.

0 Kudos
Message 1 of 2
(859 Views)

From what I have read, the numeric limit test step is still running during Post Expression and the eval of Step.Result.Status happens later.

So, you will have to create an expression step after the desired step and obtain the status of the previous step.  You can use RunState.PreviousStep.Result.Status

Message 2 of 2
(836 Views)