Jump to content

Not 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=Notfunct.png}}
The '''Not''' function computes the logical negation of the input. If x is FALSE, the function returns TRUE. If x is TRUE, the function returns FALSE.
The '''Not''' function computes the logical negation of the input. If x is FALSE, the function returns TRUE. If x is TRUE, the function returns FALSE.
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Boolean{{!}}Boolean palette|type=function|icon=Notfunct.png}}
[[File:Not - Terminals.png|thumb|Not function]]
[[File:Not - Terminals.png|thumb|Not function]]
{{TOCright}}
{{TOCright}}

Latest revision as of 19:41, 13 July 2020

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

The Not function computes the logical negation of the input. If x is FALSE, the function returns TRUE. If x is TRUE, the function returns FALSE.

Not function

Usage

Returns the inverted value of an Boolean or numeric input.

Boolean:

x output
False True
True False

Numeric:

Binary Decimal
x 10101010 170
output 01010101 -171

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