We have a Multiple Numeric Limit Test where the limits for one of the measurements is a function of one of the other measurements.
In the Post-Expression there are two expressions that set the low and high limit based on one of the readings.
But the comparison does not seem to be using the calculated limits.
The report file shows the correct calculated Low and High Limits, and shows the measured reading as being in between the Low and High limit, but fails that measurement. I feel the Status Expression is using the default limits that are out of range.
The post expression looks like this
Step.Result.Measurement[2].Limits.Low=Step.NumericArray[1]*1.9,
Step.Result.Measurement[2].Limits.High=Step.NumericArray[1]*2.1
In Table 3-4 "Order of Action that a Step Performs", Evaluate Post-Expression (Action #15) is before Evaluate Status Expression (Action #16), but it seems that is not the case.
Or am I changing the wrong Low and High Limits. Am I just changing the Limits used in the report file and not the limits used for comparison?
Again the correct low and high limits are in the report but not used for comparison.
Thanks