Hi Martin,

Thanks for your swift answer!

I managed to get it working now. I share these few lines of code here as they 
may be a help for someone else.

I have to note that I focus on calibration on the receiving side of the B210s 
(RX/RX2). But I believe for TX calibration, changing some things from RX to TX 
in the functions will work too.

For now, there is no check whether the cal files exist, but based on the 
True/False flag of the has_rx_power_reference(), it is easily implemented if 
needed.

    print("> Searching for calibration files at: ",uhd.get_cal_data_path())

    print("> has_rx_power_reference?: ",usrp1.has_rx_power_reference())

    print("> get_usrp_rx_info: ",usrp1.get_usrp_rx_info(0)) 

   

    serial = usrp1.get_usrp_rx_info()\["rx_ref_power_serial"\]

    key = usrp1.get_usrp_rx_info()\["rx_ref_power_key"\]

    print(f"Using B210 with serial: {serial}")

    print(f"Using B210 with key: {key}")  

    print(uhd.usrp.cal.database.read_cal_data(key, serial))
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to