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="Generic enumeration."];
"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"];
"Enum" -> "IntEnum" [arrowsize=0.5,style="setlinewidth(0.5)"];
"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,tooltip="Enumeration of possible states of :class:`taurus.core.TaurusDevice`"];
"IntEnum" -> "TaurusDevState" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
-
class
TaurusDevState
(value)[source]¶ Bases:
enum.IntEnum
Enumeration of possible states of
taurus.core.TaurusDevice
objects. This is returned, e.g. byTaurusDevice.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
= 2¶
-
Ready
= 1¶
-
Undefined
= 4¶