MeasurementGroup

The sardana tango measurement group module

Classes

MeasurementGroup

Inheritance diagram of MeasurementGroup
class MeasurementGroup(dclass, name)[source]

Bases: PoolGroupDevice

init(name)[source]

initialize the device once in the object lifetime. Override when necessary but always call the method from your super class

Parameters:

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

initialize_attribute_values()[source]

Initialize attribute values.

on_measurement_group_changed(event_source, event_type, event_value)[source]
always_executed_hook(self: tango._tango.Device_6Impl) None[source]
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: PoolGroupDeviceClass

class_property_list = {}

Sardana device class properties definition

device_property_list = {'Elements': [CmdArgType.DevVarStringArray, 'elements in the group', []], 'Force_HW_Read': [CmdArgType.DevBoolean, 'Force a hardware read of value even when in operation (motion/acquisition', False], 'Id': [CmdArgType.DevLong64, 'Internal ID', 0]}

Sardana device properties definition

cmd_list = {'Abort': [[CmdArgType.DevVoid, ''], [CmdArgType.DevVoid, '']], 'Prepare': [[CmdArgType.DevVoid, ''], [CmdArgType.DevVoid, '']], 'Release': [[CmdArgType.DevVoid, ''], [CmdArgType.DevVoid, '']], 'Restore': [[CmdArgType.DevVoid, ''], [CmdArgType.DevVoid, '']], 'Start': [[CmdArgType.DevVoid, ''], [CmdArgType.DevVoid, '']], 'Stop': [[CmdArgType.DevVoid, ''], [CmdArgType.DevVoid, '']]}

Sardana device command definition

attr_list = {'AcquisitionMode': [[CmdArgType.DevString, AttrDataFormat.SCALAR, AttrWriteType.READ_WRITE], {'Display level': DispLevel.OPERATOR, 'Memorized': 'true_without_hard_applied'}], 'Configuration': [[CmdArgType.DevString, AttrDataFormat.SCALAR, AttrWriteType.READ_WRITE], {'Display level': DispLevel.EXPERT, 'Memorized': 'true_without_hard_applied'}], 'ElementList': [[CmdArgType.DevString, AttrDataFormat.SPECTRUM, AttrWriteType.READ, 4096]], 'IntegrationTime': [[CmdArgType.DevDouble, AttrDataFormat.SCALAR, AttrWriteType.READ_WRITE], {'Display level': DispLevel.OPERATOR, 'Memorized': 'false'}], 'LatencyTime': [[CmdArgType.DevDouble, AttrDataFormat.SCALAR, AttrWriteType.READ], {'Display level': DispLevel.EXPERT}], 'MonitorCount': [[CmdArgType.DevLong, AttrDataFormat.SCALAR, AttrWriteType.READ_WRITE], {'Display level': DispLevel.OPERATOR, 'Memorized': 'false'}], 'Moveable': [[CmdArgType.DevString, AttrDataFormat.SCALAR, AttrWriteType.READ_WRITE], {'Display level': DispLevel.EXPERT, 'Memorized': 'true_without_hard_applied'}], 'NbStarts': [[CmdArgType.DevLong, AttrDataFormat.SCALAR, AttrWriteType.READ_WRITE], {'Display level': DispLevel.OPERATOR, 'Memorized': 'false'}], 'SoftwareSynchronizerInitialDomain': [[CmdArgType.DevString, AttrDataFormat.SCALAR, AttrWriteType.READ_WRITE], {'Display level': DispLevel.OPERATOR, 'Memorized': 'true_without_hard_applied'}], 'SynchDescription': [[CmdArgType.DevString, AttrDataFormat.SCALAR, AttrWriteType.READ_WRITE], {'Display level': DispLevel.EXPERT, 'Memorized': 'false'}]}

Sardana device attribute definition