NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the run mode of a step in run time

Is it possible to get the run mode of a step at run mode? I would like to skip a section of my sequence depending of the run mode of a group of steps (ie if all are marked as 'skip' I want to jump directly at the end of the sequence).

Regards,
Yannick Willener
0 Kudos
Message 1 of 3
(3,268 Views)
Hi Yannick,

Here is a little example which gets the number of steps in Main. Checks the run mode of each step and sets a SkipCount.
If the skipCount equals the number of steps in Main then jumps to cleanup.

Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer
Message 2 of 3
(3,268 Views)
Thank you!
0 Kudos
Message 3 of 3
(3,268 Views)