TangoDevice
¶

-
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
-
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
-
state
¶ Reimplemented from
TaurusDevice
to use Tango’s state attribute for diagnosis of the current state. It supports a “cache” kwargParameters: cache ( bool
) – If True (default), cache will be used when reading the state attribute of this deviceReturn type: TaurusDevState
Returns:
-
stateObj
¶
-