When logging data and creating UUT reports, the Comparison Operator is the information as to how the limit is evaluated. WATS uses and supports the Comparison Operators introduced in TestStand.
| Comp Operator | Logic operator | Description |
| EQ | == | equal |
| EQUAL | == | equal (only with TestStand add-on) |
| NE | != / <> | not equal |
| GT | > | greater than |
| LT | < | less than |
| GE | >= | greater than or equal |
| LE | <= | less than or equal |
| GTLT | > AND < | between exclusive |
| GELE | >= AND <= | between inclusive |
| GELT | >= AND < | between inclusive low, exclusive high |
| GTLE | > AND <= | between exclusive low, inclusive high |
| LTGT | < OR > | not between exclusive |
| LEGE | <= OR >= | not between inclusive |
| LEGT | <= OR > | not between inclusive low, exclusive high |
| LTGE | < OR >= | not between exclusive low, incusive high |
| CASESENSIT | compares exact text | |
| CASESENSITIVE | compares exact text (only with TestStand add-on) | |
| IGNORECASE | compares text without considering case | |
| LOG | no comparison |
Numeric Limit Test Operators
The following operator are valid for Numeric Limit Tests: EQ, NE, GT, LT, GE, LE, GTLT, GELE, GELT, GTLE, LTGT, LEGE, LEGT, LTGE, LOG
String Value Test Operators
The following operators are valid for String Value Tests: EQ, NE, GT, LT, GE, LE, CASESENSIT, IGNORECASE,
For string value tests using the operators GT, LT, GE, LE, the comparison is done in alphabetical (lexicographical) order. The comparison checks each character from left to right until a difference is found. If all characters match but one string is longer, the longer string is considered greater.
TestStand-Only Operators
The following operators are recognized only when using the TestStand add-on: EQUAL, CASESENSITIVE. The TestStand comparison operators are renamed during transformation. EQUAL is converted to EQ, and CASESENSITIVE is converted to CASESENSIT.
Three TestStand comparison operators are not supported by WATS: EQT (Equal with Tolerance),
REGULAREXPRESSIONCASESENSITIVE, and REGULAREXPRESSIONIGNORECASE. When these operators are encountered, WATS transforms them to LOG.
Log Operator
The LOG operator performs no comparison between the measured value and its limit. The result is always marked as Passed, regardless of value or limit.
Comments
0 comments
Please sign in to leave a comment.