Table 4-3. expression block operators – National Instruments FP-3000 User Manual
Page 61

Chapter 4
Block Reference
© National Instruments Corporation
4-9
FieldPoint FP-3000 User Manual
Operators
Operators let you manipulate the Expression block variables. Operators
supported by the Expression block language are listed in the following
table:
Table 4-3. Expression Block Operators
Class of
Operation
Operation
Operators
Logical
Logical AND
<op1> && <op2>
Logical OR
<op1> || <op2>
Logical NOT
!<op1>
Bitwise
Bitwise AND
<op1> & <op2>
Bitwise OR
<op1> | <op2>
Bitwise NOT
~<op1>
Bitwise XOR
<op1> ^ <op2>
Arithmetic
Add
<op1> + <op2>
Subtract
<op1> - <op2>
Multiply
<op1> * <op2>
Divide
<op1> / <op2>
Modulo Divide
<op1> % <op2>
Negate
–<op1>
Comparison
Equivalence
<op1> == <op2>
Inequivalence
<op1> != <op2>
Greater Than
<op1> > <op2>
Greater Than or
Equal
<op1> >= <op2>
Less Than
<op1> < <op2>
Less Than or Equal
<op1> <= <op2>
Assignment
Simple Assignment
<l-val> = <op1>
Grouping
NA
( <expr> )