taurus taurus

Previous topic

TangoAttributeEventListener

Next topic

TangoDatabase

This Page

TangoConfiguration

Inheritance diagram of TangoConfiguration

class TangoConfiguration(name, parent, storeCallback=None)

Bases: taurus.core.taurusconfiguration.TaurusConfiguration

addListener(listener)

Add a TaurusListener object in the listeners list. If the listener is already registered nothing happens.

decode(i)
encode(value)

Translates the given value into a tango compatible value according to the attribute data type value must be a valid

classmethod factory()
getAlarms(cache=True)
getLimits(cache=True)
getMaxAlarm(cache=True)
getMaxDimX(cache=True)
getMaxDimY(cache=True)
getMaxWarning(cache=True)
getMinAlarm(cache=True)
getMinWarning(cache=True)
getParam(param_name)
getRange(cache=True)
getRanges(cache=True)
getType(cache=True)
getValueObj(cache=True)

Returns the current configuration for the attribute. if cache is set to True (default) and the the configuration has events active then it will return the local cached value. Otherwise it will read from the tango layer.

getWarnings(cache=True)
isImage(cache=True)
isReadOnly(cache=True)
isReadWrite(cache=True)
isScalar(cache=True)
isSpectrum(cache=True)
isWrite(cache=True)
push_event(event)
setAlarms(low, high)
setDescription(descr)
setDisplayUnit(display_unit)
setFormat(fmt)
setLabel(lbl)
setLimits(low, high)
setParam(param_name, value)
setStandardUnit(standard_unit)
setUnit(unit)
setWarnings(low, high)