From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital to Analog VI

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: Waveform VIs and Functions

Requires: Base Development System

Converts a digital waveform or digital data to analog waveform. You must manually select the polymorphic instance you want to use.

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

DWDT Digital to Analog

digital waveform is the waveform you want to convert to analog waveform.
full-scale range (pk-pk) specifies the 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. The default is 2.
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.
data format specifies which binary representation you want to use for the digital waveform or digital data.

0unsigned binary—Converts the data to unsigned binary.
1offset binary (default)—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.
22's complement—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.
analog waveform returns the waveform resulting from the conversion of digital waveform or digital table.
resolution (out) returns the number of bits represented in the digital waveform or digital data.
full-scale range (out) returns the total peak-to-peak range for the digital waveform or digital data.
error out contains error information. This output provides standard error out functionality.

DTbl Digital to Analog

digital table is the digital data you want to convert to analog waveform.
full-scale range (pk-pk) specifies the 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. The default is 2.
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.
data format specifies which binary representation you want to use for the digital waveform or digital data.

0unsigned binary—Converts the data to unsigned binary.
1offset binary (default)—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.
22's complement—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.
analog waveform returns the waveform resulting from the conversion of digital waveform or digital table.
resolution (out) returns the number of bits represented in the digital waveform or digital data.
full-scale range (out) returns the total peak-to-peak range for the digital waveform or digital data.
error out contains error information. This output provides standard error out functionality.

WAS THIS ARTICLE HELPFUL?

Not Helpful