deviceaccesslist#

class DeviceAccessList[source]#

Bases: object

Abstract class providing access to a list of control system variales. Internal structure depends on the backend and might not be trivially mutable.

abstractmethod add_devices(devices)[source]#

Add a DeviceAccess (or a list) to this list

abstractmethod check_device_availability()[source]#

Check if all devices in the list are available and accessible.

Returns:

bool – True if all devices are available, False otherwise

abstractmethod get()[source]#

Return a list of setpoints of control system device variables

abstractmethod get_device_at(index)[source]#

Returns the device at the given index

abstractmethod get_range()[source]#

Get the valid range for the device variables.

Returns:

list[float] – List containing [min0, max0, min1, max1, …] values

abstractmethod len()[source]#

Get the DeviceAccessList length

abstractmethod readback()[source]#

Return the measured variables

abstractmethod set(value)[source]#

Write a list of control system device variable (i.e. a power supply currents)

abstractmethod set_and_wait(value)[source]#

Write a list control system device variable (i.e. a power supply currents)

abstractmethod unit()[source]#

Return the variable unit