From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(3,745 Views)
Solution
Accepted by 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
(3,736 Views)

Thank you!

0 Kudos
Message 3 of 3
(3,724 Views)