Owning Palette: Filters PtByPt VIs
Requires: Full Development System
Filters x using an equi-ripple bandpass FIR filter model.
This VI is similar to the Equi-Ripple BandPass VI.
Note By default, reentrant execution is enabled in all Point By Point VIs. |
Add to the block diagram | Find on the palette |
initialize, when TRUE, initializes the internal state of the VI. | |
higher pass freq must be greater than lower pass freq frequency and observe the Nyquist criterion. The default is 0.35 Hz. If higher pass freq is less than or equal to lower pass freq or does not meet the Nyquist criterion, the VI sets Filtered x to 0 and returns an error through the Parks-McClellan VI. | |
lower pass freq must be greater than the lower stop freq and observe the Nyquist criterion. The default is 0.25 Hz. If lower pass freq is less than or equal to lower stop freq or does not meet the Nyquist criterion, the VI sets Filtered x to an empty array and returns an error through the Parks-McClellan VI. | |
x is the input signal to filter. | |
sampling freq: fs is the frequency in Hz at which you want to sample x and must be greater than zero. The default is 1.0 Hz. | |
# of taps must be greater than 2. The default is 32. If # of taps is less than or equal to 2, the VI sets Filtered x to 0 and returns an error through the Parks-McClellan VI. | |
lower stop freq must be greater than zero and observe the Nyquist criterion. The default is 0.20 Hz. If lower stop freq is less than or equal to zero or does not meet the Nyquist criterion, the VI sets Filtered x to zero and returns an error through the Parks-McClellan VI. | |
higher stop freq must be greater than higher pass freq and observe the Nyquist criterion. The default is 0.4 Hz. If higher stop freq is less than or equal to higher pass freq or does not meet the Nyquist criterion, the VI sets Filtered x to zero and returns an error through the Parks-McClellan VI. | |
Filtered x contains the result of filtering the input sequence x by convolution. | |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
Generates a bandpass FIR filter with equi-ripple characteristics using the Parks-McClellan algorithm and higher pass freq, lower pass freq, # of taps, lower stop freq, higher stop freq, and sampling freq: fs. The Equi-Ripple BandPass PtByPt VI then applies a linear-phase, bandpass filter to x to obtain Filtered x.
The first stopband of the filter region goes from zero (DC) to the lower stop frequency. The passband region goes from the lower pass frequency to the higher pass frequency. The second stopband region goes from the higher stop frequency to the Nyquist frequency.