NI TestStand

Showing results for 
Search instead for 
Did you mean: 

skipping steps programmatically

Go to solution

I want a dialog to pop up in my sequence and have the user select which steps they want to run, a labview gui.  Is there a teststand property available to set to programmatically set a step to "skip" after the run has started?  I could do it a different way by a precondition or such, but that gets a bit hairy and I want to do it as clean as possible. 



David J.

0 Kudos
Message 1 of 3
Accepted by topic author david_jenkinson

You could use interactive executions instead of normal executions. See the API help for InteractiveArgs for more details. Another possibility is dynamically setting the runmode on the steps using Step.SetRunModeEx() (you might want to pass an execution in this case to make the runmode change apply only to the execution rather than being an edit of the step).


Hope this helps,


Message 2 of 3

That's the property, thanks

0 Kudos
Message 3 of 3