TangoConfiguration

Inheritance diagram of TangoConfiguration

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

Bases: taurus.core.taurusconfiguration.TaurusConfiguration

addListener(listener)[source]

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

decode(i)[source]
encode(value)[source]

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

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

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)[source]
isImage(cache=True)[source]
isReadOnly(cache=True)[source]
isReadWrite(cache=True)[source]
isScalar(cache=True)[source]
isSpectrum(cache=True)[source]
isWrite(cache=True)[source]
push_event(event)[source]
removeListener(listener)[source]

Remove a TaurusListener from the listeners list. If it is the last listener, unsubscribe from events.

setAlarms(low, high)[source]
setDescription(descr)[source]
setDisplayUnit(display_unit)[source]
setFormat(fmt)[source]
setLabel(lbl)[source]
setLimits(low, high)[source]
setParam(param_name, value)[source]
setStandardUnit(standard_unit)[source]
setUnit(unit)[source]
setWarnings(low, high)[source]