Resample (constant to variable, complex single-channel) VI
- Updated2025-07-30
- 4 minute(s) read
Resamples input signal X according to Time using an FIR filter implementation. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
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.
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.
X
—
X contains the complex input signal for resampling. The sampling interval of X is 1.
Time
—
Time specifies the time instances for resampling in ascending order.
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.
Y
—
Y returns the complex resampled signal.
Time Stamps
—
Time Stamps returns the time instance for each sample of every resampled signal in Y. The number of elements in Time Stamps is equal to the number of columns in Y. The contents of the Time input determine the contents of Time Stamps. As a result of the internal state of the resampling filter, Time Stamps might have additional data at the beginning of the array and might lose some data at the end of the array.
error out
—
error out contains error information. This output provides standard error out functionality. |
To calculate a resampled signal at time t, this VI needs several pieces of original signal data both before and after t. The FIR filter specifications determine the number of pieces of signal data before and after t that this VI needs. If t is close to the end of the input signal, this VI might not have enough data after t to calculate the resampled signal. However, if you use this VI in online applications in which you continuously acquire data, this VI can calculate the resampled signal at t when the next input signal block is available. Therefore, in the first input signal block, Time Stamps loses data for t at the end of the array. In the next input signal block, Time Stamps has t as additional data at the beginning of the array.
anti-aliasing?
—
X
—
Time
—
error in (no error)
—
FIR filter specifications
—
alias rejection (dB)
—
Y
—
Time Stamps
—
error out
—