EpicsAttribute

Inheritance diagram of EpicsAttribute

class EpicsAttribute(name, parent, storeCallback=None)[source]

Bases: taurus.core.taurusattribute.TaurusAttribute

A TaurusAttribute that gives access to an Epics Process Variable.

Warning

In most cases this class should not be instantiated directly. Instead it should be done via the EpicsFactory.getAttribute()

decode(obj)[source]
decode_epics_evt(evt)[source]

Decodes an epics event (a callback keywords dict) into the expected taurus representation

decode_pv(pv)[source]

Decodes an epics pv into the expected taurus representation

encode(value)[source]

encodes the value passed to the write method into a representation that can be written in epics

factory()[source]
getDisplayValue(cache=True)[source]
classmethod getNameValidator()[source]
getWritable(cache=True)[source]
isBoolean()[source]
isNumeric()[source]
isReadOnly(cache=True)[source]
isReadWrite(cache=True)[source]
isState()[source]
isUsingEvents()[source]
isWritable(cache=True)[source]
isWrite(cache=True)[source]
onEpicsEvent(**kw)[source]

callback for PV changes

poll()[source]
read(cache=True)[source]

returns the value of the attribute.

Parameters:cache (:class:~`bool`) – If True (default), the last calculated value will be returned. If False, the referenced values will be re- read and the transformation string will be re-evaluated
Returns:attribute value
write(value, with_read=True)[source]