Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual

Packs data to an unsigned or signed integer array.

This node packs MN-sized binary data of the form b i = {0,1}, to an unsigned or signed integer array a_n,

where

  • i = 0…MN-1, and M denotes the number of bits per integer
  • n = 0…N-1, and N denotes the size of the array
connector_pane_image
datatype_icon

input bit stream

The binary bit stream to be packed into integers.

The binary bit stream must be in the form b i = {0,1}

where

  • i = 0…MN-1, and M denotes the number of bits per integer
  • n = 0…N-1, and N denotes the size of the array

Default: empty

datatype_icon

bits per integer

Number of binary data values that are packed into an integer.

If you set the integer format parameter to Unsigned, the maximum value is 31. If you set the integer format parameter to Signed, the maximum value is 32.

Default: 1

datatype_icon

packed bit order

The order in which the binary data stream is packed into integers.

MSB first

Data is packed with the most significant bit (MSB) first.

LSB first

Data is packed with the least significant bit (LSB) first.

Default: MSB first

datatype_icon

integer format

Input integer format.

Unsigned

The entire number is packed as a positive integer.

Signed

The most significant bit (MSB) determines the sign of the input integer.

Default: Unsigned

datatype_icon

error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: no error

datatype_icon

reset ?

A Boolean that determines how the node handles buffered data. When the length of the input bit stream is not a multiple of the bits per integer value, the leftover bits are buffered inside the node. When you set reset? to FALSE, these buffered bits are prepended to the input bit stream during the next iteration.

Default: TRUE

datatype_icon

output integers

The output integer stream a n n = 0…N-1, corresponding to the packed bits.

datatype_icon

error out

Error information. The node produces this output according to standard error behavior.