TaurusDevState

Inheritance diagram of TaurusDevState
class TaurusDevState[source]

Bases: enum.IntEnum

Enumeration of possible states of taurus.core.TaurusDevice objects. This is returned, e.g. by TaurusDevice.state().

The description of the values of this enumeration is:

  • Ready: the device can be operated by the user and could even be involved in some operation.
  • NotReady: the device can not be operated by the user (e.g. due to still being initialized, or due to a device failure,...)
  • Undefined: it is not possible to retrieve a coherent state from the device (e.g. due to communication, or to contradictory internal states, ...)
NotReady = <TaurusDevState.NotReady: 2>
Ready = <TaurusDevState.Ready: 1>
Undefined = <TaurusDevState.Undefined: 4>