Jump to content

Boolean Array to Number function: Difference between revisions

From LabVIEW Wiki
Added palette
Added usage details
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{stub}}
{{stub}}


{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Boolean{{!}}Boolean palette|palettes=Functions Palette/Programming/Numeric/Conversion{{!}}Conversion palette|type=function}}
{{LabVIEW Palette Object Information|palette=Functions Palette/Programming/Boolean{{!}}Boolean palette|palette2=Functions Palette/Programming/Numeric/Conversion{{!}}Conversion palette|type=function|icon=Bootonum.png}}
[[File:Boolean Array To Number - Terminals.png|thumb|Boolean Array To Number function]]
[[File:Boolean Array To Number - Terminals.png|thumb|Boolean Array To Number function]]
The '''Boolean Array to Number''' function converts a Boolean array to an [[Integer|integer]] or [[Fixed-point|fixed-point]] number with the least significant bit at index zero.
The '''Boolean Array to Number''' function converts a Boolean array to an [[Integer|integer]] or [[Fixed-point|fixed-point]] number with the least significant bit at index zero.
{{TOCright}}
{{TOCright}}
== Usage ==
== Usage ==
{{ambox|text=Specific use cases for this function.}}
The default output type the '''Boolean Array to Number''' function is [[U32 data type|U32]] but it can be changed in its '''Properties''' dialog by:
* clicking '''Output Configuration''' tab
* then clicking the '''Representation''' button.
[[File:The Boolean Array to Number Output Configuration.png|center|Output Configuration in the Properties dialog]]


== History ==
== History ==
Line 24: Line 27:


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

Latest revision as of 17:25, 16 December 2021

Object information
Owning palette(s) Boolean palette | Conversion palette
Type Function
Requires Basic Development Environment
Icon
Boolean Array To Number function

The Boolean Array to Number function converts a Boolean array to an integer or fixed-point number with the least significant bit at index zero.

Usage

The default output type the Boolean Array to Number function is U32 but it can be changed in its Properties dialog by:

  • clicking Output Configuration tab
  • then clicking the Representation button.
Output Configuration in the Properties dialog
Output Configuration in the Properties dialog

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links