Classical Filter Design Express VI
Owning Palette: Filter Design VIs
Installed With: Digital Filter Design Toolkit
Creates a lowpass, highpass, bandpass, or bandstop filter interactively.
Dialog Box Options |
Block Diagram Inputs |
Block Diagram Outputs |
Place on the block diagram | Find on the Functions palette |
Dialog Box Options
Parameter | Description |
---|---|
Main Settings | Contains the following options:
|
Design Feedback | Contains the following options:
|
Magnitude in dB | Specifies whether this Express VI uses decibels or a linear scale to express the magnitude response. If you place a checkmark in the checkbox, this Express VI converts a linear magnitude response to decibels. This Express VI uses decibels by default. |
Passband | Specifies the color of the lines in the magnitude plot that represent the passband response and the passband frequencies. The default is blue. Click the color box next to the parameter name to select a different color. |
Stopband | Specifies the color of the lines in the magnitude plot that represent the stopband attenuation and the stopband frequencies. The default is red. Click the color box next to the parameter name to select a different color. |
Magnitude Response | Contains the plot of the magnitude response. You can drag the cursors in the plot to change the specifications. The color you specify in Passband represents the passband response and the passband frequencies. The color you specify in Stopband represents the stopband attenuation and the stopband frequencies. The green vertical line in the graph represents the half sampling frequency, also known as the Nyquist frequency. |
Z-Plane | Contains the plot of the zeroes and poles of the filter in the z-plane. |
Block Diagram Inputs
Parameter | Description |
---|---|
error in (no error) | Describes error conditions that occur before this VI or function runs. |
Block Diagram Outputs
Parameter | Description |
---|---|
filter out | Returns the new filter. |
error out | Contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. |
Classical Filter Design Details
As you define a filter specification, you must adhere to a set of rules to maintain valid specifications. If any violations to the rules occur, the Error message indicator of the Configure Classical Filter Design dialog box displays a message with suggestions for repositioning the cursors. The rules are as follows:
- Keep horizontal cursors in the range (0, 1) in a linear scale or (–inf, 0 dB) in a logarithmic scale.
- Keep the horizontal passband cursor above the horizontal stopband cursor.