NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to skip a step programmatically?

Solved!
Go to solution

Hi dear ALL,

 

Could you suggest me a solution for my task? It is needed to programmatically skip specified steps during sequence execution. For example, I have a Parameter skipStep of type boolean. And I want to bind this parameter to some steps. When the sequence is executed with skipStep=True, Run Options of these steps will be Skip. Is it possible to implement?

 

Thanx in advance,

Max

0 Kudos
Message 1 of 4
(6,904 Views)
Solution
Accepted by topic author maksya

Max,

 This is possible. Evaluate your true/false local variable in the precondition of the step. Look in the example computer.seq for how this is done.

 

Hope this helps.

Now Using LabVIEW 2019SP1 and TestStand 2019
Message 2 of 4
(6,897 Views)
Why not just use it as a precondition for that step? If you already have the boolean then it could be as simple as placing that in the precondition. If the Precondition is true then the step executes. If the Precondition is false then the step skips.

Hope this helps,
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 3 of 4
(6,896 Views)
GovBob and ~jiggawax~, thank you very much for fast and helpfull answers! That is exactly what I was looking for =)
0 Kudos
Message 4 of 4
(6,881 Views)