[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] gr-air-modes: problem with uhd and USRP1
From: |
Alexander List |
Subject: |
[Discuss-gnuradio] gr-air-modes: problem with uhd and USRP1 |
Date: |
Sun, 28 Nov 2010 22:54:48 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 |
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] gr-air-modes: problem with uhd and USRP1,
Alexander List <=