-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create IIO context ip: #549
Comments
Can you provide more detail on the setup? -Travis |
This should have been fixed with this commit: What is the library version on the host and remote? |
Here is the configuration: On Windows 10, libiio Library version: 0.20 (git tag: 26c5be5) analog@analog:~/work/libiio/build$ /usr/bin/iio_info -u ip:127.0.0.1 Thanks, |
that doesn't make sense. If you go to the Zynq, and run iio_info there, what version is there? The default version of libiio on 2019_R1 will not read the /etc/libiio.ini file, which is where the hdl_system_id is. |
The bio_info seem to work fine on "local:" . But when tried to from remote terminal, or even on the Zynq with ip:127.0.0.1, it throws an error. Here is the iio_info output when run on Zynq:
|
yes - that is what described in the issue #519 - which PR #526 fixed (for me). what I get is:
and from a remote:
Can you confirm in context.c there is a call to and that the version of libxml2 on your system is 2.91 or higher? On my Zynq image:
on my host:
|
also to confirm - when you updated the zynq board - you rebooted things? |
Thanks Robin, Rebooting fixed the issue. |
OK - for future reference - just installing will not stop/restart the existing/running iiod, which will have the old libiio mmapped into memory. you need to restart iiod.
|
Hi,
I am trying to work with PyAdi, but seems like it's not able to get the context through the IP.
I have tried this on both Mac and Windows. I am wondering if you can help me understand what's going wrong. Here is the error I am getting:
Thanks,
Pooria
The text was updated successfully, but these errors were encountered: