AnsweredAssumed Answered

Unable to connect to fmcomms2 gnuradio

Question asked by vshn on Dec 3, 2016
Latest reply on Dec 12, 2016 by pcercuei

I am receiving the errors below when attempting to run the cyclic-sine example provided with gr-iio. This is on a zedboard with the fmcomms2. My environment is shown here

 

In the top_block.py i have the uri = 'localhost' and samp_rate = 2083000

 

Using iio_info lists the ad9361 and looks good.

 

The error in the top_block below shows that it is attempting to point to iio_swig.py located in the output build folder on my PC used to generate buildroot. Not sure what that is about.

 

# iiod
Starting IIO Daemon version 0.8
ERROR: Bind failed: Address already in use


# ./top_block.py
ERROR: Unable to find host: Name or service not known
ERROR: Unable to find host: Name or service not known
Traceback (most recent call last):
File "./top_block.py", line 112, in <module>
main()
File "./top_block.py", line 101, in main
tb = top_block_cls(uri=options.uri)
File "./top_block.py", line 39, in __init__
self.iio_fmcomms2_source_0 = iio.fmcomms2_source(uri, 2400000000, samp_rate, 1 - 1, 200000, True, True, False, False, 0x8000, True, True, True, "manual", 64.0, "manual", 64.0, "A_B)
File "/home/afx/zedboard/buildroot-2016.08.1/output/build/gr-iio-9b58414b4db711823eb7e5d6e11aa39bfcaf2bac/swig/iio_swig.py", line 201, in make
RuntimeError: Unable to create context

Outcomes