And function

From LabVIEW Wiki
Jump to: navigation, search

And function
Object information
Owning palette Boolean palette
Type Function
Requires Basic Development Environment


Accepts two Boolean or numeric inputs.

Boolean: If provided Boolean values, returns True if both inputs are True, otherwise returns False.

x y output
False False False
False True False
True False False
True True True

Numeric: If provided numeric values, performs a bit-wise AND operation.

Binary Decimal
x 10101010 170
y 11110000 240
output 10100000 160

Best practice


See also

External links