02-04-2014 05:08 PM
Hello,
I have installed GNUradio with USRP-2920 but when i run my program it shows following error :
<<< Welcome to GNU Radio Companion 3.7.2.1 >>>
Loading: "/home/icore/fm_exampl.grc"
>>> Done
Showing: "/home/icore/fm_exampl.grc"
Generating: "/home/icore/fm_exampl.py"
Executing: "/home/icore/fm_exampl.py"
linux; GNU C++ version 4.8.1; Boost_105300; UHD_003.006.002-rc2
Using Volk machine: sse3_32
Traceback (most recent call last):
File "/home/icore/fm_exampl.py", line 155, in <module>
tb = fm_exampl()
File "/home/icore/fm_exampl.py", line 90, in __init__
channels=range(1),
File "/usr/lib/python2.7/dist-packages/gnuradio/uhd/__init__.py", line 122, in constructor_interceptor
return old_constructor(*args)
File "/usr/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py", line 1752, in make
return _uhd_swig.usrp_source_make(*args)
RuntimeError: LookupError: KeyError: No devices found for ----->
Empty Device Address
I do not know how to fix this problem. I have installed gnuRadio and UHD from the following website:
http://code.ettus.com/redmine/ettus/projects/uhd/wiki/GNURadio_Linux
I follwed the above website link to install my gnuRadio and UHD.
I am using ubuntu 13.04 version. I also attached the screenshot of gnurRadio-companion
Please help me to fix this problem.
Thank you
02-05-2014 09:11 AM
Hello,
Have you downloaded the UDH driver? It includes the firmware and the FPGA images that you will need and may be the reason why you are not connecting with your USRP. Here is another forum post that talks about this in more detail:
http://forums.ni.com/t5/USRP-Software-Radio/Can-NI-USRP-be-worked-on-GNU-Radio/td-p/1902375
Thanks!
02-06-2014 09:51 AM
Hey akashgaurav89,
For GNURadio and UHD related questions, I would recommend that you check out the GNURadio mailing list and the USRP mailing lists. Both have a very active community and will be able to better address your questions. This forum specializes in supporting the use of USRPs with LabVIEW and the NI-USRP driver. You can find information about the different mailing lists here:
http://gnuradio.org/redmine/projects/gnuradio/wiki/MailingLists
07-05-2014 05:20 PM
I had the same issue.
Simple change the following in any of the sample codes:
When running sample code like:
/usr/bin$ sudo ./uhd_fft
edit the code by changing line 89
self.u = uhd.usrp_source(device_addr=options.args,...
to self.u = uhd.usrp_source(device_addr="addr=192.168.10.2",
or what ever IP address you specified for your device