Jump to content

Not And function: Difference between revisions

From LabVIEW Wiki
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Boolean{{!}}Boolean palette|type=function|icon=Notandfn.png}}
The '''Not And''' function computes the logical NAND of the inputs. Both inputs must be Boolean values, numeric values, or error clusters. If both inputs are TRUE, the function returns FALSE. Otherwise, it returns TRUE.
The '''Not And''' function computes the logical NAND of the inputs. Both inputs must be Boolean values, numeric values, or error clusters. If both inputs are TRUE, the function returns FALSE. Otherwise, it returns TRUE.
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Boolean{{!}}Boolean palette|type=function|icon=Notandfn.png}}
[[File:Not And - Terminals.png|thumb|Not And function]]
[[File:Not And - Terminals.png|thumb|Not And function]]
{{TOCright}}
{{TOCright}}

Latest revision as of 19:44, 13 July 2020

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

The Not And function computes the logical NAND of the inputs. Both inputs must be Boolean values, numeric values, or error clusters. If both inputs are TRUE, the function returns FALSE. Otherwise, it returns TRUE.

Not And function

Usage

This is the same as the And function but the output is inverted.

Boolean:

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

Numeric

Binary Decimal
x 10101010 170
y 11110000 240
output 01011111 95

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