[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gain control extreme non-linearity--is my hardwar

From: Lee Patton
Subject: Re: [Discuss-gnuradio] gain control extreme non-linearity--is my hardware broken?
Date: Mon, 02 Jan 2006 19:17:50 -0500

I have seen that problem too. It is the result of incorrect python
integer/float semantics during the setting of the gc2 variable in the
set_gain() method found in db_dbs_rx.py. I will post a complete patch
once I am finished investigating some other gain issues that I have

For now, the following change should work:

old: gc2 = int(round(31 * (1-gain/24)))
new: gc2 = int(round(31 * (1-gain/24.)))
- Lee

On Sun, 2006-01-01 at 23:35 -0500, Marcus Leech wrote:
> I've noticed while playing with the gain control with the DBS_RX and 
> USRP that the range
>   of 50-79 makes no difference to the signal level, and then when I 
> switch from 79 to 80, there's
>   a sudden 10dB jump in signal level.  Also down between 40 and 50, the 
> gain control only seems
>   to produce a 5dB difference in signal level.
> This is with the latest tarballs, including usrp-0.10.
> Should I worry?
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]