Elliptic Filter (Not in Base Package)

Generates a digital, elliptic filter using the sampling freq: fs, low cutoff freq: fl, high cutoff freq: fh, filter type, passband ripple (dB), stopband attenuation (dB), and order by calling the Elliptic Coefficients VI. Details

filter type specifies the passband of the filter.

0Lowpass
1Highpass
2Bandpass
3Bandstop
passband ripple is the ripple in the passband. passband ripple must be greater than zero, and must be expressed in decibels. The default is 1.0. If passband ripple is less than or equal to zero, the VI sets the output filter data to an empty array and returns an error.
X is the input signal to be filtered.
sampling freq: fs is the sampling frequency and must be greater than zero. The default is 1.0. If it is less than or equal to zero, the VI sets Filtered X to an empty array and returns an error.
high cutoff freq: fh is the high cutoff frequency. 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.
low cutoff freq: fl is the low cutoff frequency and must observe the Nyquist criterion. The default is 0.125.

where is the cutoff frequency, and is the sampling frequency. If low cutoff freq : fl is less than zero or greater than half the sampling frequency, the VI sets Filtered X to an empty array 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.

Note  All cutoff frequencies must be less than half .
stopband attenuation is the attenuation in the stopband. stopband attenuation must be greater than zero and you must express it in decibels. The default is 60.0. If stopband attenuation is less than or equal to zero, the VI sets Filtered X to an empty array and returns an error.
order is the order of the IIR filter and must be greater than zero. The default is 2.0. If order is less than or equal to zero, the VI sets Filtered X to an empty array and returns an error.
init/cont controls the initialization of the internal states. When init/cont is FALSE (default), the internal states are initialized to zero. When init/cont is TRUE, the internal filter states are initialized to the final filter states from the previous call to this instance of this VI. To filter a large data sequence that has been split into smaller blocks, set this control to FALSE for the first block and to TRUE for continuous filtering of all remaining blocks.
Filtered X is the output array of filtered samples.
error returns any error or warning from the VI. Refer to Signal Processing Error Codes for more information about these conditions.

Elliptic Filter Details

After calling the Elliptic Coefficients VI, the Elliptic Filter VI then calls the IIR Cascade Filter VI to filter the X sequence using this model to obtain an elliptic Filtered X sequence. Refer to Elliptic Filters for more information.