Hey Dennis, we recently had an issue here (by another Belgian USRP user, nonetheless!) where the files were not being loaded, and it was due to the environment variable XDG_DATA_HOME being set.
To check, there's two things you can do: - Call uhd.get_cal_data_path(). If it matches the path you expect, then UHD will look for cal files in here. - Call has_tx_power_reference() on your multi_usrp object. It will return true if cal data was loaded. If you like, you can go low-level and query uhd.usrp.cal.database.read_cal_data() and see if it loads the right data... but that's pretty advanced, and I'll let you read the manual for that if you want to do that. --M On Wed, Jul 23, 2025 at 7:43 PM <dennis.joos...@uantwerpen.be> wrote: > Hi, > > I am working on power calibration of the USRP B210 SDR specifically on the > RX side. > > The power calibration worked, I managed to generate four .cal files: > > b2xx_pwr_rx_tx+rx_316E278#A.cal > > b2xx_pwr_rx_tx+rx_316E278#B.cal > > b2xx_pwr_rx_rx2_316E278#A.cal > > b2xx_pwr_rx_rx2_316E278#B.cal > > and I can find them in the default directory ~/.local/share/uhd/cal > > Now I am trying to load these .cal files using the UHD Python API. I can > check if these files exist and read their contents. > > But I am wondering, can I assume that the UHD loads the .cal files when a > USRP stream is opened by default from this default folder? I can not seem > to find any function or output from API functions that can give me a > definite answer on that or even gives the possibility to check this. > > If this is not the case. How is this handled by default? This seems a big > mystery in the documentation. > > Thanks, > > Dennis > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com >
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com