TangoDevice
¶
digraph inheritancea794e2e61a {
bgcolor=transparent;
rankdir=UD;
ratio=compress;
size="8.0, 12.0";
"Logger" [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="The taurus logger class. All taurus pertinent classes should inherit"];
"Object" -> "Logger" [arrowsize=0.5,style="setlinewidth(0.5)"];
"Object" [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];
"TangoDevice" [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="A Device object representing an abstraction of the PyTango.DeviceProxy"];
"TaurusDevice" -> "TangoDevice" [arrowsize=0.5,style="setlinewidth(0.5)"];
"TaurusDevice" [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="A Device object. Different schemes may assign different roles, but"];
"TaurusModel" -> "TaurusDevice" [arrowsize=0.5,style="setlinewidth(0.5)"];
"TaurusModel" [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];
"Logger" -> "TaurusModel" [arrowsize=0.5,style="setlinewidth(0.5)"];
}
-
class
TangoDevice
(name='', **kw)[source]¶ Bases:
taurus.core.taurusdevice.TaurusDevice
A Device object representing an abstraction of the PyTango.DeviceProxy object in the taurus.core.tango scheme
-
property
description
¶
-
getDescription
(**kwargs)¶ Deprecated since version 4.0: Use .description instead
-
getDisplayDescrObj
(cache=True)[source]¶ A brief description of the model. Can be used as tooltip, for example
-
getDisplayValue
(**kwargs)¶ Deprecated since version 4.0: Use .state.name instead
-
getHWObj
(**kwargs)¶ Deprecated since version 4.0: Use getDeviceProxy() instead
-
getSWState
(**kwargs)¶ Deprecated since version 4.0: Use state instead
-
getState
(**kwargs)¶ Deprecated since version 4.0: Use .stateObj.read().rvalue [Tango] or .state [agnostic] instead
-
getStateObj
(**kwargs)¶ Deprecated since version 4.0: Use .stateObj [Tango] or .factory.getAttribute(state_full_name) [agnostic] instead
-
getValueObj
(**kwargs)¶ - Deprecated by TEP14.
- ..warning::
this bck-compat implementation is not perfect because the rvalue of the returned TangoAttributeValue is now a member of TaurusDevState instead of TaurusSWDevState
Deprecated since version 4.0: Use state [agnostic] or stateObj.read [Tango] instead
-
isValidDev
(**kwargs)¶ see:
TaurusDevice.isValid()
Deprecated since version 4.0: Use getDeviceProxy() is not None instead
-
poll
(attrs, asynch=False, req_id=None)[source]¶ optimized by reading of multiple attributes in one go
-
property
state
¶ Reimplemented from
TaurusDevice
to use Tango’s state attribute for diagnosis of the current state. It supports a “cache” kwarg- Parameters
cache (
bool
) – If True (default), cache will be used when reading the state attribute of this device- Return type
TaurusDevState
- Returns
-
property
stateObj
¶
-
property