Thanks.  I will work down that path and report back when I have something working.

On Dec 7, 2016 5:07 PM, "Dimitri Stolnikov" <horiz0n@gmx.net> wrote:
Hi John,

you're on the right track - you give it one the values listed in <key>...</key>, True or False here. It might take integers 0 or 1 as well.

Best regards,
Dimitri

On Wed, 07 Dec 2016 02:12:50 +0100, john <john@tonebridge.com> wrote:

Hello,

I am not sure how to set auto gain on a RTL dongle.   I ran across this
which I think should be what I need:

http://cgit.osmocom.org/gr-osmosdr/tree/grc/gen_osmosdr_blocks.py

 From that page:

|<param> <name>Ch$(n): Gain Mode</name> <key>gain_mode$(n)</key>
<value>False</value> <type>bool</type> <hide>\#if \$nchan() > $n then
'none' else 'all'#</hide> <option> <name>Manual</name> <key>False</key>
</option> <option> <name>Automatic</name> <key>True</key> </option>
</param> |

However it is not clear what I need to pass to make auto gain happen.

Thanks,

John