Resamples a signal according to specific time instances.
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. |
This node automatically initializes the internal state to zero on the first call and runs continuously until this input is True.
Default: False
Input signal for resampling.
The sampling interval of signal is 1.
This input accepts the following data types:
Time instances for resampling in ascending order.
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.
If alias rejection (dB) is less than 48, this node uses 48 instead.
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
Time instance for each sample in the resampled signal.
The number of elements in timestamps is equal to the number of columns in resampled signal. The contents of the time input determine the contents of timestamps. As a result of the internal state of the resampling filter, timestamps might have additional data at the beginning of the array and might lose some data at the end of the array.
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.
To calculate a resampled signal at time t, this node needs several pieces of original signal data both before and after t. FIR filter specifications determines the number of pieces of signal data before and after t that this node needs. If t is close to the end of the input signal, this node might not have enough data after t to calculate the resampled signal. However, if you use this node in online applications in which you continuously acquire data, this node 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.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application