iio_readdev(1) | LibIIO Utilities | iio_readdev(1) |
iio_readdev - read buffers from an IIO device
iio_readdev [ options ] [-n <hostname>] [-t <trigger>] [-T <timeout-ms>] [-b <buffer-size>] [-s <samples>] <iio_device> [<channel> ...]
iio_reg is a utility for reading buffers from connected IIO devices, and sending resutls to standard out.
If the specified device is not found, a non-zero exit code is returned.
You use iio_readdev in the same way you use many of the other libiio utilities. You must specify a IIO device, and the specific channel to read. Since this is a read, channels must be input. It is easy to use iio_attr to find out what the channels are called.
This identifies the device, and channel that can be used.
This captures 1024 samples of I and Q data from the USB attached AD9361, and stores it (as raw binary) into the file samples.dat
And plots the data with gnuplot.
iio_attr(1), iio_info(1), iio_readdev(1), iio_reg(1), iio_writedev(1), libiio(3)
libiio home page: https://wiki.analog.com/resources/tools-software/linux-software/libiio
libiio code: https://github.com/analogdevicesinc/libiio
Doxygen for libiio https://analogdevicesinc.github.io/libiio/
All bugs are tracked at: https://github.com/analogdevicesinc/libiio/issues
24 January 2023 | libiio-0.24 |