02-11-2016 05:10 PM - edited 02-11-2016 05:18 PM
I am able to import and export numerical test limits with expressions and multiple numerical test limits with expressions.
How about using the property loader for expressions in limits for multiple numerical tests?
Step.Result.Measurement[0].Limits.LowExpr doesn't seem to work (unless I need to have one for each of the 9 multiple tests in my subsequence).
Stephen
Solved! Go to Solution.
02-12-2016 10:23 AM
Stephen,
See the attached photo.
Notice that you will need to do Step.Result.Measurement[].Limits.High and change the index for each measurement with in your Multiple Numeric Limit Test. However, note that if you enter Step.Result.Measurement[0].Limits.High it will grab the high limit for every step in your sequence that has that test. Additionally, it does not throw an error if the test is not in the step. Thus, if you have one Multiple Numeric Limit Test with 9 tests and one Multiple Numeric Limit Test with 5 tests make sure you include 0-9. You can see in the attached photo when I did that it, TestStand just skips those tests and doesn't throw an error.
Is this helpful?
02-12-2016 10:32 AM
Thanks for the reply.
The question is geared towards using expressions in the limits.
For example, I have a line in my csv file where the limit is chosen at runtime depending on a bolean ("isGolden"):
test_name,"GELE",,,,,"Locals.isGolden ? 9.68:13","Locals.isGolden ? 7.34:5",,,,,,,,,,,,,,,,,,,,,,,,,,,
I have column headings for "Limits.HighExpr" and "Limits.LowExpr".
This works just fine. How do I do the same in a multiple numeric limits step? It does not seem to accept "Result.Measurement[0].Limits.LowExpr".
02-12-2016 11:59 AM - edited 02-12-2016 12:00 PM
Hm, working now.
I had 5 multiple limit steps (0-4). Adding entries for all 5 seems to have done the trick.
Entries are of the form: Result.Measurement[x].Limits.[Low | High]Expr
Header line:
<Step Name>,Result.Measurement[0].Comp,Result.Measurement[0].Limits.Low,Result.Measurement[1].Comp,Result.Measurement[1].Limits.Low,Result.Measurement[2].Comp,Result.Measurement[3].Comp,Result.Measurement[3].Limits.High,Result.Measurement[3].Limits.Low,Result.Measurement[4].Comp,Result.Measurement[4].Limits.High,Result.Measurement[4].Limits.Low,Result.Measurement[2].Limits.LowExpr,Result.Measurement[2].Limits.HighExpr,Result.Measurement[1].Limits.High,Result.Measurement[2].Limits.High,Result.Measurement[2].Limits.Low,Comp,Limits.High,Limits.Low