Owning Palette: Filters PtByPt VIs
Requires: Full Development System
Generates a digital Chebyshev filter by calling the Chebyshev Coefficients VI.
The Chebyshev Filter PtByPt VI is similar to the Chebyshev Filter 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. | |||||||||
filter type specifies the passband of the filter.
|
|||||||||
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 0. The default is 1.0 Hz. If sampling freq: fs is less than or equal to 0, this VI sets Filtered x to 0 and returns an error. | |||||||||
high cutoff freq: fh is the high cutoff frequency in Hz. The default is 0.45 Hz. The VI ignores this parameter when filter type is 0 (Lowpass) or 1 (Highpass). When filter type is 2 (Bandpass) or 3 (Bandstop), high cutoff freq: fh must be greater than low cutoff freq: fl and observe the Nyquist criterion. | |||||||||
low cutoff freq: fl is the low cutoff frequency in Hz and must observe the Nyquist criterion. The default is 0.125 Hz. If low cutoff freq: fl is less than or equal to 0 or greater than half the value of sampling freq: fs, the VI sets Filtered x to 0 and returns an error. When filter type is 2 (Bandpass) or 3 (Bandstop), low cutoff freq: fl must be less than high cutoff freq: fh. | |||||||||
ripple is the ripple in the passband. ripple must be greater than zero and must be expressed in decibels. The default is 0.1. | |||||||||
order specifies the filter order and must be greater than 0. The default is 2. If order is less than or equal to 0, the VI sets Filtered x to 0 and returns an error. | |||||||||
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. |
The values for high cutoff freq: fh and low cutoff freq: fl must observe the following relationship:
0 < f1 < f2 < 0.5fs
where f1 is low cutoff freq: fl, f2 is high cutoff freq: fh, and fs is sampling freq: fs.