Table Of Contents

Boolean Array to Number (G Dataflow)

Last Modified: January 9, 2017

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.

connector_pane_image
datatype_icon

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.

datatype_icon

number

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: All devices (only within an Optimized FPGA VI)


Recently Viewed Topics