Resample N Waveforms (continuous, t0 DBL) 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.
waveforms in
—
waveforms in is an array of waveforms 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 waveforms out
—
resampled waveforms out returns an array containing the resampled waveforms.
next t0's
—
next t0's is the timestamp of the next resampled waveform out, if reset is FALSE.
used t0's
—
used t0's returns the array of actual time stamps for resampled waveforms out.
error out
—
error out contains error information. This output provides standard error out functionality.
t0 adjusted warnings
—
t0 adjusted warnings returns TRUE in each element of the array where the corresponding used t0's element 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
—
waveforms in
—
dt
—
interpolation mode
—
error in (no error)
—
FIR filter specifications
—
resampled waveforms out
—
next t0's
—
error out
—
t0 adjusted warnings
—