discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The firdes.low_pass_2(...) function in my GRC has stopped working


From: George Edwards
Subject: Re: The firdes.low_pass_2(...) function in my GRC has stopped working
Date: Wed, 16 Mar 2022 10:35:04 -0500

Hi Marcus,

Thank you!

I will look into the link you sent!

George

On Wed, Mar 16, 2022 at 11:26 AM Marcus D. Leech <patchvonbraun@gmail.com> wrote:
On 2022-03-16 11:17, George Edwards wrote:
Hello GNURadio Community,

I have used the firdes.low_pass_2(...) function in many of my Gnuradio blocks in the past to pass filter coefficients to my blocks and it has always worked. 

Yesterday I opened one of my GRC that uses his filter function and it showed an error. The specific usage was:
firdes.low_pass_2(1,samp_rate1, fcut, ftrans,attenuation_dB=100, window=filter.firdes.WIN_BLACKMAN_HARRIS)
Error message: There is no attribute WIN_BLACKMAN_HARRIS

I then opened several previously created GRCs blocks with this function and all showed the same error. I then opened some radio blocks which required a user to set the window and noticed that what used to be set as WIN_BLACKMAN was now Blackman

I searched the Gnuradio literature, but could not find anything to help me. I made the changes below to the function, but all failed: window=filter.firdes.Win_blackman_harris, window=Blackman_harris then, I would leave out the word window, also in calling the function, I tried low_pass_2 instead of firdes.low_pass_2.  

I would appreciate getting some suggestions from someone who has worked recently with this filter function.

Thank you!

Regards,
George
I suspect that you're dealing with differences between GR 3.7 and GR3.8/3.9/3.10

See:

https://github.com/gnuradio/gnuradio/issues/4510



reply via email to

[Prev in Thread] Current Thread [Next in Thread]