Taurus Extensions
Functions
Classes
- registerExtensions()[source]
Registers the macroserver extensions in the
taurus.core.tango.TangoFactory
- unregisterExtensions()[source]
Registers the macroserver extensions in the
taurus.core.tango.TangoFactory
BaseDoor

- class BaseDoor(name, **kw)[source]
Bases:
MacroServerDevice
Class encapsulating Door device functionality.
- On = tango._tango.DevState.ON
- Alarm = tango._tango.DevState.ALARM
- Running = tango._tango.DevState.RUNNING
- Paused = tango._tango.DevState.STANDBY
- Critical = 'Critical'
Critical message level (constant)
- Error = 'Error'
Error message level (constant)
- Warning = 'Warning'
Warning message level (constant)
- Info = 'Info'
Info message level (constant)
- Output = 'Output'
- Debug = 'Debug'
Debug message level (constant)
- Result = 'Result'
- RecordData = 'RecordData'
- BlockStart = '<BLOCK>'
- BlockFinish = '</BLOCK>'
- log_streams = ('Error', 'Warning', 'Info', 'Output', 'Debug', 'Result')
- InteractiveTimeout = 0.3
- property log_start
- property log_stop
- property macro_server
- getLogObj(log_name='Debug')[source]
Returns the log object for this object
- Returns:
the log object
- Return type:
- resultReceived(log_name, result)[source]
Method invoked by the arrival of a change event on the Result attribute
- setEnvironment(name, value)
- setEnvironments(obj)
- getReservedElements()[source]
Return reserved elements of macros currently being executed
- Return type:
- Returns:
Stack of infos about reserved elements implemented as a list of dictionaries. Each dictionary corresponds to one macro. The order of the list corresponds to the order of macros being called - the last item corresponds to the macro on top of the stack.
Dictionary with info contains at least the following key - value pairs:
elements
- list of reserved element names (strings)
BaseMacroServer

- class BaseMacroServer(name, **kw)[source]
Bases:
MacroServerDevice
Class encapsulating Macro Server device functionality.
- NO_CLASS_TYPES = ('ControllerClass', 'ControllerLibrary', 'MacroLibrary', 'Instrument', 'Meta', 'ParameterType')
- setEnvironment(name, value)
- setEnvironments(obj)
- getMacroNodeObj(macro_name)[source]
This method retrieves information about macro from MacroServer and creates MacroNode object, filled with all information about parameters.
- Parameters:
macro_name – (str) macro name
- Returns:
(MacroNode)
See Also: fillMacroNodeAddidtionalInfos