OMC-042 / 043 / 044 Data loggers
Users
’ manual
page 44
Supported comparisons with 2 arguments:
lt(x;y)
returns x if x smaller than y else return y
Example: lt(10;11) returns 10; Synonym: If (x<y) return x; else return y
le(x;y)
returns x if x smaller or equal than y else return y
Example: le(10;11) returns 10; Synonym: If (x<=y) return x; else return y
gt(x;y)
returns x if x greater than y else return y
Example: gt(10;11) returns 11; Synonym: If (x>y) return x; else return y
ge(x;y)
returns x if x greater or equal than y else return y
Example: ge(10;11) returns 11; Synonym: If (x>=y) return x; else return y
Supported comparisons with 4 arguments:
eq(x;y;q;p)
returns q if x is equal to y else return p
Example: eq(10;11;0;3) returns 0; Synonym: If (x==y) return y; else return p
lt(x;y;q;p)
returns q if x smaller than y else return p
Example: lt(1;2;3;4) returns 3; synonym: if(x<y) return q; else return p
le(x;y;q;p)
returns q if x smaller or equal than y else return p
Example: le(1;2;3;4) returns 3; synonym: if(x<=y) return q; else return p
gt(x;y;q;p)
returns q if x greater than y else return p
Example: gt(1;2;3;4) returns 4; synonym: if(x>y) return q; else return p
ge(x;y;q;p)
returns q if x greater or equal to y else return p
Example: ge(1;2;3;4) returns 4; synonym: if(x>=y) return q; else return p