Filters the set of input data using the IIR filter specified by Reverse Coefficients and Forward Coefficients. Details
![]() |
initialize, when TRUE, initializes the internal state of the VI. |
![]() |
input data is a set of input data. |
![]() |
Reverse Coefficients is the reverse coefficients of the filter design. If the set of reverse coefficients is empty, the forward coefficients should be empty too. Otherwise, the VI returns an error. If both sets of coefficient inputs are empty, output data is set equal to input data. |
![]() |
Forward Coefficients is the forward coefficients of the filter design. |
![]() |
initial x conditions contains the initial conditions for the set of input data. The most recent prior input should be the last element in the data set. The number of elements in this data set should be one less than the number of elements in the Forward Coefficients array. |
![]() |
initial y conditions contains the initial conditions for the set of input data. The most recent output should be the last element in the data set. The number of elements in this data set should be one less than the number of elements in the Reverse Coefficients array. |
![]() |
output data is a set of filtered samples. |
![]() |
error returns any error or warning condition from the VI. Refer to Point By Point Error Codes for more information about these conditions. |
![]() |
final x conditions contains the most recent inputs that may be used as initial x conditions on the next call to this VI. |
![]() |
final y conditions contains the most recent outputs that may be used as initial y conditions on the next call to this VI. |
If Y represents the set of output data, the elements of Y are obtained using
y[i] = (1/b[0]) * ( Sum{a[k]x[i-k]} - Sum{b[j]y[i-j]} ),
where k = 0, 1, 2, n, j = 1, 2, 3, m, n is the number of Forward Coefficients, m is the number of Reverse Coefficients, a is the set of Forward Coefficient inputs, and b is the set of Reverse Coefficient inputs.
![]() | Note You can use the IIR Filter PtByPt VI to perform FIR filtering by passing an empty array into Reverse Coefficients or by leaving Reverse Coefficients unwired. |