Signal Reader Trigger Expressions
Jump to navigation
Jump to search
Trigger conditions are expressions evaluated by the Signal Signal reader module to control when recorders are started and stopped and when measurement set-up switches are performed. Trigger conditions are boolean expressions, evaluated to either true or false. A number of operators can be combined to for the trigger expression. The allowed operators in trigger expressions are shown in the table below.
= | Tests for equality. Syntax: expression = expression |
---|---|
!= | Tests for inequality. Syntax: expression != expression |
< | Tests for left side of expression being less than right side. Syntax: expression < expression |
> | Tests for left side of expression being greater than right side. Syntax: expression > expression |
<= | Tests for left side of expression being less or equal to right side. Syntax: expression <= expression |
>= | Tests for left side of expression being greater or equal to right side. Syntax: expression >= expression |
AND | Logical conjunction between left and right side boolean expressions. Syntax: boolean expression AND boolean expression |
OR | Logical disjunction between left and right side boolean expressions. Syntax: boolean expression OR boolean expression |
CHANGE | True when the specified signal changes value. Syntax: CHANGE(Signal) |