|
From: | Michael Dickens |
Subject: | Re: Help GRC with USRP N300 |
Date: | Wed, 12 Feb 2020 08:50:08 -0500 |
Hi,
I installed UHD V3.15.0.0 and GNURadio V3.7.13.4 the loaded FPGA image is the XG. I checked the correct functioning of UHD and GNURadio as well as the USRP N300 with UHD, the tests are correct. I checked that the N300 is seen by the host PC, see the result below:
jmf6etu@JM-F6ETU:~$ uhd_find_devices
I did the small classic test program under GRC, see the attached screenshot, (I hope that the attached files are visible on this discussion list).
[INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; UHD_3.15.0.HEAD-0-gaea0e2de
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
serial: 31C037E
addr: 192.168.20.2
claimed: False
mgmt_addr: 192.168.10.2
mgmt_addr: 192.168.20.2
product: n300
type: n3xx
In copy if below the Terminal information lines:jmf6etu@JM-F6ETU:~$ gnuradio-companion
Gtk-Message: 14:15:09.794: Failed to load module "canberra-gtk-module"
<<< Welcome to GNU Radio Companion 3.7.13.4 >>>
Block paths:
/usr/local/share/gnuradio/grc/blocks
Loading: "/home/jmf6etu/Bureau/Appli_GNU/FM_exemplegrc.grc"
>>> Done
Loading: "/home/jmf6etu/Bureau/Appli_GNU/gene.grc"
>>> Done
Generating: '/home/jmf6etu/Bureau/Appli_GNU/fm_exemple.py'
Executing: /usr/bin/python2 -u /home/jmf6etu/Bureau/Appli_GNU/fm_exemple.py
Traceback (most recent call last):
File "/home/jmf6etu/Bureau/Appli_GNU/fm_exemple.py", line 25, in <module>
from gnuradio import uhd
File "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/__init__.py", line 135, in <module>
_prepare_uhd_swig()
File "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/__init__.py", line 38, in _prepare_uhd_swig
import uhd_swig
File "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py", line 17, in <module>
_uhd_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py", line 16, in swig_import_helper
return importlib.import_module('_uhd_swig')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named _uhd_swig
>>> Done (return code 1)
Advice to solve my problems is welcome.
Best Regards,Jean Marie
[Prev in Thread] | Current Thread | [Next in Thread] |