annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

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
Messaggio 1 di 4
3.450Visualizzazioni

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
Messaggio 2 di 4
3.446Visualizzazioni

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
Messaggio 3 di 4
3.442Visualizzazioni

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
Messaggio 4 di 4
3.440Visualizzazioni