[USRP-users] Re: Set RX power reference using a power calibration database

2021-10-08 Thread Marcus D. Leech
On 2021-10-08 6:11 a.m., arjan.f...@unifi.it wrote: I have found some other methods in the python API but probably passing the wrong arguments to them: |radio_block.get_rx_power_ref_keys()| |Out[9]: ['x3xx_pwr_twinrx_rx_rx1', '31F94F0#0']| |uhd.usrp.cal.database.read_cal_data('31F94F0#0','

[USRP-users] Re: Set RX power reference using a power calibration database

2021-10-08 Thread arjan . feta
I have found some other methods in the python API but probably passing the wrong arguments to them: `radio_block.get_rx_power_ref_keys()` `Out[9]: ['x3xx_pwr_twinrx_rx_rx1', '31F94F0#0']` `uhd.usrp.cal.database.read_cal_data('31F94F0#0','x3xx_pwr_twinrx_rx')` `Traceback (most recent call last)

[USRP-users] Re: Set RX power reference using a power calibration database

2021-10-08 Thread arjan . feta
Hi Martin and thank you, yes I confirm that the file has been placed in that directory viz., `$HOME/.local/share/uhd/cal/x3xx_pwr_twinrx_rx_rx2_31F94F0#0.cal` Unfortunately it gives the same error: ``` *radio_block.set_rx_power_reference(-4.0,0)* ``` *RuntimeError: RuntimeError: Attempting to

[USRP-users] Re: Set RX power reference using a power calibration database

2021-10-06 Thread Martin Braun
Hey Arjan, the pickle file is generated if you run the power cal tool with --store, but it is not required. You can use it as debugging output, or for generating graphs. When you run the tool, it will store the cal data into UHD_CAL_DATA_PATH itself. If you increase the logging level to DEBUG, yo

[USRP-users] Re: Set RX power reference using a power calibration database

2021-10-06 Thread Arjan Feta
Thank you Marcus Il giorno gio 7 ott 2021 alle ore 06:51 Marcus D. Leech < patchvonbr...@gmail.com> ha scritto: > On 2021-10-06 7:15 a.m., arjan.f...@unifi.it wrote: > > Hi all, > > I am trying to calibrate a twinrx (rx direction) using uhd_power_cal.py. > This script generates a outputfile.pickl

[USRP-users] Re: Set RX power reference using a power calibration database

2021-10-06 Thread Marcus D. Leech
On 2021-10-06 7:15 a.m., arjan.f...@unifi.it wrote: Hi all, I am trying to calibrate a twinrx (rx direction) using uhd_power_cal.py. This script generates a outputfile.pickle. How is this file passed in order to be able to set a power reference level? I deduce it needs the calibration data

[USRP-users] Re: Set RX power reference using a power calibration database

2021-10-06 Thread Marcus D Leech
The power cal API is brand new and the documentation has some rough edges. Im hoping to get some more details out of R&D and will post to the list. Sent from my iPhone > On Oct 6, 2021, at 7:02 PM, arjan.f...@unifi.it wrote: > >  > Hi all, > > I am trying to calibrate a twinrx (rx directi