Resample N Arrays of Pairs (single shot) VI
- Updated2025-03-14
- 4 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.
Resamples the input waveforms represented by Multiple XY-data in according to the user-defined t0 and dt values. This VI does not assume any signal history. Use this VI to resample finite-length, unevenly-sampled signals that are considered complete.

Inputs/Outputs
![]() Multiple XY-data in is an array of clusters containing arrays of XY pairs representing the signals to resample.
![]() dt is the user-defined sampling interval for resampled waveforms out. ![]() t0 is the user-defined time stamp value for resampled waveforms out. If t0 is less than the first X value of Multiple XY-data in, the value is adjusted. ![]() interpolation mode specifies the resampling algorithm used for the resampling.
![]() error in describes error conditions that occur before this node runs. This input provides standard error in functionality. ![]() resampled waveforms out returns an array containing the resampled waveforms. ![]() Multiple XY-data out is the array of arrays of XY pairs containing the resampled signals.
![]() used t0's returns the array of actual time stamps for resampled waveforms out. The time stamps are also the first X values in Multiple XY-data out. For each element of Multiple XY-data in, if t0 is less than the first X value (x0) of that element, the corresponding element value of used t0's is the lowest value greater than x0 that also fulfills the following equation. used t0 = t0 + n*dt where n is an integer. ![]() error out contains error information. This output provides standard error out functionality. ![]() t0 adjusted warnings returns TRUE in each element of the array where the corresponding used t0's element 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