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,809 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,801 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,794 Views)