Wednesday, March 3, 2021

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

It looks like the GRC convenience blocks for the filter tap generation don't have working callbacks -- although, from the YAML it looks like they should work. There might be a bug in there.

The actual filter generation callbacks work -- if you replace "lp_taps" in the low-pass filter with "firdes.low_pass(1, samp_rate, cutoff_high, transition, firdes.WIN_HANN), for instance, then changing the parameters with a QT GUI Range slider will work just fine. It's just the convenience blocks which don't work.

Nick

On Wed, Mar 3, 2021 at 7:15 PM Jay Patel <patel999jay@gmail.com> wrote:
Hi all,

I am using GNURadio example Filter Introduction flow graph which shows basic introduction of filtering. I want to change the no. of taps while running the program. I tried to put the qt gui range but it looks like GNURadio creates/calculates taps as a static vector in the start of the execution of the flow graph.

Is there a work around this ?  I mean can I put a slider or counter for changing the transition_width which changes the number of taps while running the flow graph ?

Thanks. Any suggestions are appreciated.

With Regards,
Jay Patel


No comments:

Post a Comment