Table Of Contents

Boolean Array to Number (G Dataflow)

Last Modified: January 12, 2018

Converts a Boolean array to an integer by interpreting the array as the binary representation of the number. If the number is signed, this node interprets the array as the two's complement representation of the number. The first element of the array corresponds to the least significant bit in the number.


Boolean array

A 1D array of Boolean values.

This node truncates the Boolean array if it is too long and pads it with Boolean False bits if the Boolean array is too short.



An integer that represents Boolean array.

Boolean array number
{False, False} 0
{True, False} 1
{False, True} 2
{True, True} 3

Where This Node Can Run:

Desktop OS: Windows

FPGA: DAQExpress does not support FPGA devices

Web Server: Supported in VIs that run in a web application

Recently Viewed Topics