Jump to content

Or function: Difference between revisions

From LabVIEW Wiki
Add new page (stub)
 
Add preview
Line 1: Line 1:
{{stub}}
{{stub}}
[[File:Or - Terminals.png|thumb|Or function]]


{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Boolean{{!}}Boolean palette|type=function}}
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Boolean{{!}}Boolean palette|type=function}}

Revision as of 17:17, 2 September 2019

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

Usage

Accepts two Boolean or numeric inputs.

Boolean: If provided Boolean values, returns True if any input is True, otherwise returns False.

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

Numeric: If provided numeric values, performs a bit-wise OR operation.

Binary Decimal
x 10101010 170
y 11110000 240
output 11111010 250

Best practice

History

See also

External links