Re: [Discuss-gnuradio] Values of gain differ with Python and C++

2006-11-05 Thread Eric Blossom
On Mon, Nov 06, 2006 at 04:53:09AM +0100, De Lima Julian wrote: > > Hello, > > > > I have seen in the file usrp_basic.h that the minimum value of the > gain > > is -20 and the maximum is 0. And in the user guide of the USRP, it is > > written that the PGA has a maximum gain of 20 dB. > > > Yes, t

RE: [Discuss-gnuradio] Values of gain differ with Python and C++

2006-11-05 Thread De Lima Julian
> Hello, > > I have seen in the file usrp_basic.h that the minimum value of the gain > is -20 and the maximum is 0. And in the user guide of the USRP, it is > written that the PGA has a maximum gain of 20 dB. > Yes, this is true, for the PGA in the AD9862. But the AD9862 is only used for the tra

Re: [Discuss-gnuradio] Values of gain differ with Python and C++

2006-11-04 Thread Eric Blossom
On Sun, Nov 05, 2006 at 01:42:30AM +0100, De Lima Julian wrote: > Hello, > > I have seen in the file usrp_basic.h that the minimum value of the gain > is -20 and the maximum is 0. And in the user guide of the USRP, it is > written that the PGA has a maximum gain of 20 dB. Yes, this is true, for t

[Discuss-gnuradio] Values of gain differ with Python and C++

2006-11-04 Thread De Lima Julian
Hello,   I have seen in the file usrp_basic.h that the minimum value of the gain is -20 and the maximum is 0. And in the user guide of the USRP, it is written that the PGA has a maximum gain of 20 dB.   But with Python when you call subdev.gain_range(), the minimum value is 0 and the ma