BitwiseDecoder

Top  Previous  Next

CIRCON~1_img321

Takes in a 32‑bit integer, examines (‘decodes’) each bit of that integer, and sets each corresponding output slot to True or False based on the value of each bit (1 or 0 respectively). Note that by default, only 8 output slots are shown. Output slots can be shown or hidden using the Format Slots dialog box.

 

Inputs



 

 

Slots

Type

Default

Description

 

In

Integer

Null

The 32‑bit integer whose bits the block will decode and use to set the digital values of the output slots accordingly.

 

Outputs


 

Slots

Type

Description

 

Bit0

Digital

The first digital value which the block has set based on the corresponding bit in the In value.

 

Bit1

Digital

The second digital value which the block has set based on the corresponding bit in the In value.

 

 

Bit7

Digital

The eighth digital value which the block has set based on the corresponding bit in the In value.