FIR Narrowband Filter VI

Owning Palette: Advanced FIR Filtering VIs

Requires: Full Development System

Filters the input sequence X using the interpolated FIR (IFIR) filter specified by IFIR Coefficients.

Details  

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

FIR Narrowband Filter (DBL)

X is the input signal to filter.
IFIR Coefficients is a cluster that contains IFIR filter coefficients. You can use the FIR Narrowband Coefficients VI to generate the IFIR Coefficients to use.
filter type is the filter type that you use to determine how to filter the data.

0Lowpass
1Highpass
2Bandpass
3Bandstop
4Wideband-Lowpass (cutoff frequencies near Nyquist)
5Wideband-Highpass (cutoff frequencies near zero)
interpolation is the interpolation factor M. The model filter is stretched by interpolation times.
Model Filter contains the coefficients of the model filter.
Image Suppressor contains the coefficients of the filter image suppressor.
Filtered X is the output array of filtered samples.
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.

FIR Narrowband Filter (CDB)

X is the input signal to filter.
IFIR Coefficients is a cluster that contains IFIR filter coefficients. You can use the FIR Narrowband Coefficients VI to generate the IFIR Coefficients to use.
filter type is the filter type that you use to determine how to filter the data.

0Lowpass
1Highpass
2Bandpass
3Bandstop
4Wideband-Lowpass (cutoff frequencies near Nyquist)
5Wideband-Highpass (cutoff frequencies near zero)
interpolation is the interpolation factor M. The model filter is stretched by interpolation times.
Model Filter contains the coefficients of the model filter.
Image Suppressor contains the coefficients of the filter image suppressor.
Filtered X is the output array of filtered samples.
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.

FIR Narrowband Filter Details

The overall filter is a linear-phase FIR filter. This VI calculates the delay for the filter using the following equation:

where NG is the number of elements in the array Model Filter, NI is the number of elements in the array Image Suppressor, and M is the value of interpolation.

You can design narrowband FIR filters using the FIR Narrowband Coefficients VI, and then implement the filtering using the FIR Narrowband Filter VI. The design and implementation are separate operations, because many narrowband filters require long design times, whereas the actual filtering is very fast and efficient. Keep this in mind when creating your narrowband filtering diagrams.