On 06/21/2018 11:22 AM, Steven Zhan via USRP-users wrote:
Hi,
We are using the B210 and the UHD library. We noticed that the
function get_rx_gain() does not return the gain when the agc is enabled.
To remedy this, one path forward is that we can write functions to do
this if we can read/write access to the AD9361 registers. How does one
gain access to the AD9361 registers? We are using the multi_usrp object.
Thanks!
Since UHD is an abstraction-layer, designed to provide a uniform API to
applications, regardless of the underlying hardware, register access isn't
exposed at that layer.
You'll have to dive into the UHD code, and the AD9361 drivers, and
probably use the "properties" tree to expose this to your application.
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com