Contexts
Members
- class iio.Context(_context=None)
Contains the representation of an IIO context.
- property devices
List of devices contained in this context. type=list of iio.Device and iio.Trigger objects
- find_device(name_or_id_or_label)
Find a IIO device by its name, ID or label.
- Parameters:
name_or_id_or_label – type=str The name, ID or label of the device to find
- returns: type=iio.Device or type=iio.Trigger
The IIO Device
- class iio.LocalContext
Local IIO Context.
- property devices
List of devices contained in this context. type=list of iio.Device and iio.Trigger objects
- find_device(name_or_id_or_label)
Find a IIO device by its name, ID or label.
- Parameters:
name_or_id_or_label – type=str The name, ID or label of the device to find
- returns: type=iio.Device or type=iio.Trigger
The IIO Device
- class iio.XMLContext(xmlfile)
XML IIO Context.
- property devices
List of devices contained in this context. type=list of iio.Device and iio.Trigger objects
- find_device(name_or_id_or_label)
Find a IIO device by its name, ID or label.
- Parameters:
name_or_id_or_label – type=str The name, ID or label of the device to find
- returns: type=iio.Device or type=iio.Trigger
The IIO Device
- class iio.NetworkContext(hostname=None)
Network IIO Context.
- property devices
List of devices contained in this context. type=list of iio.Device and iio.Trigger objects
- find_device(name_or_id_or_label)
Find a IIO device by its name, ID or label.
- Parameters:
name_or_id_or_label – type=str The name, ID or label of the device to find
- returns: type=iio.Device or type=iio.Trigger
The IIO Device