Jump to content

Not Exclusive Or function: Difference between revisions

From LabVIEW Wiki
Add new page (stub)
 
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{stub}}
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Boolean{{!}}Boolean palette|type=function|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.
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Boolean{{!}}Boolean palette|type=function}}


[[File:Exclusive Or - Terminals.png|thumb|Exclusive Or function]]
{{TOCright}}
== Usage ==
== Usage ==


Line 53: Line 54:


== Best practice ==
== Best practice ==
== Tips and tricks ==
* Wire an error cluster to perform logical operations on error conditions.


== History ==
== History ==
{{ambox|text=History information is needed.  What changes have occurred over previous versions?}}
{| class="wikitable"
! Version
! Change(s)
|-
|[[File:LV2018.png|frameless|border|64x64px|LabVIEW 2018|link=LabVIEW 2018]]
|More info to come.
|}
== See Also ==
{{ambox|text=Add links to internal resources that would also help.}}


== See also ==
== External Links ==
 
{{ambox|text=Add links to external resources that would also help.}}
== External links ==


[[Category:Boolean Palette]]
[[Category:Boolean Palette]]

Latest revision as of 19:33, 13 July 2020

Object information
Owning palette(s) Boolean palette
Type Function
Requires Basic Development Environment
Icon

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