discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gr-air-modes: problem with uhd and USRP1


From: Josh Blum
Subject: Re: [Discuss-gnuradio] gr-air-modes: problem with uhd and USRP1
Date: Sun, 28 Nov 2010 17:25:56 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

Those were deprecated interfaces for several months. They were just
removed: http://osdir.com/ml/discuss-gnuradio-gnu/2010-11/msg00490.html

The method calls should be nearly identical. Just change the
constructor. -Josh

On 11/28/2010 04:54 PM, Alexander List wrote:
> Hi,
> 
> maybe the API has changed since gr-air-modes was written, or I'm doing
> something stupid, but I tried:
> 
> $ ./uhd_modes.py -g 60
> linux; GNU C++ version 4.4.5; Boost_104200; UHD_0001.20101124180824.2568efd
> 
> Traceback (most recent call last):
>   File "./uhd_modes.py", line 167, in <module>
>     fg = adsb_rx_block(options, args, queue)
>   File "./uhd_modes.py", line 57, in __init__
>     self.u = uhd.simple_source("", uhd.io_type_t.COMPLEX_FLOAT32)
> AttributeError: 'module' object has no attribute 'simple_source'
> 
> I've used the latest "next" branch of gnuradio, installed and
> successfully tested UHD. My prefix for all three packages is /opt/gnuradio.
> 
> According to
> /opt/gnuradio/lib/python2.6/site-packages/gnuradio/uhd/uhd_swig.py,
> there is indeed no simple_source, there are single_usrp_source and
> multi_usrp_source, but they have a different interface...
> 
> Any hints?
> 
> Alex
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

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