NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

what function do I use to programmatically create End steps with onNewStep

Hi,

 

I want to create a custom step type that is a Label with an End step for labeling blocks of code.

 

I tried Custom substep with OnNewStep, and I put in the function OnNewStepWithEndStep  from NIFlowControl.dll, but it's not working. By that I mean when I drop the Label step the end does not get dropped too. 

 

I found this link, but it's lacking the detail I need. Thanks.

 

http://forums.ni.com/t5/NI-TestStand/Custom-step-to-Open-edit-expression-when-placed-in-sequence/m-p...

 

cc

0 Kudos
Message 1 of 2
(4,220 Views)

There are 2 subproperties you need to change:

 

BlockEndTypes needs to be NI_Flow_End

AppliesToBlockStructure needs to be True

 

So if you expand your step in your type palette you should see those subproperties.

 

Hope this helps,

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