Table Of Contents

Digital to Boolean Array (G Dataflow)

Version:
    Last Modified: May 9, 2017

    Converts the digital waveform or digital data to a 2D Boolean array.

    connector_pane_image
    datatype_icon

    digital waveform

    Digital waveform to convert.

    This input appears when you wire a waveform to digital data. If you wire digital data to digital waveform, this input changes to digital data

    datatype_icon

    digital data

    Digital data to convert.

    This input appears when you wire digital data to digital waveform. If you wire a digital waveform to digital data, this input changes to digital waveform.

    datatype_icon

    response on error

    Numeric that specifies what action to take if an input value is not a 0, 1, H, or L.

    Name Value Description
    Warn but Convert 0

    The digital waveform or data is converted, but an input value other than 0, 1, H, or L causes the node to return a warning that an error occurred with the conversion.

    Fail 1 A problem occurred with the conversion of the digital waveform or data, and the node returns an empty array and an error.

    Default: Warn but Convert

    datatype_icon

    mode

    Enum that specifies whether to perform the conversion on the data with the least significant bit (LSB) first or most significant bit (MSB) first.This input determines the order of the digital data output by the node.

    Name Value Description
    LSB First 0 The conversion is performed on the least significant bit first.
    MSB First 1 The conversion is performed on the most significant bit first.

    Default: LSB First

    datatype_icon

    error in

    Error conditions that occur before this node runs.

    The node responds to this input according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Default: No error

    datatype_icon

    boolean array

    Converted 2D Boolean array. The order of the Boolean values in this output reflects the bit direction selected in mode.

    datatype_icon

    error out

    Error information.

    The node produces this output according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics