NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Copy step in sequence triggers custom code module

Hello,

 

I'm using the OnNewStep substep in my project' custom steps to create unique ID for the steps when added to the sequence.

But my problem is that this is not triggered when any step is copied.

 

Do you know if there is any entry point which I could use to trigger my code module?

bigyo

0 Kudos
Message 1 of 2
(811 Views)

It isn't looking promising.  This is from the TestStand help:

Custom Substeps

With the exception of substeps named OnNewStep, TestStand does not call custom substeps. Use the TestStand API to invoke a custom substep from a code module or user interface. You can create a custom substep named OnNewStep for TestStand to call each time you create a new step of that type. For example, the built-in If step type uses an OnNewStep substep to insert a matching End step.

 

TestStand already creates a unique ID when copying and pasting steps.  Did you need to assign a specific one?

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