Owning Palette: Filters VIs
Requires: Full Development System
Applies a zero phase filter to an input sequence X. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.
Use the pull-down menu to select an instance of this VI.
Add to the block diagram | Find on the palette |
X is a real vector. | |
Reverse Coefficients specifies the reverse coefficients of the zero phase filter. | |
Forward Coefficients specifies the forward coefficients of the zero phase filter. | |
Filtered X returns the filtered signal. | |
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. |
X is the complex valued input sequence. | |
Reverse Coefficients specifies the reverse coefficients of the zero phase filter. | |
Forward Coefficients specifies the forward coefficients of the zero phase filter. | |
Filtered X returns the filtered signal. | |
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. |
X is a real input signal. | |||||||||||
IIR Filter Cluster contains the cascaded form of IIR filter coefficients. This cluster is the output from one of the IIR coefficient design VIs: Butterworth Coefficients, Bessel Coefficients, Chebyshev Coefficients, Elliptic Coefficients, or Inv Chebyshev Coefficients.
| |||||||||||
Filtered X returns the filtered signal. | |||||||||||
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. |
X is a complex valued input signal. | |||||||||||
IIR Filter Cluster contains the cascaded form of IIR filter coefficients. This cluster is the output from one of the IIR coefficient design VIs: Butterworth Coefficients, Bessel Coefficients, Chebyshev Coefficients, Elliptic Coefficients, or Inv Chebyshev Coefficients.
| |||||||||||
Filtered X returns the filtered signal. | |||||||||||
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. |
This VI filters the input sequence X as shown in the following illustration:
g–n is the reverted sequence of gn. H(z) is an IIR filter whose coefficients are specified by Reverse Coefficients and Forward Coefficients.
You must specify the Reverse Coefficients and Forward Coefficients in direct form. Use the IIR coefficient design VIs on the Advanced IIR Filtering palette to get cascade form IIR filter coefficients. Then use the Cascade to Direct Coefficients VI to convert the resulting IIR Filter Cluster to direct form.
With a zero phase filter, the output sequence Filtered X has no phase distortion. Although the zero phase filter is non-causal, it is useful in offline applications such as filtering a sound file saved on disk.
Refer to the Zero Phase Filtering VI in the labview\examples\Signal Processing\Filters directory for an example of using the Zero Phase Filter VI.