Uhd_find_devices works, find_usrps does not

I am attempting to run"usrp2_fft.py"

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
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.

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.

File “/usr/local/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py”,
frame = stdframe (self.top_block_maker, self.title, self._nstatus)
return _usrp2_swig.source_32fc(ifc, mac)
serial: 2587
Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page


Principal Investigator
Shirleys Bay Radio Astronomy Consortium