Filters one or more input signals using a lowpass or highpass IIR Butterworth filter.
The filter can be of order 1, 2, or 4.
| Dialog Box Options |
| Block Diagram Inputs |
| Block Diagram Outputs |
| Parameter | Description | ||
|---|---|---|---|
| Filter Specifications | Contains the following options:
| ||
| Implementation | Contains the following options:
| ||
| Filter Response | Displays the actual magnitude response of the filter. |
| Parameter | Description |
|---|---|
| reset | Resets the filter states of the input data channel to zero if TRUE. Resetting the filter states does not reset the filter coefficients. This input is available only when you place a checkmark in the Show reset terminal checkbox on the configuration dialog box. |
| input data | Specifies the input signal to filter. You can wire a 16- or 32-bit signed integer to this input depending on the Input resolution you specify in the configuration dialog box. |
| scaled coefficients | Specifies single-channel filter coefficients to load at run time. Scaled coefficients is a fixed-size array of 32-bit signed integers. The size of the array depends on the order you specify. If the filter order is one, the array contains two elements. If the filter order is two, the array contains three elements. If the filter order is four, the array contains six elements.
The filter coefficients must correspond to the filter type and order you specify using the Type and Order options. You cannot alter the order or type of the filter at run-time. This parameter is available only when you configure the VI for single-channel input and place a checkmark in the Show configuration terminal checkbox on the configuration dialog box. |
| configuration | Specifies the scaled coefficients to load at run time for the channel index you specify using the channel index element of this cluster. This Express VI continues to use either the default coefficients or the last coefficients you specified for the channel until you specify new coefficients. This parameter is available only when you configure the VI for multi-channel input and place a checkmark in the Show configuration terminal checkbox on the configuration dialog box. |
| Parameter | Description |
|---|---|
| output data | Returns the filtered signal corresponding to the input data channel. If the actual result of the calculation exceeds the range of the data type, the output saturates, and output data returns the maximum numeric magnitude representable by the data type. The output has the same sign as the actual result of the calculation. For example, if the data type is I16 and the actual result of the calculation is −32,800, output data returns −32,768. Refer to Numeric Data Types for information about data type ranges. |
Refer to the Developer Zone for more information about the accuracy of the FPGA Math and Analysis VIs.