MeasurementGroup

The sardana tango measurement group module

Classes

MeasurementGroup

Inheritance diagram of 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

get_measurement_group()[source]
set_measurement_group(measurement_group)[source]
property 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 tango Init command is executed. Override when necessary but always call the method from your super class

on_measurement_group_changed(event_source, event_type, event_value)[source]
always_executed_hook(self)[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

Raises

DevFailed – This method does not throw exception but a redefined method can.

read_IntegrationTime(attr)[source]
write_IntegrationTime(attr)[source]
read_MonitorCount(attr)[source]
write_MonitorCount(attr)[source]
read_AcquisitionMode(attr)[source]
write_AcquisitionMode(attr)[source]
read_Configuration(attr)[source]
write_Configuration(attr)[source]
read_NbStarts(attr)[source]
write_NbStarts(attr)[source]
read_Moveable(attr)[source]
write_Moveable(attr)[source]
read_SynchDescription(attr)[source]
write_SynchDescription(attr)[source]
read_LatencyTime(attr)[source]
read_SoftwareSynchronizerInitialDomain(attr)[source]
write_SoftwareSynchronizerInitialDomain(attr)[source]
Prepare()[source]
Start()[source]
Stop()[source]

The tango stop command. Stops the active operation

MeasurementGroupClass

Inheritance diagram of MeasurementGroupClass
class MeasurementGroupClass(name)[source]

Bases: sardana.tango.pool.PoolDevice.PoolGroupDeviceClass

class_property_list = {}

Sardana device class properties definition

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]}

Sardana device properties definition

cmd_list = {'Abort': [[tango._tango.CmdArgType.DevVoid, ''], [tango._tango.CmdArgType.DevVoid, '']], 'Prepare': [[tango._tango.CmdArgType.DevVoid, ''], [tango._tango.CmdArgType.DevVoid, '']], 'Release': [[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, '']], 'Stop': [[tango._tango.CmdArgType.DevVoid, ''], [tango._tango.CmdArgType.DevVoid, '']]}

Sardana device command definition

attr_list = {'AcquisitionMode': [[tango._tango.CmdArgType.DevString, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Display level': tango._tango.DispLevel.OPERATOR, 'Memorized': 'true'}], 'Configuration': [[tango._tango.CmdArgType.DevString, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Display level': tango._tango.DispLevel.EXPERT, 'Memorized': 'true'}], '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], {'Display level': tango._tango.DispLevel.OPERATOR, 'Memorized': 'false'}], '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], {'Display level': tango._tango.DispLevel.OPERATOR, 'Memorized': 'false'}], 'Moveable': [[tango._tango.CmdArgType.DevString, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Display level': tango._tango.DispLevel.EXPERT, 'Memorized': 'true'}], 'NbStarts': [[tango._tango.CmdArgType.DevLong, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Display level': tango._tango.DispLevel.OPERATOR, 'Memorized': 'false'}], 'SoftwareSynchronizerInitialDomain': [[tango._tango.CmdArgType.DevString, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Display level': tango._tango.DispLevel.OPERATOR, 'Memorized': 'true'}], 'SynchDescription': [[tango._tango.CmdArgType.DevString, tango._tango.AttrDataFormat.SCALAR, tango._tango.AttrWriteType.READ_WRITE], {'Display level': tango._tango.DispLevel.EXPERT, 'Memorized': 'false'}]}

Sardana device attribute definition