NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Step -numeric limit

If I use the numeric field for a limit test the report will display "Measurement". How can I change the text for this display in my custom step - i.e. I want to show "Voltage" instead of "Measurement".
0 Kudos
Message 1 of 4
(3,457 Views)
Hi MR SSL,

In the Limit Dialogbox, just over type the "Measurement" text with your "Voltage".

If your custom step is always going to be Voltage. Then change the value(eg the "Measurement") of the property in the Types window. Expand the tree out. You are changing the name of the array items.

Hope this help
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,457 Views)
Hi Ray
Thanks for your reply.
Have I have made a custom step type using a copy of NumericLimitTest step type. I have renamed the Numeric field to "Coil_Voltage". I did this so that the report displays "Coil_Voltage" instead of "Measurement". This generates an error as shown in the attached file. The error code is 17306.
0 Kudos
Message 3 of 4
(3,457 Views)
You need to leave the Step.Result.Numeric property in the step, because the status expression expects it to be there. Go ahead and leave your Coil_Voltage property as the data source, just add a "Numeric" property.

Or, you could change the status expression to "CheckLimits(Coil_Voltage, step.limits.high, step.limits.low, step.comp)". If you can't edit the status expression, you need to go to the Type Palette (MyTypes.ini) and edit the properties of your custom step type to get to the status expression.
0 Kudos
Message 4 of 4
(3,457 Views)