Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Not Exclusive Or Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Boolean Functions

Requires: Base Development System

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.

Note  This function performs bitwise operations on numeric inputs.

The connector pane displays the default data types for this polymorphic function.

Details  Example

x must be a Boolean value or a number. x can be a scalar, array or cluster of numbers or Boolean values, array of clusters of numbers or Boolean values, and so on. If x is an error cluster, only the status parameter of the error cluster passes to the input terminal.
y must be a Boolean value or a number. y can be a scalar, array or cluster of numbers or Boolean values, arrays of clusters of numbers or Boolean values, and so on. If y is an error cluster, only the status parameter of the error cluster passes to the input terminal.
.not. (x .xor. y)? is the logical negation of the logical exclusive or (XOR) of x and y.

Not Exclusive Or Details

Not Exclusive Or truth table

xy.not. (x .xor. y)?
TTT
TFF
FTF
FFT

Example

Refer to the Boolean Functions VI in the labview\examples\Booleans directory for an example of using the Not Exclusive Or function.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit