discuss-gnuradio
[Top][All Lists]
Advanced

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

Help GRC with USRP N300


From: Jean Marie Brieussel
Subject: Help GRC with USRP N300
Date: Wed, 12 Feb 2020 14:41:59 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2

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

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

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

Attachment: Test_GRC1.png
Description: PNG image


reply via email to

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