NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Jump to a Step in Another Sub seq

what is a clean method to  Goto(jump ) to  a Step in   another   Sub  Seq

 

I will carry this out from an Statement- expression   where I have the code to select   on basis of Button press.

 

 

    eg

(FileGlobals.BVal==1)?(FileGlobals.ProgramModeGlobal=0):

(   (FileGlobals.BVal==2)?(FileGlobals.ProgramModeGlobal=4):

(   (FileGlobals.BVal==4)?( " JUMP TO STEP IN PREUUTLOOP  TO SELECT OTHER FILE")     :

                                         (FileGlobals.ProgramModeGlobal=99)    )  )

 

 

 

0 Kudos
Message 1 of 2
(3,898 Views)

You can't really jump to steps in another sequence. What I would recommend instead is more straight forward logic in your sequence and a parameter passed into it so that it jumps to the right step based on the parameter you pass to the sequence due to the first step in that sequence checking the parameter and going to the correct corresponding location.

 

-Doug

0 Kudos
Message 2 of 2
(3,893 Views)