LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

butterworth LPF initialization

I want to low-pass filter a sequence with the Butterworth Filter vi, where the filter is initialized to the first value of the sequence (which is typically non-zero). It appears that the vi eventually calls the IIR_Filter2 function, which has only a "reset" argument (presumably which initializes the internal states to zero).

Can someone suggest an elegant method to initialize the filter to an arbitrary value? Or, is it necessary to first run a dummy sequence composed of the desired arbitrary initial value through the filter (with the appropriate filter parameters), and then do the actual filter step with the init/cont input set to "cont"?

Thanks,

Lyle
0 Kudos
Message 1 of 1
(2,516 Views)