TaurusDevState

digraph inheritance24fa906819 { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "Enum" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Create a collection of name/value pairs."]; "IntEnum" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Enum where members are also (and must be) ints"]; "ReprEnum" -> "IntEnum" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ReprEnum" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Only changes the repr(), leaving str() and format() to the mixed-in type."]; "Enum" -> "ReprEnum" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusDevState" [URL="#taurus.core.TaurusDevState",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="Enumeration of possible states of :class:`taurus.core.TaurusDevice`"]; "IntEnum" -> "TaurusDevState" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
class TaurusDevState(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

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, …)

Import from taurus.core as:

from taurus.core import TaurusDevState
NotReady = 2
Ready = 1
Undefined = 4