Resamples a signal by a rational resampling factor.
A Boolean that specifies the initialization of the internal state of the node.
True | Initializes the internal state to zero. |
False | Initializes the internal state to the final state from the previous call of this node. |
The first time this node runs or when reset is True, this node uses start index to determine when the resampling starts. The next time this node runs and reset is False, the internal state of this node initializes to the final state from the previous call to this node.
Processing a Large Data Sequence Consisting of Smaller Blocks
To process a large data sequence that consists of smaller blocks, set reset to True for the first block and to False for all the remaining blocks in continuous resampling.
Default: False
Input real signal for resampling.
The sampling interval of signal is 1.
This input accepts the following data types:
Interpolation factor and decimation factor for resampling.
Interpolation factor for resampling.
Default: 1
Decimation factor for resampling.
Default: 1
Index of the sample from which the node starts to resample the signal or when reset is True.
Set start index according to the signal after signal is interpolated. start index must be greater than or equal to 0.
This input changes to resampled t0 when you wire a waveform or 1D array of waveforms to signal.
Default: 0
Start time value for the resampled signal.
This input changes to start index when you wire an array of numbers to signal.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Minimum values this node needs to specify the FIR filter.
Minimum attenuation level of signal components aliased after any resampling operation.
Default: 120
Fraction of the new sampling rate that is not attenuated.
Default: 0.4536
A Boolean that determines whether the input signal undergoes lowpass filtering when this node downsamples the signal.
True | Applies lowpass filtering to the input signal when downsampling the signal. |
False | Does not apply lowpass filtering to the input signal when downsampling the signal. |
If anti-aliasing is True, this node protects the resampled signal from aliasing. However, the computation requirements increase during resampling.
Default: True
Resampled signal.
The sampling interval of resampled signal is decimation/interpolation.
This output can return the following data types:
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
The following steps describe how this node completes the rational resampling process. Each step corresponds to a numbered section of the following image.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application