07-12-2019 02:21 AM
Hi All,
I have a numeric limit test within a For loop (6 loops).
4 of those tests, test the output between 4V and 6V (Comparison Type "GELE") but the last 2 require no comparison ("LOG").
At the moment I have set the last 2 limits (using variables) to 1V and 10V to ensure no fails.
Is there a way to programmatically change the comparison type within the loop?
Regards
Chris
07-12-2019 04:10 PM
In the comparison type, I think you could change it to something like: True?"GELE":"LOG"
(Replace "True" with your expression).
07-13-2019 08:41 AM
Thanks for the reply but I found a way to solve it now thanks.
I created a pre expression that changed the comparison type (Step.Comp) from "GELE" to "LOG" after 4 tests had past
Locals.Loop_index > 3 ? Step.Comp = "LOG" : True
I attached an example
Cheers 🙂
07-13-2019 12:10 PM
whoops... wrong sequence...