MeasurementGroup
¶
The sardana tango measurement group module
Classes
MeasurementGroup¶

-
class
MeasurementGroup
(dclass, name)[source]¶ Bases:
sardana.tango.pool.PoolDevice.PoolGroupDevice
-
init
(name)[source]¶ initialize the device once in the object lifetime. Override when necessary but always call the method from your super class
:param
str
name: device name
-
measurement_group
¶
-
delete_device
()[source]¶ Clean the device. Called during shutdown and every time the tango
Init
command is executed. Override when necessary but always call the method from your super class
-
init_device
()[source]¶ Initialize the device. Called during startup after
init()
and every time the tangoInit
command is executed. Override when necessary but always call the method from your super class
-
always_executed_hook
(self) → None[source]¶ - Hook method. Default method to implement an action necessary on a device before any command is executed. This method can be redefined in sub-classes in case of the default behaviour does not fullfill the needs
Parameters : None Return : None
Throws : DevFailed This method does not throw exception but a redefined method can.
-
read_attr_hardware
(self, attr_list) → None[source]¶ - Read the hardware to return attribute value(s). Default method to implement an action necessary on a device to read the hardware involved in a a read attribute CORBA call. This method must be redefined in sub-classes in order to support attribute reading
- Parameters :
- attr_list : (sequence<int>) list of indices in the device object attribute vector
- of an attribute to be read.
Return : None
Throws : DevFailed This method does not throw exception but a redefined method can.
-
MeasurementGroupClass¶

-
class
MeasurementGroupClass
(name)[source]¶ Bases:
sardana.tango.pool.PoolDevice.PoolGroupDeviceClass
-
class_property_list
= {}¶
-
device_property_list
= {'Elements': [tango._tango.CmdArgType.DevVarStringArray, 'elements in the group', []], 'Force_HW_Read': [tango._tango.CmdArgType.DevBoolean, 'Force a hardware read of value even when in operation (motion/acquisition', False], 'Id': [tango._tango.CmdArgType.DevLong64, 'Internal ID', 0]}¶
-
cmd_list
= {'Abort': [[tango._tango.CmdArgType.DevVoid, ''], [tango._tango.CmdArgType.DevVoid, '']], 'Prepare': [[tango._tango.CmdArgType.DevVoid, ''], [tango._tango.CmdArgType.DevVoid, '']], 'Restore': [[tango._tango.CmdArgType.DevVoid, ''], [tango._tango.CmdArgType.DevVoid, '']], 'Start': [[tango._tango.CmdArgType.DevVoid, ''], [tango._tango.CmdArgType.DevVoid, '']], 'StartMultiple': [[tango._tango.CmdArgType.DevLong, ''], [tango._tango.CmdArgType.DevVoid, '']], 'Stop': [[tango._tango.CmdArgType.DevVoid, ''], [tango._tango.CmdArgType.DevVoid, '']]}¶
-
attr_list
= {'AcquisitionMode': [[tango._tango.CmdArgType.DevString, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Memorized': 'true', 'Display level': tango._tango.DispLevel.OPERATOR}], 'Configuration': [[tango._tango.CmdArgType.DevString, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Memorized': 'true', 'Display level': tango._tango.DispLevel.EXPERT}], 'ElementList': [[tango._tango.CmdArgType.DevString, tango._tango.AttrDataFormat.SPECTRUM, tango._tango.AttrWriteType.READ, 4096]], 'IntegrationTime': [[tango._tango.CmdArgType.DevDouble, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Memorized': 'true', 'Display level': tango._tango.DispLevel.OPERATOR}], 'LatencyTime': [[tango._tango.CmdArgType.DevDouble, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ], {'Display level': tango._tango.DispLevel.EXPERT}], 'MonitorCount': [[tango._tango.CmdArgType.DevLong, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Memorized': 'true', 'Display level': tango._tango.DispLevel.OPERATOR}], 'Moveable': [[tango._tango.CmdArgType.DevString, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Memorized': 'true', 'Display level': tango._tango.DispLevel.EXPERT}], 'NbStarts': [[tango._tango.CmdArgType.DevLong, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Memorized': 'true', 'Display level': tango._tango.DispLevel.OPERATOR}], 'SoftwareSynchronizerInitialDomain': [[tango._tango.CmdArgType.DevString, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Memorized': 'true', 'Display level': tango._tango.DispLevel.OPERATOR}], 'Synchronization': [[tango._tango.CmdArgType.DevString, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Memorized': 'true', 'Display level': tango._tango.DispLevel.EXPERT}]}¶
-