07-02-2009 01:04 AM
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
07-02-2009 02:27 AM
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
07-02-2009 04:31 AM
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
07-02-2009 06:17 AM
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