Resample Waveform (continuous) VI
- Updated2025-07-30
- 4 minute(s) read
Resamples an input waveform according to the user-defined values for t0 and dt. Wire data to the waveform in input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
reset
—
reset resets the phase to the phase control value and the time stamp to zero. The default is FALSE.
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.
next t0
—
next t0 is the start time of the next resampled waveform out, if reset is FALSE.
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. |
If t0 is less than the actual t0 value of the input waveform, that is the time stamp of the first input sample, the VI coerces t0 to the first value greater than the actual t0 that fulfills the following equation.
used t0 – t0 = n*dtwhere n is an integer.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Signal Processing\Waveform Conditioning\Resampling a Waveform (continuous).vi
reset
—
waveform in
—
dt
—
t0
—
interpolation mode
—
error in (no error)
—
FIR filter specifications
—
resampled waveform out
—
next t0
—
error out
—
t0 adjusted warning
—