Problem in find_usrps and usrp2_fft.py on USRP N210

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

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


to run find_usrps, i got “No USRP2 found”. Secondly when i try to run
line 36, in init
return core.PyApp__BootstrapApp(*args, **kwargs)
self.top_block = top_block_maker (frame, self, vbox, sys.argv)

Thanking all of you in anticipation.


Discuss-gnuradio mailing list
[email protected]
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.