10-10-2016 01:54 PM
Does anyone know what RawLimits are?
I stumbled upon this when working on a reportgen plug-in, and it's the first I'm seeing of it. My first guess was that they were meant to support the EQT comparison, in that the Limits are the values input by the programmer and the RawLimits are the values actually used in comparison. If that were the case, in the example below I would expect [2].RawLimits.Low to be 9145.5. But it's not.
I've found no mention of this anywhere: forums, TestStand Help, etc.
Any help?
Thanks,
Seth
10-11-2016 06:18 AM
10-11-2016 12:01 PM
Hi Juergen,
I checked the StepType, and it matches the version you listed (16.0.0.3). I also checked the NI_Types.ini files, and it has the same modified date/time. Finally, I checked to make sure I wasn't overriding the file from the public directory or anything like that, and I'm not.
Also, I was using a custom process model, but I tried it with the default Sequential model, and it's doing the same thing.
I can verify that the StepType does look as you showed (with the ThresholdTypeExpr and such) in the Types window, but I don't know why it's not transferring that to the runtime step.
Thanks,
Seth
10-11-2016 01:40 PM
Seth,
The RawLimits container holds the actual value that was passed to the Upper and Lower Threshold and is the value that the EQT comparison will evaluate against. The Limits container holds the values shown in the specified Numeric Format. For example, if you select Integer as the Numeric Format and put a Lower Threshold of 9.5, you will get a Warning popup indicating that the value will change. In this case you will see 9.5 in the RawLimits container, and 9 in the Limits container.
It's also worth noting that the calculated measurement values, 9145.5 in your case, are used for the calculation but not stored anywhere accessible.
10-12-2016 01:01 AM
10-12-2016 02:26 AM
Hi Jason,
thanks for clarifying.
on my TestStand 2016 no message box will occure. It is poping up when switching from Integer to Default and back to Integer. I also wonder where the Numeric Format is stored in step properties, at least i can not find a refenencing step-variable to it.
How it looks like when runnig it:
Btw: If you are not using the default numeric format you have to be carefully
and you should not trust that what you read on description or even finally in the report.
Regards
Juergen
10-12-2016 01:24 PM
Jason and Juergen,
Thanks for the replies. I think this concept of RawLimits really should be explained in a white-paper or in the help files somewhere. I'm writing a couple result processing plug-ins, and seeing that extra information pop-up in the ResultList was a bit startling, especially as there seems to be no mention of it in any of the documentation.
How would I best put in a documentation request? Via NI's support site? or is on here sufficient?
Thanks,
Seth
10-12-2016 03:01 PM
Seth,
I can take care of the documentation request from here. Thank you for bringing this to our attention.
10-12-2016 03:03 PM
Jason,
Sounds good. Thanks for taking care of that.
Could you please respond to this thread when the documentation is updated?
-Seth