Table Of Contents

Digital to Analog (G Dataflow)

Version:
    Last Modified: May 9, 2017

    Converts a digital waveform or digital data to an analog waveform.

    connector_pane_image
    datatype_icon

    digital waveform

    The waveform you want to convert to an analog waveform.

    This input is available when you wire a digital waveform to digital table. If you wire a digital table to digital waveform, this input changes to digital table.

    datatype_icon

    digital table

    The digital data you want to convert to an analog waveform.

    This input is available only when you wire a digital table to digital waveform. If you wire a digital waveform to digital table, this input changes to digital waveform.

    datatype_icon

    full-scale peak-to-peak range

    Total peak-to-peak range, or the difference between the minimum and maximum, for the digital waveform or digital data. For example, if the maximum range of a waveform is 1 and the minimum is -1, the full-scale range for the waveform is 2.

    Default: 2

    datatype_icon

    error in

    Error conditions that occur before this node runs. Unlike most nodes, this node runs normally even if an error occurs before this node runs.

    Default: no error

    datatype_icon

    data format

    The binary representation you want to use for the digital waveform or digital data.

    Name Value Description
    unsigned binary 0 Converts the data to unsigned binary.
    offset binary 1 The largest negative full-scale value is represented by all zeros, and the largest positive full-scale value is represented by all ones. Zero-scale is represented by a one (MSB) followed by all zeros, for example, binary 1000.
    2's complement 2 Uses two's complement format, which is a common format for representing signed binary values. This format is similar to offset binary, but the MSB is inverted.

    Default: offset binary

    datatype_icon

    analog waveform

    Waveform resulting from the conversion of the digital waveform or digital table.

    datatype_icon

    resolution

    Number of bits represented in the digital waveform or digital data.

    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