NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Step Status - Numeric limit step

Solved!
Go to solution

I am using Numeric Limit Test Step. 

In the post expression I have a local variable PSVoltStatus to save the Step.Result.Status.

 

I see that Step.Result.Status has "Passed" status but Locals.PSVoltStatus always stores "Running" status. 

How do I save Step.Result.Status status of "Passed"/"Failed"/"Skipped" in Locals.PSVoltStatus variable?

 

Thanks!!

*************************************************
CLD
*************************************************
0 Kudos
Message 1 of 2
(115 Views)
Solution
Accepted by topic author lvrat

Hi Ivrat,

thats pretty clear, when looking at the step exection (see help.)

j_dodek_0-1652856779831.png

you will see that PostExpression(19) is before StatusExpression(20)
on 19 will get "Running"
as workaround you may place it in user defined PostAction(32).
use the brackets for that like:  { Locals.PSVoltStatus=Step.Result.Status },True

Best Regards
Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
Message 2 of 2
(91 Views)