The total gain setting range, and gain step size are set by the
hardware. In most cases, the 

 step size is 0.5dB. 

On 2014-09-08 10:50, zealdeal wrote: 

> Hello everyone,
> 
> Im trying to set the TX Gain of USRP device using the following command
> while transmitting using uhd_siggen_gui tool:
> 
> ./uhd_siggen_gui --sine -g <TX_Gain> -f 1013M --amplitude=1.0 -A TX/RX -v
> 
> If I set the TX_Gain to non integer or non 0.5 fractional values, it is
> getting set to nearest integer or 0.5 fractional values.
> 
> For example, if I set TX_Gain to 22.6, it will be set to 22.5 as shown in
> gui
> Similary, setting TX_Gain to 22.1 will set it to 22, 19.9 will set it to
> 19.5 etc
> 
> But I can set the TX_Gain properly using the gui slider.
> 
> Any idea on how to set it properly using command line?
> 
> Thanks
> 
> --
> View this message in context: 
> http://gnuradio.4.n7.nabble.com/TX-Gain-parameter-in-uhd-siggen-gui-tp50321.html
>  [1]
> Sent from the GnuRadio mailing list archive at Nabble.com.
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio [2]
 

Links:
------
[1]
http://gnuradio.4.n7.nabble.com/TX-Gain-parameter-in-uhd-siggen-gui-tp50321.html
[2] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to