discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problem in find_usrps and usrp2_fft.py on USRP N2


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Problem in find_usrps and usrp2_fft.py on USRP N210
Date: Tue, 08 Feb 2011 11:08:22 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10

On 02/08/2011 10:52 AM, ishtiaq ahmad wrote:
Hi All

I hope that u all r fine and doing good.  I have a problem in accessing
USRP N210. I installed UHD driver and all the images necessary. when i
run uhd_find_devices.py, it returns me


linux; GNU C++ version 4.4.3; Boost_104000;
UHD_002.20110127203211.8a62a20

--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:

    type: usrp2
    addr: 192.168.10.2
    name:
    serial: E2R10ZFUP

which means that the UHD driver is installed correctly. But when i try
to run find_usrps, i got "No USRP2 found". Secondly when i try to run

usrp2_fft.py i get the following message:

Traceback (most recent call last):
  File "/usr/local/bin/usrp2_fft.py", line 273, in <module>
    main ()
  File "/usr/local/bin/usrp2_fft.py", line 269, in main

    app = stdgui2.stdapp(app_top_block, "USRP2 FFT", nstatus=1)
  File "/usr/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/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/lib/python2.6/dist-packages/gnuradio/wxgui/stdgui2.py",
line 60, in __init__
    self.panel = stdpanel (self, self, top_block_maker)
  File "/usr/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 "/usr/local/bin/usrp2_fft.py", line 70, in __init__
    self.u = usrp2.source_32fc(options.interface, options.mac_addr)

  File "/usr/lib/python2.6/dist-packages/gnuradio/usrp2.py", line 679,
in source_32fc
    return _usrp2.source_32fc(ifc, mac)
RuntimeError: No USRPs found on interface eth0

Please help me in this regard.


Thanking all of you in anticipation.

_______________________________________________ Discuss-gnuradio mailing list address@hidden http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
both "find_usrps" and "usrp2_fft.py" use the "classic" API for the USRP2 hardware, and so don't
  work with UHD devices.

You can synthesize the functionality of usrp2_fft.py using GRC in about 5 minutes, and I posted a link
  to a GRC+UHD implementation in the last couple of weeks on the mailing list.



-- 
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org

reply via email to

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