NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable step

How would I do the equivalent of commenting out a step?  I see that some steps in the sequence I am working on are grayed out and marked disabled.  How do I do that?

 

Thanks!

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 1 of 6
(4,832 Views)

Right click and select Run Mode>>Skip

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

Does not gray the step out like the other steps I saw, but should do what I need to do.  Thanks.  I think I'll leave the thread open for a while to see if anyone can show me how to disable the step and have it grayed out.

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 3 of 6
(4,811 Views)

https://forums.ni.com/t5/NI-TestStand-Idea-Exchange/Steps-that-are-skipped-can-be-dimmed/idi-p/13078...

 

This discusses in more detail.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 4 of 6
(4,809 Views)

I think was introduced in TestStand 2016:

 

Disable Properties Tab

Use the Disable Properties tab to prevent sequence developers from modifying the settings of built-in instance step type properties in individual steps. Each option on the Disable Properties tab represents one built-in instance property or a group of built-in instance properties. When you enable an option, you prevent sequence developers from modifying the value of the corresponding property or group of properties for all step instances.

Note  When you create new steps, TestStand uses the default values of built-in step type properties as the initial values for the new steps. Subsequent changes to these default property values do not automatically propagate to existing step type instances. Enable the Apply Changes in this Dialog Box to all Loaded Steps of this Type option to propagate changes to step instances of this type currently in memory. TestStand does not update unloaded files.

Most of the options on the Disable Properties tab apply to a specific control in the Properties tab of the Step Settings pane or in the Step Properties dialog box. The following items describe two exceptions—the Specify Module option and the Preconditions option.

  • Specify Module—If you enable this option, the sequence developer cannot access the Module tab of the Step Settings pane or in the Specify Module dialog box on any steps that use the step type. You typically prevent the sequence developer from specifying the module for step types that do not call code modules. For example, a sequence developer cannot specify a module for Statement steps. Refer to Chapter 3, Editing Steps in a Sequence, of the Getting Started with TestStand manual for more information about specifying a module adapter call for a step type.

If you disable the Specify Module option but enable the Edit Module Prototype option, a sequence developer can view the Specify Module dialog box but cannot modify any of the parameter information in the dialog box.

  • Precondition—If you enable this option, a sequence developer cannot edit preconditions for steps that use the step type.

regards

Ray

0 Kudos
Message 5 of 6
(4,784 Views)

@RaymondFarmer wrote:

I think was introduced in TestStand 2016:

 

Just to clarify:  According the link I submitted above this was implemented in 2014.

 

Regards,

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