I'm on the track now Thanks Alexandur, Patrik
----- Original Message ----- From: Patrik Tast To: Discuss-gnuradio@gnu.org Sent: Friday, June 24, 2011 19:38 Subject: Re: [Discuss-gnuradio] TVRX Microtune 4702 (4937) Gain question Just to clarify, I am not talking about setting the gain in software, spectrum plot gain for example. I'm talking about the hardware gain setting controlled via I2C Patrik ----- Original Message ----- From: Alexandru Csete To: Patrik Tast Cc: Discuss-gnuradio@gnu.org Sent: Friday, June 24, 2011 19:14 Subject: Re: [Discuss-gnuradio] TVRX Microtune 4702 (4937) Gain question On Fri, Jun 24, 2011 at 5:45 PM, Patrik Tast <pat...@poes-weather.com> wrote: Hi All, I can not see in source code where GR is setting the TVRXx gain. I'm referring to gnuradio-core/src/lib/io/microtune.cc I'm don't think that code is related to TVRX. For old non-uhd driver you need to look in the usrp/host/lib/ directory. If so (not set), what does it default to, max? See page 12 and forward. The tuner document can be found at http://www.poes-weather.com/~patrik/usrp/4937-DI5-3x8899-2.pdf In db_tv_rx.cc constructor, line 101, the gain is initialized to middle. The gain ranges are also available via the API and you can see many of the examples also initialize the gain to middle value. Alex
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio