Add new comment

Hi Al:

The new code works fine for 1 sweep. When I set the sweeps to say 5 I get
the following output (only sweep 1 is 100%, sweeps 2 and 3 give errors and then
it hangs. Sometimes I get sweeps 1 and 2 done 100% but sweeps 3 and 4 give
errors):

python rtlsdr_scan.py -s 433 -e 434 -g 41 -w 5 -c ../conf/gps.conf scan.rfs
RTLSDR Scanner

Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
433 - 434MHz
5 Sweeps
40.2dB Gain
0.131s Dwell
1024 FFT points
0MHz LO
Generic RTL2832U OEM

Waiting for GPS: 4800-8N1

Sweep 1:
Starting
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 2000000.052982 Hz
100.0%

Sweep 2:
usb_claim_interface error -6

Sweep 3:
Starting
Error: Error code -6 when opening SDR (device index = 0)
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 2000000.052982 Hz
^C

Art