iio_readdev
iio_readdev 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_readdev works. You can find more information 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_readdev.Arguments[source]
Class for parsing the input arguments.
-
class iio_readdev.BufferBuilder(ctx, arguments)[source]
Class for creating the buffer.
-
create()[source]
Create the IIO buffer.
-
class iio_readdev.ContextBuilder(arguments)[source]
Class for creating the requested context.
-
create()[source]
Create the requested context.
-
class iio_readdev.DataReader(ctx, arguments)[source]
Class for reading samples from the device.
-
read()[source]
Read data from the buffer.
-
iio_readdev.main()[source]
Module’s main method.