discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] uhd_find_devices works, find_usrps does not


From: Korey
Subject: [Discuss-gnuradio] uhd_find_devices works, find_usrps does not
Date: Wed, 2 Feb 2011 16:29:36 -0600

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



reply via email to

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