beautypg.com

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

Page 61

background image

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

&&

Logical OR

||

Logical NOT

!

Bitwise

Bitwise AND

&

Bitwise OR

|

Bitwise NOT

~

Bitwise XOR

^

Arithmetic

Add

+

Subtract

-

Multiply

*

Divide

/

Modulo Divide

%

Negate

Comparison

Equivalence

==

Inequivalence

!=

Greater Than

>

Greater Than or
Equal

>=

Less Than

<

Less Than or Equal

<=

Assignment

Simple Assignment

=

Grouping

NA

( )