FIR Windowed Coefficients (Not in Base Package)

Generates the set of filter coefficients you need to implement a FIR windowed filter. Details

filter type specifies the passband of the filter.

0Lowpass (default)
1Highpass
2Bandpass
3Bandstop
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 FIR Windowed Coefficients 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.

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 FIR Windowed Coefficients to an empty array and returns an error. The default is 0.125.

Note  All cutoff frequencies must be less than half .
taps determines the total number of FIR coefficients and must be greater than zero. The default is 25. If taps is less than or equal to 0, the VI sets FIR Windowed Coefficients to an empty array and returns an error. taps must be odd for highpass and bandstop filters.
window specifies the type of smoothing window. Smoothing windows decrease ripple in the filter passband and improve the ability of the filter to attenuate frequency components in the filter stopband.

0None
1Hanning
2Hamming
3Triangular
4Blackman
5Exact Blackman
6Blackman-Harris
7Kaiser-Bessel
8Flat Top
FIR Windowed Coefficients returns the filter coefficients.
error returns any error or warning from the VI. Refer to Signal Processing Error Codes for more information about these conditions.

FIR Windowed Coefficients Details

Smoothing windows decrease ripple in the filter passband and improve the ability of the filter to attenuate frequency components in the filter stopband. Refer to Designing FIR Filters by Windowing for more information about smoothing windows.