MotorGroup
Classes
MotorGroup

- class MotorGroup(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
- property motor_group
- delete_device()[source]
Clean the device. Called during shutdown and every time the tango
Initcommand 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 tangoInitcommand is executed. Override when necessary but always call the method from your super class
- is_Position_allowed(req_type)
Generic is_allowed
MotorGroupClass

- class MotorGroupClass(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, '']], 'Release': [[CmdArgType.DevVoid, ''], [CmdArgType.DevVoid, '']], 'Restore': [[CmdArgType.DevVoid, ''], [CmdArgType.DevVoid, '']], 'Stop': [[CmdArgType.DevVoid, ''], [CmdArgType.DevVoid, '']]}
Sardana device command definition
- attr_list = {'ElementList': [[CmdArgType.DevString, AttrDataFormat.SPECTRUM, AttrWriteType.READ, 4096]], 'Position': [[CmdArgType.DevDouble, AttrDataFormat.SPECTRUM, AttrWriteType.READ_WRITE, 4096]]}
Sardana device attribute definition