11-08-2016 10:48 AM
Close the sequence file.
Delete the one out of the type palette.
Maybe restart TestStand?
Ensure it is still not in type palette.
Open Sequenc file.
Copy to type palette (optional)
11-08-2016 10:53 AM
The custum DataType cannot be deleted because is linked with stepType which return the error.
But i cannot find where is the link.
See error message attached.
Vincent
11-08-2016 12:40 PM
Vincent -
Thanks for reporting.
11-09-2016 02:38 AM
Scott,
How to add "the above property" ?
In the step description expression ?
(step.result.status == "" ? ResStr("NI_STEPTYPES", "NUMERIC_LIMIT_DESCRIPTION_NAME") : ("Obtained: x = " + Str(Step.result.numeric) +
(Step.Result.Units == "" ? "" : " " + Step.Result.Units))) + " ; Expected: " + (Step.compexpr == "" ? (SearchAndReplace(SearchAndReplace(ResStr("NI_SUBSTEPS",Step.Comp + "_EX"),
"%hi",(Step.limits.highexpr == "" ? Str(Step.limits.high) : Step.limits.highexpr)),"%low",(Step.Limits.lowexpr == "" ? Str(Step.limits.low) : Step.limits.lowexpr))) :
(ResStr("NI_SUBSTEPS", "COMP_TYPE_EXPR_DESC"))) + (Step.Result.Units == "" ? "" : " " + Step.Result.Units)
11-09-2016 02:47 AM
The problem is that Step.Limits.Nominal doesn't exist in TestStand API...
11-09-2016 04:55 AM
This is only available if you use EQT (== +/-) comparison type.
Ray Farmer
11-09-2016 09:01 AM
Vincent -
You should work with the developer that owns the step type if it is not you. To consider upgrading your step to include the EQT capability, you will need to add and update the properties of the SETIM_Report_CheckNumericValue step type to match what NI added or updated to the NumericLimitTest step type. The below is not an exhaustive review of the differences but this will give you an idea of what differences exist. I will look into us possibly creating a KB on this issue.
If you look in the Sequence Editor type panel view for the NumericLimitTest step type you see the following new properties:
You would have to add these properties to your step type. The specific one causing the panel error that you reported is Step.Limit.Nominal. Even with this there could be other issues, we will have to investigate further.
You would have to change your step type Step Description Expression to match the updated one in NumericLimitStep so that the step displays EQT comparison when selected by the user.
You would need to update the Status Expression in the step type to match so that new steps have the correct expression. In addition, you would have to also update all instances of the step already in any sequence file that uses the type because the status expression is a property of the step that the step type cannot control or change. You cannot use Find/Replace in Files because the status expression in steps is flagged as not editable. Updating steps will require you to either load all files that use the step type and change the step type expression and use the "Apply Changes in this Dialog Box to all Loaded Steps of this Type" option to update all instances of the step, or we will need to help you with creating a tool to programatically update status expressions in steps of that type.
Lastly, any changes to a step type would require you to update the version of your step type.
I will have to get back to you on options for a tool to help customers with this type of update to their step types.
11-23-2016 04:15 AM
Hello Scott,
Thanks a lot for those informations.
Do you have an estimation when the tool gonna be ready ? Will it come with SP1 versions ?
Vincent
11-24-2016 07:31 AM
Is it possible to keep using LabVIEW 2016 but with TestStand 2015 which will not get the issue ?
11-28-2016 02:12 AM
Vincent -
Yes using LabVIEW 2016 with TestStand 2014 (SP1) will not have this issue.