usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Load uhd_power_cal calibration file

TV
Tim Vancauwenbergh
Mon, Feb 3, 2025 9:28 AM

Hi,

I've performed the power calibration for RX on a usrp b200 mini. The file
is saved at /home/[username]/.local/share/uhd/cal/
When running print(usrp.has_rx_power_reference()) it returns False, despite
the calibration data being available.
The webpage https://files.ettus.com/manual/page_power.html lists nothing
about required directory.
My question: how can I load the calibration data, I would like to use this
to determine the received power. Later on I would also calibrate the TX to
get a known TX power level.

Thanks!

Best regards,

Tim Vancauwenbergh

Hi, I've performed the power calibration for RX on a usrp b200 mini. The file is saved at /home/[username]/.local/share/uhd/cal/ When running print(usrp.has_rx_power_reference()) it returns False, despite the calibration data being available. The webpage https://files.ettus.com/manual/page_power.html lists nothing about required directory. My question: how can I load the calibration data, I would like to use this to determine the received power. Later on I would also calibrate the TX to get a known TX power level. Thanks! Best regards, Tim Vancauwenbergh
MB
Martin Braun
Wed, Feb 5, 2025 1:08 PM

Tim,

it looks like you're doing everything correctly. What's the filename of the
cal file (you can blank out the serial)?

Are you building from source? If so, can you please recompile with

cmake -DUHD_LOG_MIN_LEVEL=trace

and set the environment variables

UHD_LOG_LEVEL=trace
UHD_LOG_CONSOLE_LEVEL=trace

? This will tell you where it's trying to look for the cal file.

--M

On Mon, Feb 3, 2025 at 10:29 AM Tim Vancauwenbergh <
tim.vancauwenbergh13@gmail.com> wrote:

Hi,

I've performed the power calibration for RX on a usrp b200 mini. The file
is saved at /home/[username]/.local/share/uhd/cal/
When running print(usrp.has_rx_power_reference()) it returns False,
despite the calibration data being available.
The webpage https://files.ettus.com/manual/page_power.html lists nothing
about required directory.
My question: how can I load the calibration data, I would like to use this
to determine the received power. Later on I would also calibrate the TX to
get a known TX power level.

Thanks!

Best regards,

Tim Vancauwenbergh


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

Tim, it looks like you're doing everything correctly. What's the filename of the cal file (you can blank out the serial)? Are you building from source? If so, can you please recompile with cmake -DUHD_LOG_MIN_LEVEL=trace and set the environment variables UHD_LOG_LEVEL=trace UHD_LOG_CONSOLE_LEVEL=trace ? This will tell you where it's trying to look for the cal file. --M On Mon, Feb 3, 2025 at 10:29 AM Tim Vancauwenbergh < tim.vancauwenbergh13@gmail.com> wrote: > Hi, > > I've performed the power calibration for RX on a usrp b200 mini. The file > is saved at /home/[username]/.local/share/uhd/cal/ > When running print(usrp.has_rx_power_reference()) it returns False, > despite the calibration data being available. > The webpage https://files.ettus.com/manual/page_power.html lists nothing > about required directory. > My question: how can I load the calibration data, I would like to use this > to determine the received power. Later on I would also calibrate the TX to > get a known TX power level. > > Thanks! > > Best regards, > > Tim Vancauwenbergh > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >