Luc Was wondering what the gain was when the program starts. Look like it is set for auto.
Rich On Monday, March 25, 2019 at 4:26:49 PM UTC-4, [email protected] wrote: > > On Monday, 25 March 2019 00:24:25 UTC-3, rich T wrote: >> >> Is there a way to display the gain of the SDR when it first loads? >> > > Rich, > > The program sets the gain to auto, see command: > if err := dev.SetTunerGainMode(false); err != nil { > log.Fatal(err) > } > When we read back the gain with: > gain := dev.GetTunerGain() > log.Printf("RTL-SDR gain*10=%d Db\n", gain) > The log show: > rtldavis: info: b'17:18:41.669290 RTL-SDR gain*10=0 Db' > > Not much of a help though! > > Luc >
