Not function: Difference between revisions
Appearance
Add tips and tricks |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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. | |||
[[File:Not - Terminals.png|thumb|Not function]] | [[File:Not - Terminals.png|thumb|Not function]] | ||
{{TOCright}} | |||
{{ | |||
== Usage == | == Usage == | ||
| Line 41: | Line 40: | ||
== Tips and tricks == | == Tips and tricks == | ||
* Wire an error cluster to perform logical operations on error conditions. | * 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.}} | |||
== | == External Links == | ||
{{ambox|text=Add links to external resources that would also help.}} | |||
[[Category:Boolean Palette]] | [[Category:Boolean Palette]] | ||
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.

Usage
Returns the inverted value of an Boolean or numeric input.
Boolean:
| x | output |
|---|---|
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
| |
History information is needed. What changes have occurred over previous versions? |
| Version | Change(s) |
|---|---|
| More info to come. |
See Also
| |
Add links to internal resources that would also help. |
External Links
| |
Add links to external resources that would also help. |