TX Gain parameter in uhd_siggen_gui

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
Sent from the GnuRadio mailing list archive at Nabble.com.

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:

For example, if I set TX_Gain to 22.6, it will be set to 22.5 as shown in

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
[email protected]
Discuss-gnuradio Info Page [2]

Links:

In other words, it’s the slider that’s buggy, not the gain setting.

M

Thanks for the info. Can anybody please confirm whether the step size
limit
of 0.5 dB is valid for USRP N200?


View this message in context:
http://gnuradio.4.n7.nabble.com/TX-Gain-parameter-in-uhd-siggen-gui-tp50321p50334.html
Sent from the GnuRadio mailing list archive at Nabble.com.

On 09/08/2014 11:13 PM, zealdeal wrote:

Thanks for the info. Can anybody please confirm whether the step size limit
of 0.5 dB is valid for USRP N200?

It’s not the underlying motherboard, it’s the daughter-cards. I think
all of WBX, SBX and CBX use a step attenuator with 0.5dB step size.

Others, I’m not sure about.

Generally, the “analog stuff” is on the daughtercards, and gain-setting
is definitely “analog stuff”.

If you need fine-grained control over output power, you can vary the
magnitude of your baseband signals, where you have much-finer
control available. Although, I have to admit that, except for
certain laboratory experiments, power-control beyond 0.5dB granularity
is of very little use in any practical sense.

On Mon, Sep 8, 2014 at 11:13 PM, zealdeal [email protected] wrote:

Thanks for the info. Can anybody please confirm whether the step size limit
of 0.5 dB is valid for USRP N200?

Use their tool uhd_usrp_probe to find the specifics of your USRP and
daughterboards.

Tom