Usrp2 gain question

Hello,

I am now using USRP2. I met a problem of setting a gain. When I call the
function u.set_gain(option.gain), it seems it does not work. The gain
range
shows up to be [0.0 0.0 0.0]. The code works with USRP1. My gnuradio
version is 11422. I can set gain using command usrp2_fft.py -g 80 but
not
with my own code. Thank you for your help.

 Sincerely

Zhenhua Gong

On Mon, Jul 20, 2009 at 12:54:20PM -0400, Zhenhua Gong wrote:

Zhenhua Gong
The gain ranges are different on the USRP1 and USRP2.

Call gain_range on the USRP2 with your daughterboard installed.

Eric