I tried out a simple script to get the gain range of the USRP (I had
read in earlier mail archive
that we were provided a single gain knob to tune over the entire range
of 0 to 90 dB):
from gnuradio import gr, usrp
u = usrp.sink_c(0)
subdev = usrp.selected_subdev(u, (0,0)) #I use an RFX 2400
I get the following (0.0, 0.0, 1.0). This doesn’t make sense. I even
actually tried setting the gain
to subdev.gain_range()/subdev.gain_range(), but was still
transmitting at a constant power
level of around 11-12 dBm. Could someone please help me out with this.
Thanks in advance.