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
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio