[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] multimode.py Wrong device arguments specified. Missin

From: Ben Z en de rest
Subject: [Discuss-gnuradio] multimode.py Wrong device arguments specified. Missing nchan?
Date: Thu, 6 Dec 2012 04:30:59 -0800

Trying to get multimode running on a virtual machine (VMware) with Ubuntu 12.04.

My rtlsdr device is connected to rtl_tcp server at port 1234.

Because of the message "FATAL: Wrong rtlsdr device index given." and the fact that there is no rtlsdr device connected to the VM so it has to connect to the rtl_tcp server I did change the multimode.py

def __init__(self, ahw="default", freq=150.0e6, ppm=0.0, vol=1.0, ftune=0.0, xftune=0.0, srate=1.0e6, upclo=0.0, devinfo="rtl_tcp ", agc=0, arate=48.0e3, upce=0, mthresh=-10.0, offs=50.e3, flist="", dfifo="multimode_fifo", mbw=2.0e3, deemph=75.0e-6, dmode="NFM1"):


type="string", default="rtl_tcp",
        help="Set Device Information [default=%default]")

The wrong device index message disappeared but there is one error left

Traceback (most recent call last):
  File "ben.py", line 1101, in <module>
    tb = multimode(ahw=options.ahw, freq=options.freq, ppm=options.ppm, vol=options.vol, ftune=options.ftune, xftune=options.xftune, srate=options.srate, upclo=options.upclo, devinfo=options.devinfo, agc=options.agc, arate=options.arate, upce=options.upce, mthresh=options.mthresh, offs=options.offs, flist=options.flist, dfifo=options.dfifo, mbw=options.mbw, deemph=options.deemph, dmode=options.dmode)
  File "ben.py", line 488, in __init__
    self.osmosdr_source_c_0 = osmosdr.source_c( args="nchan=" + str(1) + " " + devinfo )
  File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 1309, in source_c
    return _osmosdr_swig.source_c(args)
RuntimeError: Wrong device arguments specified. Missing nchan?

Do I have to specify nchan myself, and if, where do I place the value ?

Thanks for your help,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]