discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] USRP1 full C++ API update merged into trunk


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] USRP1 full C++ API update merged into trunk
Date: Sat, 27 Dec 2008 22:01:09 -0500
User-agent: Thunderbird 2.0.0.18 (X11/20081119)

Johnathan Corgan wrote:
> On Sat, 2008-12-27 at 20:55 -0500, Marcus D. Leech wrote:
>
>   
>> I just re-built from the latest trunk SVN (complete re-build, including
>> complete SVN co), and the usrp objects still
>>   don't have a set_bw() method in Python.
>>     
>
> The set_bw() is a method on the daughterboard, not USRP.
>
> -Johnathan
>
>
>   
This code worked as of a couple of weeks ago:

self.subdev[0].set_bw(lbw)

It now provokes:

  File
"/usr/local/lib64/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line 60, in __init__
    self.panel = stdpanel (self, self, top_block_maker)
  File
"/usr/local/lib64/python2.5/site-packages/gnuradio/wxgui/stdgui2.py",
line 81, in __init__
    self.top_block = top_block_maker (frame, self, vbox, sys.argv)
  File "/usr/local/bin/usrp_ra_receiver.py", line 439, in __init__
    self.subdev[0].set_bw(lbw)
AttributeError: 'db_base_sptr' object has no attribute 'set_bw'




-- 
Marcus Leech
Principal Investigator, Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org





reply via email to

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