Hello, I tried to run usrp2_fft.py to test my USRP2 board and I got the following error. ¨AttributeError: 'usrp2_source_32fc_sptr' object has no attribute 'adc_rate'¨
./find-usrps script is running fine with following result. 00:50:c2:85:30:0a hw_rev = 0x0300 My configuration is -Ubuntu 8.04, with the latest svn (7 days old) - I am using Netgear Gigabit switch to connect to fast Ethernet port on my laptop. I could not directly connect my Gigabit PCMCIA card to USRP2. Do you think this error is due to any configuration setting? Thank you, -C ----------------------------------------------------------------- ./usrp2_fft.py -f 400M Traceback (most recent call last): File "./usrp2_fft.py", line 267, in <module> main () File "./usrp2_fft.py", line 263, in main app = stdgui2.stdapp(app_top_block, "USRP2 FFT", nstatus=1) File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line 36, in __init__ wx.App.__init__ (self, redirect=False) File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7836, in __init__ self._BootstrapApp() File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7433, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line 39, in OnInit frame = stdframe (self.top_block_maker, self.title, self._nstatus) File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line 60, in __init__ self.panel = stdpanel (self, self, top_block_maker) File "/usr/local/lib/python2.5/site-packages/gnuradio/wxgui/stdgui2.py", line 81, in __init__ self.top_block = top_block_maker (frame, self, vbox, sys.argv) File "./usrp2_fft.py", line 71, in __init__ input_rate = self.u.adc_rate() / self.u.decim() AttributeError: 'usrp2_source_32fc_sptr' object has no attribute 'adc_rate' --------------------------------------------------------------
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio