USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

usrp and gnu radio (runtime error....device not found)

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

0 Kudos
Message 1 of 4
(19,877 Views)

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!

Stephanie S.
Application Engineer
National Instruments
0 Kudos
Message 2 of 4
(19,850 Views)

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

Sarah Yost
Senior Product Marketing Manager
0 Kudos
Message 3 of 4
(19,837 Views)

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

0 Kudos
Message 4 of 4
(19,025 Views)