Owning Palette: Waveform Conditioning VIs
Requires: Full Development System
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.
Use the pull-down menu to select an instance of this VI.
  Add to the block diagram | 
  Find on the palette | 

![]()  | 
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 is a waveform to align. | ||||||||
![]()  | 
dt is the user-defined sampling interval for resampled waveform out. | ||||||||
![]()  | 
t0 is the user-defined start time value for resampled waveform out. | ||||||||
![]()  | 
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. | ||||||||
![]()  | 
FIR filter specifications specifies the minimum values this VI needs to specify the FIR filter. 
  | ||||||||
![]()  | 
resampled waveform out contains the resampled waveform. | ||||||||
![]()  | 
used t0 returns the actual start time of resampled waveform out. | ||||||||
![]()  | 
error out contains error information. This output provides standard error out functionality. | ||||||||
![]()  | 
t0 adjusted warning returns TRUE if used t0 does not equal t0. | 
Resamples waveforms in according to the user-defined t0 and dt values.

![]()  | 
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.
 | 
||||||||
![]()  | 
waveforms in is an array of waveforms to align. | ||||||||
![]()  | 
dt is the user-defined sampling interval for resampled waveforms out. | ||||||||
![]()  | 
t0 is the user-defined time stamp value for resampled waveforms out. | ||||||||
![]()  | 
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. | ||||||||
![]()  | 
FIR filter specifications specifies the minimum values this VI needs to specify the FIR filter. 
  | ||||||||
![]()  | 
resampled waveforms out returns an array containing the resampled waveforms. | ||||||||
![]()  | 
used t0's returns the array of actual time stamps for resampled waveforms out. | ||||||||
![]()  | 
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. | 
Resamples the input waveform represented by 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 a finite-length, unevenly-sampled signal that is considered complete.

![]()  | 
XY-data in is the array of XY pairs representing the signal to resample. 
  | ||||||||
![]()  | 
dt is the user-defined sampling interval for resampled waveform out. | ||||||||
![]()  | 
t0 is the user-defined time stamp value for resampled waveform out. If t0 is less than the first X value of 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 waveform out contains the resampled waveform. | ||||||||
![]()  | 
XY-data out is the array of XY pairs containing the resampled signal. 
  | ||||||||
![]()  | 
used t0 returns the actual time stamp of resampled waveform out and also is the first X value of XY-data out. If t0 is less than the first X value of XY-data in, used t0 is the lowest value greater than t0 that 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 warning returns TRUE if used t0 does not equal t0. | 
Resamples the input waveform represented by 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 a finite-length, non-evenly sampled signal that is considered complete.

![]()  | 
XY-data in is a pair of X and Y arrays that represents the signal to resample. 
  | ||||||||
![]()  | 
dt is the user-defined sampling interval for resampled waveform out. | ||||||||
![]()  | 
t0 is the user-defined time stamp value for resampled waveform out. If t0 is less than the first X value of 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 waveform out contains the resampled waveform. | ||||||||
![]()  | 
XY-data out is the pair of X and Y arrays containing the resampled signal. 
  | ||||||||
![]()  | 
used t0 returns the actual time stamp of resampled waveform out and also is the first X value of XY-data out. If t0 is less than the first X value of XY-data in, used t0 is the lowest value greater than t0 that 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 warning returns TRUE if used t0 does not equal t0. | 
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.

![]()  | 
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. | 
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, non-evenly sampled signals that are considered complete.

![]()  | 
Multiple XY-data in is the array of pairs of X and Y arrays representing the waveforms 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 pairs of X and Y arrays containing the resampled waveforms. 
  | ||||||||
![]()  | 
used t0's returns the array of actual time stamps for resampled waveforms out. | ||||||||
![]()  | 
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. | 
Passband Ripple and Stopband Attenuation
Refer to the Resampling a Waveform (single-shot) VI in the labview\examples\Signal Processing\Waveform Conditioning directory for an example of using the Resample Waveforms (single shot) VI.