Jump to content

Exclusive Or function

From LabVIEW Wiki
Revision as of 20:00, 13 May 2020 by Logmanoriginal (talk | contribs) (Add tips and tricks)
Exclusive Or function
Object information
Owning palette(s) Boolean palette
Type Function
Requires Basic Development Environment

Usage

Accepts two Boolean or numeric inputs.

Boolean: If provided Boolean values, returns True if any input is True exclusively, otherwise returns False.

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

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

Binary Decimal
x 10101010 170
y 11110000 240
output 01011010 90

Best practice

Tips and tricks

  • Wire an error cluster to perform logical operations on error conditions.

History

See also

External links