discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Error when using 'UHD: USRP Source' in GRC


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Error when using 'UHD: USRP Source' in GRC
Date: Thu, 14 Apr 2011 15:13:09 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8

> "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/__init__.py",
> line 73, in constructor_interceptor if kwargs.has_key(key):
> kwargs[key] = cast(kwargs[key]) File
> "/usr/local/lib/python2.6/dist-packages/gnuradio/uhd/uhd_swig.py",
> line 409, in __init__ this = _uhd_swig.new_io_type_t(*args) 
> NotImplementedError: Wrong number or type of arguments for overloaded
> function 'new_io_type_t'. Possible C/C++ prototypes are: 
> uhd::io_type_t(uhd::io_type_t::tid_t) uhd::io_type_t(size_t)
> 
> 

Thats a strange error. Can you attach your top_block.py?

Can you run the following commands and post the verbose:

> python -c "from gnuradio import uhd; x = 
> uhd.io_type(uhd.io_type.COMPLEX_FLOAT32); print x"
> python -c "from gnuradio import uhd; x = 
> uhd.usrp_source(device_addr='addr=192.168.10.2', 
> io_type=uhd.io_type.COMPLEX_FLOAT32, num_channels=1); print x"
> python -c "from gnuradio import uhd; x = uhd.usrp_source('addr=192.168.10.2', 
> uhd.io_type.COMPLEX_FLOAT32, 1); print x"

-Josh



reply via email to

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