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


icon

Inputs/Outputs

  • cbool.png compress data (F)

    compress data specifies whether to compress the digital output. The default is FALSE.

  • c2dbool.png boolean array

    boolean array is the 2D Boolean array you want to convert to digital waveform.

  • cdbl.png sample rate

    sample rate specifies the frequency in samples per second of the output digital waveform.

  • cenum.png mode

    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.

    0
    LSB First
    (default)
    1
    MSB First
  • cerrcodeclst.png error in (no error)

    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.

  • idigwdt.png digital waveform

    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.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Controls and Indicators\Graphs and Charts\Digital Waveform Graph\Search Digital Data for Pattern.vi