NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i call a step,which is in a subsequence, from a different subsequence

Solved!
Go to solution

        Hi , Could someone help me, Please?

        How can i call a step,which is in a subsequence, from a different subsequence.

        For example:

        Two sub sequence, one is called A, the other one is called B. In B sequence , there is a Step Called BStep.

        In A sequence, there is a Step Called AStep.

 

         Now, i Hope  AStep can call BStep, How can i do?

 

        Thank you in advance! 

0 Kudos
Message 1 of 3
(2,714 Views)
Solution
Accepted by topic author AllanXu

Allan,

 

What you are asking to do is not a good software practice.  It's like saying you want to call just one line of code out of a DLL.

 

The best way to do what you want is to put the step into a 3rd subsequence.  Then parameterize the subsequence with the parameters to the step.  Then call that 3rd subsequence from both A sequence and B sequence.

 

This way whenever you update the step they both get the changes.

 

Hope this helps,

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 3
(2,705 Views)

Thank you!

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