On 02/02/2011 05:29 PM, Korey wrote: > I am attempting to run "usrp2_fft.py" > Many of the example programs, including "usrp2_fft.py" haven't been converted to use the UHD api.
> I have a USRP2 with an RFX900 card and a fresh install of Ubuntu 10.04 > + the latest release of gnuradio/UHD (installed yesterday). > > When I run "sudo ./usrp2_fft.py" I receive the following: > > Traceback (most recent call last): > File "./usrp2_fft.py", line 273, in <module> > main () > File "./usrp2_fft.py", line 269, in main > app = stdgui2.stdapp(app_top_block, "USRP2 FFT", nstatus=1) > File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", > line 36, in __init__ > wx.App.__init__ (self, redirect=False) > File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", > line 7978, in __init__ > self._BootstrapApp() > File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", > line 7552, in _BootstrapApp > return _core_.PyApp__BootstrapApp(*args, **kwargs) > File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", > line 39, in OnInit > frame = stdframe (self.top_block_maker, self.title, self._nstatus) > File "/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py", > line 60, in __init__ > self.panel = stdpanel (self, self, top_block_maker) > File "/usr/local/lib/python2.6/dist-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 70, in __init__ > self.u = usrp2.source_32fc(options.interface, options.mac_addr) > File "/usr/local/lib/python2.6/dist-packages/gnuradio/usrp2/usrp2_swig.py", > line 725, in source_32fc > return _usrp2_swig.source_32fc(ifc, mac) > RuntimeError: No USRPs found on interface eth0 > > When I run "uhd_find_devices" I get: > -------------------------------------------------- > -- UHD Device 0 > -------------------------------------------------- > Device Address: > type: usrp2 > addr: 192.168.10.2 > name: > serial: 2587 > > HOWEVER, when I run "sudo find_usrps" I get: > No USRP2 found. > > Is something wrong here or do I need to remove the UHD in order for > the scripts in gnuradio/usrp2/host/apps to work? None of them seem to > be able to detect my USRP2 even though I can ping it all day long and > uhd_find_devices and uhd_usrp_probe have no trouble. > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > -- Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio