Post Go back to editing

FMCOMMS5/ZCU706 on remote GNURadio

Hi,

After playing around using Kuiper linux on the board I want to setup a remote connection. I want to run gnuradio-companion on my windows PC through WSL2 and connect it to the ZCU706 via ethernet. The ethernet setup for local connections is working and already installed gnuradio-companion using $ sudo apt install gnuradio. After that  I add to the python path $ export PYTHONPATH=/usr/local/lib/python3.10/dist-packages:$PYTHONPATH  ran gnuradio-companion as follows $ sudo gnuradio-companion. There I just added an FMCOMMS5 sink an one source an connected them. After trying to run the following error appeared: AttributeError: module 'gnuradio.iio' has no attribute 'fmcomms5_source_f32c'. Did you mean: 'fmcomms2_source_fc32'? Did I do something wrong during the installation process? I am aware of https://wiki.analog.com/resources/tools-software/linux-software/gnuradio, but since installing gnuradio using the apt already has the FMCOMSS blocks and in the tutorial only gnuradio 3.7 and 3.8 are mentioned, I don't know what I have to do. 

Thanks in advance, best regards,

Diogo Baptista

Parents
  • Hi Diogo,

    The IIO blocks (including the ones for the FMCOMMS5) are already provided by GnuRadio 3.10, so there shouldn't be anything to install aside (as I understand you manually installed gr-iio in /usr/local/lib/python3.10/dist-packages). You only have to install the "libgnuradio-iio3.xxx" package and you should be good to go.

    Cheers,

    -Paul

  • Hi,

    Thanks for the response. By checking the installed packages, the one you mentioned is already installed. Is there anything else I must do?

    I also add t the python3 Path the directories where the packages would be found:

    I am really confused on what to test next. I already tried installing from GNU Radio and IIO Devices: gr-iio [Analog Devices Wiki] but it does not work. Just to clarify again. I am trying to setup a remote connection to a ZCU706 with and FMCOMMS5 running Kuiper linux, from a WSL2 Ubuntu running on a windows PC. I want to design on gnuradio on WSL2 and then run directly on the WSL2 but getting the data from FMCOMMS5. 

  • I think you installed gr-iio and it conflicts with the libgnuradio-iio package that you installed with the package manager.

    What I would try, is uninstall gnuradio and libgnuradio-iio, remove anything related to gr-iio in /usr/local, and install gnuradio again.

    -Paul

  • I will try that. Thanks for the reply! 

  • To ensure that everything was removed, I performed a new installation of the WSL2 Ubuntu. Then I used $ sudo apt install gnuradio to install gnuradio as it is said in the gnuradio page. Then tried to use the gnuradio with the FMCOMMS5 source block and the same error appears. When using the FMCOMMS2 source block it only says that the device was not found (as expected since I have only the ZCU706+FMCOMMS5). The following image shows the output of both scenarios:

    I also checked if libgnuradio-iio was installed and it was.

Reply
  • To ensure that everything was removed, I performed a new installation of the WSL2 Ubuntu. Then I used $ sudo apt install gnuradio to install gnuradio as it is said in the gnuradio page. Then tried to use the gnuradio with the FMCOMMS5 source block and the same error appears. When using the FMCOMMS2 source block it only says that the device was not found (as expected since I have only the ZCU706+FMCOMMS5). The following image shows the output of both scenarios:

    I also checked if libgnuradio-iio was installed and it was.

Children