Not Exclusive Or function

From LabVIEW Wiki
Jump to: navigation, search
Object information
Owning palette(s) Boolean palette
Type Function
Requires Basic Development Environment
Icon Notxclor.png

The Not Exclusive Or function Computes the logical negation of the logical exclusive or (XOR) of the inputs. Both inputs must be Boolean values, numeric values, or error clusters. If both inputs are TRUE or both inputs are FALSE, the function returns TRUE. Otherwise, it returns FALSE.

Exclusive Or function

Usage

This is the same as Exclusive Or but with inverted output.

Boolean:

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

Numeric:

Binary Decimal
x 10101010 170
y 11110000 240
output 10100101 165


Best practice

Tips and tricks

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

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links