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, you will see something
like "[DEBUG] [CAL::DATABASE] Writing to ~/.local/share/uhd/cal/xxxxx.cal".

Check the contents of that directory. Does it have any files?



On Wed, Oct 6, 2021 at 1:15 PM <[email protected]> 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 for setting the power reference
> level since I get this error:
>
> *radio_block.set_rx_power_reference(-4.0,0)*
>
> *Traceback (most recent call last):*
>
> * File "<ipython-input-5-092ddd34efe0>", line 1, in <module>*
>
> * radio_block.set_rx_power_reference(-4.0,0)*
>
> *RuntimeError: RuntimeError: Attempting to set power for key
> x3xx_pwr_twinrx_rx_rx1, but no cal data available!*
>
> Regards,
>
>
> Arjan
> _______________________________________________
> USRP-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to