Re: [USRP-users] Enable AGC in USRP E320 with RFNoC using GNURadio

2021-03-10 Thread Maria Muñoz via USRP-users
Hi Jules, Thank you, I will try it and let you know as soon as possible. By the way, I have checked the python generated using the UHD USRP SOURCE block (instead of the RFNoC radio block) with AGC active and it generates the set of AGC fine. So, as you said, it is fixed in gr-uhd but it might sti

Re: [USRP-users] Enable AGC in USRP E320 with RFNoC using GNURadio

2021-03-10 Thread Julian Arnold via USRP-users
Maria, So, if I understand correctly, I have to put there also something like "self.ettus_rfnoc_rx_radio_0.set_rx_agc(enable,0)" isn't it? Exactly! Take a look at [1] for the correct syntax. [1] https://github.com/EttusResearch/gr-ettus/blob/1038c4ce5135a2803b53554fc4971fe3de747d9a/include/e

Re: [USRP-users] Enable AGC in USRP E320 with RFNoC using GNURadio

2021-03-10 Thread Maria Muñoz via USRP-users
Hi Julian, Thanks for the quick answer. I think you might be right about the possible bug turning on the AGC from GRC. I have checked the flow graph generated and there's no set_rx_agc enable option (I checked the c++ definition block where this option did appear but I hadn't look at the python g

Re: [USRP-users] Enable AGC in USRP E320 with RFNoC using GNURadio

2021-03-10 Thread Julian Arnold via USRP-users
Maria, I might not be the right person to answer this, as my experience with UHD 4.0 is relatively limited at the moment. However, I cant tell you that the AGC on B2x0 devices is controlled via software (using set_rx_agc()). There is no need to directly modify the state of any pins of the FP

[USRP-users] Enable AGC in USRP E320 with RFNoC using GNURadio

2021-03-09 Thread Maria Muñoz via USRP-users
Hi all, I was wondering if it is possible to enable AGC from the RFNoC radio block in GNURadio. I use UHD 4.0 version and GNURadio 3.8 with gr-ettus. I see that the RFNoC Rx radio block has an enable/disable/default AGC option in the GNURadio block which I assume calls the UHD function "set_rx_ag