LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

What does the State_Information[] argument mean in the FIRFiltering() function?

Solved!
Go to solution
I'm trying to write some digital filtering code but I have no experience with digital filters.  I think I need the FIRFiltering() function from the advanced analysis library.  This function provides arguments for the input data array, the set of filter coefficients, the output array, and also an array called the State_Information.  Where does this array come from and what is it used for?
0 Kudos
Message 1 of 3
(3,743 Views)
Solution
Accepted by topic author LJM
Initial X Conditions contains the most recent inputs. The most recent prior input should be the last element in the array. The number of elements in this array should be one less than the number of elements in the FIR Coefficients array.

Mark E.
National Instruments

0 Kudos
Message 2 of 3
(3,695 Views)

Thanks Mark.  I was working on other things and it took a while for me to get back to this problem but now it makes sense.

 

0 Kudos
Message 3 of 3
(3,608 Views)