Re: [USRP-users] Get and set CBX-120 ads62p48 gain

2021-02-17 Thread Askar, Ramez via USRP-users
Dear Mr. Müller, Thanks for the script and of course fast response! We are running in loopback mode (tx to rx), and we have tried to change the tx and rx gain (attenuation) pairs while keeping a constant link budget in the loop. We had inconsistent results in terms of ADC dynamic (bits) utili

Re: [USRP-users] Get and set CBX-120 ads62p48 gain

2021-02-15 Thread Marcus Müller via USRP-users
Dear Mr. Askar, you can get the detailed names of the available gain elements of every device by calling auto gain_names = my_multi_usrp->get_rx_gain_names(); and then do something fun like: for(const auto& gain_name : gain_names) {     auto gain = my_multi_usrp->get_rx_gain(gain_name);     st

[USRP-users] Get and set CBX-120 ads62p48 gain

2021-02-15 Thread Askar, Ramez via USRP-users
Dear Sir or Madam, We are using the X310 with CBX-120 daughter cards. How can we get and set the digital RX gain (ads62p48 gain) from C++ application? Best regards / Mit freundlichen Grüßen -- Askar, Ramez, M.Sc. Research Associate / Project Manager / Delegate Wireless Communications and Netwo