Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual
Version:

    Determines the exclusive or of corresponding elements of two inputs.

    Syntax

    c = xor(a, b)

    Inputs

    a

    Scalar or array of any dimension of integer, real, or Boolean values.

    b

    Scalar or array of any dimension of integer, real, or Boolean values. If both a and b are arrays, b must be the same size as a.

    Outputs

    c

    Boolean values, where an element in c is 1 if but only if one but not both of the corresponding elements in a or b is non-zero. Otherwise, the element is 0. c is an array of the same size as a or b.