Skip to content
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 #4

Open
shaynem opened this issue Sep 30, 2021 · 1 comment
Open

Unable to create IIO context #4

shaynem opened this issue Sep 30, 2021 · 1 comment

Comments

@shaynem
Copy link

shaynem commented Sep 30, 2021

Thanks for your work on this, having trouble trying to run from the connected device and also natively.

On Device

./retrogram-plutosdr.arm --rate 5e6 --bw 5e6 --freq 100e6 --step 1e6 --uri ip=192.168.6.1

retrogram~plutosdr - ASCII Art Spectrum Analysis for PlutoSDR

Creating the pluto device with options: ip=192.168.6.1...

Unable to create IIO context

Same error either running arm, or running via the connected VM

from VM

iio_info -s

Library version: 0.23 (git tag: 00d9621)
Compiled with backends: local xml ip usb
Unable to create Local IIO context : No such file or directory (2)
Available contexts:
0: 0456:b673 (Analog Devices Inc. PlutoSDR (ADALM-PLUTO)), serial= [usb:1.3.5]
1: 192.168.6.1 (Analog Devices PlutoSDR Rev.C (Z7010-AD9364)), serial= [ip:pluto.local]

@shaynem
Copy link
Author

shaynem commented Sep 30, 2021

Just in case anyone else comes across this, the issue was with the --uri command.

--uri ip:pluto.local

incorrectly I was using

--uri ip=pluto.local

I would suggest changing the output of the connection Creating the pluto device with options: ip=123..

with some validation around the options input

i.e we know that ip= is incorrect ? and usb:* ip:* etc are correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant