Friday, March 5, 2021

Re: Is there a way to change the number of taps of the FIR filter in GNURadio while running?

Hi Barry,

Thanks for the suggestion. I also figure out that instead of using the convenient blocks, I directly use the filters and that is working fine with QT GUI Range blocks. 

I had attached my example for someone who may need it. Any suggestions would be appreciated.(I am using GNURadio 3.9.)

With Regards,
Jay Patel



On Fri, Mar 5, 2021 at 11:31 AM Barry Duggan <barry@dcsmail.net> wrote:
Jay,

The difference in trying to change the parameters at run-time between
the Low Pass Filter and the Low-pass Filter Taps is that the Low-pass
Filter Taps is a variable where the parameters are computed at compile
time, whereas the Low Pass Filter has callbacks to allow changing
parameters at run-time.

Here is a flowgraph which works:

https://wiki.gnuradio.org/index.php/File:Filter_taps_demo.png

Note: The beta paramater only applies to the Kaiser window.

--
Barry Duggan KV4FV
https://github.com/duggabe

No comments:

Post a Comment