[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] gr-air-modes: problem with uhd and USRP1
From: |
Nick Foster |
Subject: |
Re: [Discuss-gnuradio] gr-air-modes: problem with uhd and USRP1 |
Date: |
Sun, 28 Nov 2010 17:10:50 -0800 |
On Sun, 2010-11-28 at 17:25 -0500, Josh Blum wrote:
> 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
>
Mea culpa, I thought the deprecated interfaces would stay in there a
while longer. The fix has been pushed to the Github repo. It was already
in the pmt branch, but that's not ready for primetime yet.
git://github.com/bistromath/gr-air-modes.git
--n
> 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
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio