Resamples input signal X according to delay and dt using an FIR filter implementation. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.


icon

Inputs/Outputs

  • cbool.png anti-aliasing?

    anti-aliasing? specifies whether the input signal undergoes lowpass filtering when LabVIEW downsamples the signal.

    If anti-aliasing? is TRUE (default), this VI protects the resampled signal from aliasing. However, the computation requirements increase during resampling.

  • cbool.png reset?

    reset? controls the initialization of the internal states. The default is FALSE.

    The first time this VI runs or when reset? is TRUE, LabVIEW initializes the internal states to zero. When reset? is FALSE, LabVIEW initializes the internal states to the final states from the previous call to this instance of this VI. To process a large data sequence consisting of smaller blocks, set this control to TRUE for the first block and to FALSE for continuous filtering of all remaining blocks.

  • c2ddbl.png X

    X contains the input signals for resampling. Each row of X contains an input signal. All the signals have the same length. The sampling interval of each signal in X is 1.

  • cdbl.png delay

    delay specifies the timestamp for Y.

  • cdbl.png dt

    dt specifies the sampling interval for Y.

  • 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. If alias rejection (dB) is less than 48, this VI will use 48 instead. 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.

  • i2ddbl.png Y

    Y returns the resampled signals. Each row of Y contains a resampled signal that corresponds to the input signal in the same row of X. All the signals have the same length.

  • idbl.png t0

    t0 returns the time instance for the first sample in Y.

  • ierrcodeclst.png error out

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

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Signal Processing\Waveform Conditioning\Constant-to-Constant Resampling.vi