Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Butterworth Coefficients (Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Generates the set of filter coefficients to implement an IIR filter as specified by the Butterworth filter model.

You can pass these filter coefficients, IIR Filter Cluster, to the IIR Cascade Filter VI to filter a sequence of data.

Details  

filter type specifies the passband of the filter.

0Lowpass
1Highpass
2Bandpass
3Bandstop
sampling freq: fs is the sampling frequency and must be greater than zero. The default is 1.0. If sampling freq: fs is less than or equal to zero, the VI sets Reverse Coefficients and Forward Coefficients to empty arrays and returns an error.
high cutoff freq: fh is the high cutoff frequency. The default is 0.45. 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 and must observe the Nyquist criterion. If low cutoff freq: fl is less than zero or greater than half the sampling frequency, this VI sets Reverse Coefficients and Forward Coefficients to empty arrays and returns an error.
Note  All cutoff frequencies must be less than half the sampling frequency.
order is the order of the IIR filter and must be greater than zero. If order is less than or equal to zero, the VI sets Reverse Coefficients and Forward Coefficients to empty arrays and returns an error.
IIR Filter Cluster contains the cascaded form of IIR filter coefficients.
filter structure indicates either IIR second-order or IIR fourth-order filter stages.
Reverse Coefficients is the reverse coefficients of the IIR cascade filter.
Forward Coefficients is the forward coefficients of the IIR cascade filter.
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.

Butterworth Coefficients Details

The Butterworth Coefficients VI is a subVI of the Butterworth Filter VI.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit