iio_writedev(1) | LibIIO Utilities | iio_writedev(1) |
iio_writedev - write buffers on an IIO device
iio_writedev [ options ] [-n <hostname>] [-t <trigger>] [-T <timeout-ms>] [-b <buffer-size>] [-s <samples>] <iio_device> [<channel> ...]
iio_reg is a utility for writing buffers from connected IIO devices.
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 write, channels must be output. 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 sends 1024 samples of I and Q data to the USB attached AD9361. data is taking from standard in, in a binary format.
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 |