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

Connection via USB #3

Open
Manawyrm opened this issue Aug 20, 2017 · 1 comment
Open

Connection via USB #3

Manawyrm opened this issue Aug 20, 2017 · 1 comment

Comments

@Manawyrm
Copy link
Owner

... doesn't work at the moment. I don't know why.

use "ip:192.168.2.1" for now.

@rgetz
Copy link

rgetz commented Dec 20, 2018

the uri for usb should can be found via an iio scan, there is some example code in iio oscilloscope if you need a pointer.

you should be able to find it manally by doing a:

$ iio_info -s
Library version: 0.15 (git tag: 7dbf0a0)
Compiled with backends: local xml ip usb serial
Available contexts:
	0: 0456:b673 (Analog Devices Inc. PlutoSDR (ADALM-PLUTO)), serial=100000235523730700190030090216fd23 [usb:1.4.5]

then the uri is usb:1.4.5

ie:

$ iio_attr -u usb:1.4.5 -C
IIO context with 11 attributes:
hw_model: Analog Devices PlutoSDR Rev.A (Z7010-AD9363)
hw_serial: 100000235523730700190030090216fd23
ad9361-phy,xo_correction: 40000000
local,kernel: 4.6.0-08871-g6297a9e
usb,idVendor: 0456
usb,idProduct: b673
usb,release: 2.0
usb,vendor: Analog Devices Inc.
usb,product: PlutoSDR (ADALM-PLUTO)
usb,serial: 100000235523730700190030090216fd23
usb,libusb: 1.0.22.11312

-Robin

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

2 participants