iio_writedev

iio_writedev is part of the Libiio package, a library that has been developed to ease the development of software interfacing Linux Industrial I/O (IIO) devices.
This tool is written using the libiio Python bindings. It works in the same way as the base iio_writedev works. You can find more informations about it on this page.

Copyright (C) 2020 Analog Devices, Inc. Author: Cristian Iacob <cristian.iacob@analog.com>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

class iio_writedev.Arguments[source]

Class for parsing the input arguments.

class iio_writedev.BufferBuilder(ctx, arguments)[source]

Class for creating the buffer.

create()[source]

Create the IIO buffer.

class iio_writedev.ContextBuilder(arguments)[source]

Class for creating the requested context.

create()[source]

Create the requested context.

class iio_writedev.DataWriter(ctx, arguments)[source]

Class for writing samples to the device.

write()[source]

Push data into the buffer.

iio_writedev.main()[source]

Module’s main method.