Post Go back to editing

zc702 + AD-FMCOMMS2-EBZ + 2021_r1 Release Image, issues with GNU Radio

Category: Software
Software Version: 2021_r1

Hello, 

I have a Xilinx zc702 development board and an AD-FMCOMMS2-EBZ development board and I am having issues using the 2021_r1 release image from here:  

https://wiki.analog.com/resources/tools-software/linux-software/adi-kuiper_images/release_notes

I followed the steps here: 

https://wiki.analog.com/resources/tools-software/linux-software/embedded_arm_images

The board boots up fine. However, when I try to use GNU Radio Companion with the FMCOMMS2 blocks, I get the error:

AttributeError: module 'iio' has no attribute 'fmcomms2_source_f32c'   

What's going on here? 

Thanks, 

David

Parents
  • With GNU Radio 3.8 there is a name collision with the IIO python bindings. So by default the gnuradio blocks for gr-iio are not on your python path. So you need to add it. This can be done in a few ways:

    1. Launch GRC like: PYTHONPATH=/usr/local/lib/python3/dist-packages:$PYTHONPATH gnuradio-companion

    2. Update the variable in the shell: export PYTHONPATH=/usr/local/lib/python3/dist-packages:$PYTHONPATH

    3. Or add to your .bashrc file: export PYTHONPATH=/usr/local/lib/python3/dist-packages:$PYTHONPATH

    -Travis

Reply
  • With GNU Radio 3.8 there is a name collision with the IIO python bindings. So by default the gnuradio blocks for gr-iio are not on your python path. So you need to add it. This can be done in a few ways:

    1. Launch GRC like: PYTHONPATH=/usr/local/lib/python3/dist-packages:$PYTHONPATH gnuradio-companion

    2. Update the variable in the shell: export PYTHONPATH=/usr/local/lib/python3/dist-packages:$PYTHONPATH

    3. Or add to your .bashrc file: export PYTHONPATH=/usr/local/lib/python3/dist-packages:$PYTHONPATH

    -Travis

Children