Wrong device arguments specified. Missing nchan?

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

My rtlsdr device is connected to rtl_tcp server at port

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

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,


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 “”, line 1101, in
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,
File “”, 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/”,
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,

On 12/06/2012 07:30 AM, Ben Z en de rest wrote:

def init(self, ahw=“default”, freq=150.0e6, ppm=0.0, vol=1.0,

deemph=options.deemph, dmode=options.dmode)

Thanks for your help,

Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page
You know that you can pass those parameters ON THE COMMAND LINE, when
you start up multimode – no need to modify code. --devinfo “whatever” for example