Thank you very much, this is really a breakthrough for me. One more question, if I need to perform the averaging of the past 100 values or the fft of this window lenth, will it be still feasible to use the shift register method? or there is any other way to do it? Thank you.