WDT Get XY Value DBL VI
- Updated2025-07-30
- 3 minute(s) read
Returns the X and Y value of a waveform or digital data set. The data type you wire to the waveform in input and the data type of the Y component of the analog waveform determine the polymorphic instance to use.

Inputs/Outputs
waveform in
—
waveform in is the analog waveform for which you want to retrieve a specified data value (X and Y value). The default is empty.
Y position format
—
Y position format indicates if you want to retrieve the data value of the specified element or at a specified time.
Y position
—
Y position is the element number you want from the set of waveform data or the value at a specified time. The default is 0. For example, if you want the value of the 200th scan, wire 199 to this input. If you want the value at time 100, wire 100 to this input. You select whether this is a samples or relative time Y position format. In Relative Time mode, this VI checks the Y position input to determine if it is an integer multiple of dt. If Y position is not an integer multiple of dt, the VI uses the closest exact multiple of dt.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
X value
—
X value returns the X value.
waveform out
—
waveform out returns waveform in unchanged.
actual Y position
—
actual Y position is the actual index or time value of the point returned.
Y value
—
Y value returns the Y value.
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\Waveform\Waveform - Get Y Value.vi
waveform in
—
Y position format
—
Y position
—
error in (no error)
—
X value
—
waveform out
—
actual Y position
—
error out
—