NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

go to the subsequence to finish

Solved!
Go to solution

Hello,

I work with TS 2024. I make several subsequences, An example of flowchart

MainSequence:

Call subSeqA

Call subSeqB

 

SubSeqA:

Call SubSeqAB

Call SubSeqAC

Call SubSeqAD

Call SubSeqAY

Call SubSesAZ

 

I am in a subsequence AB, in certain condition ( breakdown or issue), I would like to go back in subsequence A, do the subseq AY and AZ and continue to the subSeqB.

 

I cannot do this this with a simple GoTo (in the same subseq).

 

Could you help me pls?

 

 

0 Kudos
Message 1 of 3
(119 Views)
Solution
Accepted by topic author ptitenif

When in SubSeqAB perform a GotoCleanup, which will bring you back to SubSeqA.
If you signal the occurence of that condition in a parameter of SubSeqAB, you can evaluate the return and skip AC and AD (e.g. with a precondition)

In the end, someone has to understand what you are doing (yourself in 2 years or so...) so don't get it too complicated!

Message 2 of 3
(113 Views)

@Oli_Wachno wrote:

When in SubSeqAB perform a GotoCleanup, which will bring you back to SubSeqA.
If you signal the occurence of that condition in a parameter of SubSeqAB, you can evaluate the return and skip AC and AD (e.g. with a precondition)

In the end, someone has to understand what you are doing (yourself in 2 years or so...) so don't get it too complicated!


Same recommendation, do a GotoCleanup in SubSeqA which will automatically take you to MainSequence after cleanup section completes.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 3 of 3
(91 Views)