Hi,
Some times a test must check an output that doesn't have a precise value and this output is expressed as a value +/- a band.
The current "In range" implementation requires that we provide the max and min value and indicates if the value was coerced or not.
I believe that we could have an LabVIEW primitive that works likes it but just check the value against a reference with a safe band expressed in absolute value or percentage.
The code would be something like this:
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Duplicate of http://forums.ni.com/t5/LabVIEW-Idea-Exchange/quot-Almost-Equal-quot-functions-for-Float-comparisons...