NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change ResultRecordingOption depending on step result?

Solved!
Go to solution

Hello,

is it possible to create a preexpression in a numeric-limit-step which set the Result Recording Option = Disabled if the step is passed?

I only want to see the step if limit check failed.

 

Thx

0 Kudos
Message 1 of 4
(2,183 Views)

Any ideas about this?

The current workaround is to change the numericlimit step to type action and save the result in a variable.

Then add a new nonadapter numericlimitstep that checks the previous result and has a precondition to only execute if limit not in range.

 

But this requires two steps for all tests.

How can this be done in only one step?

0 Kudos
Message 2 of 4
(2,139 Views)
Solution
Accepted by topic author OnlyOne

If you want to exclude all passed steps from the report, you could use a results filtering expression. If you just need it for specific steps, you should kudo this idea:

https://forums.ni.com/t5/NI-TestStand-Idea-Exchange/Add-Result-Recording-Option-quot-Enabled-On-Step...

 

Hope this helps!

Trent

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 3 of 4
(2,130 Views)

Thanks for the link. as i see also other want to have this solution.

I dont want to specify this for all steps. Only for some.

 

But it looks like that this is nit possible with TestStand.

 

Thanks

0 Kudos
Message 4 of 4
(2,106 Views)