Boolean Array to Digital VI

Owning Palette: Digital Conversion VIs and Functions

Requires: Base Development System

Converts a 2D Boolean array to a digital waveform or digital data. You must manually select the polymorphic instance you want to use.

Example

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

 Add to the block diagram  Find on the palette

DWDT Boolean Array to Digital

compress data specifies whether to compress the digital output. The default is FALSE.
boolean array is the 2D Boolean array you want to convert to digital waveform.
sample rate specifies the frequency in samples per second of the output digital waveform.
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 digital data in digital waveform 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.
digital waveform returns the waveform resulting from the conversion of boolean array. The order of the digital data in digital waveform reflects the bit direction selected in mode.
error out contains error information. This output provides standard error out functionality.

DTbl Boolean Array to Digital

compress data specifies whether to compress the digital output. The default is FALSE.
boolean array is the 2D Boolean array you want to convert to digital data.
mode specifies whether the conversion is performed on the data with least significant bit (LSB) first or most significant bit (MSB) first. The order of the digital data in digital data 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.
digital data returns the digital data resulting from the conversion of boolean array. The order of the digital data reflects the bit direction selected in mode.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the Search Digital Data for Pattern VI in the labview\examples\Controls and Indicators\Graphs and Charts\Digital Waveform Graph directory for an example of using the Boolean Array to Digital VI.

 Open example  Find related examples