deviceaccess#

class DeviceAccess[source]#

Bases: object

Abstract class providing access to a control system variable

abstractmethod check_device_availability()[source]#

Check if the device is available and accessible.

Returns:

bool – True if device is available, False otherwise

abstractmethod get()[source]#

Return the setpoint(s) of a control system device variable

abstractmethod get_range()[source]#

Get the valid range for the device variable.

Returns:

list[float] – List containing [min, max] values

abstractmethod measure_name()[source]#

Return the name of the measure

abstractmethod name()[source]#

Return the name of the variable

abstractmethod readback()[source]#

Return the measured variable

abstractmethod set(value)[source]#

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

abstractmethod set_and_wait(value)[source]#

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

abstractmethod unit()[source]#

Return the variable unit