NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable properties for Custom Step Types

Hi,

 

I have some custom step types defined. During executing of instances of this step types, a C# code module generates data to communicate with devices. This data is stored into properties of the step type. Because this code is automatically generated it is not allowed for the engineer creating a sequence to change this code. So, I think it is recommended to disable these properties. Is this possible?

 

Best regards

 

0 Kudos
Message 1 of 4
(3,376 Views)

Hi,

 

In the properties dialog of the Custom Step Type, you will find a Disable Properties Tab. This will allow you to disable varies element of the step type. eg for NI Test Types the Status Expression is disabled therefore in the Disable Properties Tab you will find Status Expression enabled.

 

Hope this helps

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,372 Views)

Hi Ray,

 

I know that there is a tab in the properties to disable properties, but up to now I do not have found how to disable some properties in the 'Property Browser'

 

I have defined a string property for my StepType.

After adding an instance in the sequence, I want to disable this string property for editing, is this possible?

For the currently selected step, the properties are viewed in the variables window, editing of this string fields should not be possible.

 

Best regards

0 Kudos
Message 3 of 4
(3,368 Views)

Hi ccds,

 

If you click on the Property that you have modified and open the Properties Dialog, there should be an Advanced button which will allow you to edit various flags. I believe there is a flag that will prevent the property being modified once the flag is set set.

 

I sorry I can give you the precise Flag name as I dont have sight of TestStand at the moment.

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 4
(3,366 Views)