Controlling individual gains

Hi

Can anyone please tell me how to individually control the
amplification stages when using a Microtune tuner module with the usrp
(IF,RF and PGA)? self.subdev0.set_gain() sets the total gain as far
as I understand.

Thank you in advance.

Sebastiaan H.

On Wed, Jul 02, 2008 at 03:20:30PM +0200, Sebastiaan H. wrote:

Hi

Can anyone please tell me how to individually control the
amplification stages when using a Microtune tuner module with the usrp
(IF,RF and PGA)? self.subdev0.set_gain() sets the total gain as far
as I understand.

Thank you in advance.
Sebastiaan H.

Take a look at the code that currently handles it:

gr-usrp/src/db_tv_rx.py

and hack away

Eric

Eric

Thanks. I read through the code in db_tv_rx.py and I know how that
works now. You’re first setting the gain of the rf amp up to a level
of 60dB, then the if amp up to a level of 35 dB and then the pga up to
a level of 20dB. From what I understand I need to modify that .py
file and include my own set_gain() function, right? If I did that,
how do I modify gnuradio in order to use my new db_tv_rx.py next time?

Thank you.

Sebastiaan