From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Precondition in SequenceFilepostStep?

Solved!
Go to solution

Hello,

i have the Callback SequenceFilePostStep in my testplan where i run some events.

How can i create a precondition in SequenceFilePostStep so that a step in this callback is not executed if "Result Recording Option = Disabled" for the current step?

 

 

Thanks

0 Kudos
Message 1 of 3
(3,454 Views)

Hi OnlyOne,

 

If I understand the question correctly, "Parameters.Step.TS.NoResult == False" should do that for you. "[Parameters.Step].TS.NoResult" is set to true when you deselect the Record Results option for a step.

 

Hope this helps!

 

-Jack

Message 2 of 3
(3,446 Views)
Solution
Accepted by topic author OnlyOne

Thx for your answer.

Meanwhile i found the correct parameter in RunState.Caller.Step.ResultRecordingOption which is 0,1 or.

I set my Precondition to RunState.Caller.Step.ResultRecordingOption == 1 so everything is working now.

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