Difference between revisions of "Signal Reader Trigger Expressions"

From WICE Wiki v2.91
Jump to navigation Jump to search
Line 4: Line 4:
{| class="wikitable"
{| class="wikitable"
!=
!=
|Tests for equality.
|Tests for equality. Syntax: expression = expression
|-
|-
!!=
!!=
|Tests for inequality
|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
|-
|}
|}

Revision as of 10:58, 18 June 2018

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