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.

Note

Resamples waveforms in according to the user-defined t0 and dt values.


icon

Inputs/Outputs

  • cbool.png 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.

  • c1dmsdt.png waveforms in

    waveforms in is an array of waveforms to align.

  • cdbl.png dt

    dt is the user-defined sampling interval for resampled waveforms out.

  • catrn.png t0

    t0 is the user-defined time stamp value for resampled waveforms out.

  • cu16.png interpolation mode

    interpolation mode specifies the resampling algorithm used for the resampling.

    0Coerce—Specifies that each output sample is set equal to the input sample value that is closest to it in time.
    1Linear (default)—Specifies that each output sample value is a linear interpolation between the two input samples that are closest to it in time.
    2Spline—Specifies that this VI uses the spline interpolation algorithm to compute the resampled values.
    3FIR filter—Specifies that this VI uses a finite impulse response (FIR) filtering algorithm to compute the resampled values.
  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • cnclst.png FIR filter specifications

    FIR filter specifications specifies the minimum values this VI needs to specify the FIR filter.

  • cdbl.png alias rejection (dB)

    alias rejection (dB) specifies the minimum attenuation level of signal components aliased after any resampling operation. The default is 120.

  • cdbl.png normalized bandwidth

    normalized bandwidth specifies the fraction of the new sampling rate that is not attenuated. The default is 0.4536.

  • i1dmsdt.png resampled waveforms out

    resampled waveforms out returns an array containing the resampled waveforms.

  • i1datrn.png used t0's

    used t0's returns the array of actual time stamps for resampled waveforms out.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • i1dbool.png 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.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Signal Processing\Waveform Conditioning\Resampling a Waveform (single-shot).vi