Table Of Contents

Analog to Digital (DTbl Analog to Digital) (G Dataflow)

Last Modified: January 12, 2018

Converts an analog waveform to digital data.

connector_pane_image
datatype_icon

compress digital

Boolean that determines whether to compress the digital waveform or digital data.

True Compresses the digital waveform or digital data.
False Leaves the digital waveform or digital data uncompressed.

Default: True

datatype_icon

analog waveform

The analog waveform you want to convert to a digital waveform or digital data.

datatype_icon

requested resolution

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

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

digital data

Data resulting from the conversion of the analog waveform.

datatype_icon

actual 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: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics