Resample Waveform (single shot) VI
- Updated2025-07-30
- 3 minute(s) read
Resamples input waveforms or data according to the user-defined t0 and dt values. Wire data to the waveform or data input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
open interval? (F)
—
open interval? defines the interval over which the VI resamples the input waveform. The default is FALSE, which selects a closed interval. For example, assume an input waveform contains 3 data elements at t = {0, dt, 2dt}. An open interval yields resampled data over the time interval 0 ≤ t < 2dt, and a closed interval yields resampled data over the time interval 0 ≤ t < 3dt.
waveform in
—
waveform in is a waveform to align.
dt
—
dt is the user-defined sampling interval for resampled waveform out.
t0
—
t0 is the user-defined start time value for resampled waveform out.
interpolation mode
—
interpolation mode specifies the resampling algorithm used for the resampling.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
FIR filter specifications
—
FIR filter specifications specifies the minimum values this VI needs to specify the FIR filter.
resampled waveform out
—
resampled waveform out contains the resampled waveform.
used t0
—
used t0 returns the actual start time of resampled waveform out.
error out
—
error out contains error information. This output provides standard error out functionality.
t0 adjusted warning
—
t0 adjusted warning returns TRUE if used t0 does not equal t0. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Signal Processing\Waveform Conditioning\Resampling a Waveform (single-shot).vi
open interval? (F)
—
waveform in
—
dt
—
t0
—
interpolation mode
—
error in (no error)
—
FIR filter specifications
—
resampled waveform out
—
used t0
—
error out
—
t0 adjusted warning
—