Digital to Boolean Array VI

Owning Palette: Digital Conversion VIs and Functions

Requires: Base Development System

Converts the digital waveform or digital data in the digital input to a 2D Boolean array. Wire data to the digital waveform input to determine the polymorphic instance to use or manually select the instance.

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

DWDT Digital to Boolean Array

digital waveform is the input digital waveform.
response on error specifies what to do if any value in the digital input is not a 0, 1, H, or L.

0Warn but Convert (default)—Any values that are not 0, 1, H, or L are converted to FALSE and a warning is returned in error out.
1Failboolean array is returned empty and an error is returned in error out.
mode specifies whether the conversion is performed on the data with the least significant bit (LSB) first or most significant bit (MSB) first. The order of the Boolean values in boolean array reflects the selection made in mode.

0LSB First (default)
1MSB First
error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.

This node runs normally even if an error occurred before this node runs.
boolean array returns the converted Boolean array. The order of the Boolean values in boolean array reflects the bit direction selected in mode.
error out contains error information. This output provides standard error out functionality.

DTbl Digital to Boolean Array

digital data is the set of input digital data.
response on error specifies what to do if any value in the digital input is not a 0, 1, H, or L.

0Warn but Convert (default)—Any values that are not 0, 1, H, or L are converted to FALSE and a warning is returned in error out.
1Failboolean array is returned empty and an error is returned in error out.
mode specifies whether the conversion is performed on the data with the least significant bit (LSB) first or most significant bit (MSB) first. The order of the Boolean values in boolean array reflects the selection made in mode.

0LSB First (default)
1MSB First
error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.

This node runs normally even if an error occurred before this node runs.
boolean array returns the converted Boolean array. The order of the Boolean values in boolean array reflects the bit direction selected in mode.
error out contains error information. This output provides standard error out functionality.