NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I call a sequence using Sequence Call an "Skip" the setup/cleanup routines in the called seq?

I have several test sequences that I use during our production test.  I would like to group these individual sequences into one "overall" test sequence; however, I do not want to run setup and cleanup on the individual sequences when they are called.  Can I disable the setup and cleanup portions of the sequences that are being called?
0 Kudos
Message 1 of 2
(2,869 Views)
Can't think of anything that doesn't require modification to the sub sequences. 
 
If you are happy to modify your sub sequences you could add a GOTO (to goto the end of SetUp or CleanUp, whichever you are in) or PreConditions to your SetUp and CleanUp steps that check for CallStackDepth.  (RunState.CallStackDepth)
 
 
Have a play with it if you are not familiar with CallStackDepth, but as a rule CallStackDepth is incremented by 1 as you enter a sub sequence (and incremented again as a further sub sequence is entered etc.etc.) and decremented by one as you exit a sub sequence. 
0 Kudos
Message 2 of 2
(2,864 Views)