ZeroDExpChannel

Classes

ZeroDExpChannel

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

Bases: sardana.tango.pool.PoolDevice.PoolExpChannelDevice

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 (str) – device name
get_zerod()[source]
set_zerod(zerod)[source]
zerod
delete_device
init_device
on_zerod_changed(event_source, event_type, event_value)[source]
always_executed_hook()[source]
read_attr_hardware(data)[source]
get_dynamic_attributes()[source]

Override of PoolDevice.get_dynamic_attributes. Returns the standard dynamic and fully dynamic attributes for this device. The return is a tuple of two dictionaries:

  • standard attributes: caseless dictionary with key being the attribute name and value is a tuple of attribute name(str), tango information, attribute information
  • dynamic attributes: caseless dictionary with key being the attribute name and value is a tuple of attribute name(str), tango information, attribute information
tango information
seq< CmdArgType, AttrDataFormat, AttrWriteType >
attribute information
attribute information as returned by the sardana controller
Returns:the standard dynamic and fully dynamic attributes
Return type:seq< CaselessDict, CaselessDict>
initialize_dynamic_attributes()[source]

Initializes this device dynamic attributes

read_Value(attr)[source]
read_CurrentValue(attr)[source]
Start()[source]
read_ValueBuffer(attr)[source]
read_AccumulationBuffer(attr)[source]
read_TimeBuffer(attr)[source]
read_AccumulationType(attr)[source]
write_AccumulationType(attr)[source]
is_Value_allowed(req_type)

Generic is_allowed

is_CurrentValue_allowed(req_type)

Generic is_allowed

is_AccumulationType_allowed(req_type)

Generic is_allowed

is_ValueBuffer_allowed(req_type)

Generic is_allowed

is_AccumulationBuffer_allowed(req_type)

Generic is_allowed

is_TimeBuffer_allowed(req_type)

Generic is_allowed

ZeroDExpChannelClass

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

Bases: sardana.tango.pool.PoolDevice.PoolExpChannelDeviceClass

class_property_list = {}
device_property_list = {'Axis': [<_mock._Mock object at 0x7f9ba9cbaa50>, 'Axis in the controller', [0]], 'Ctrl_id': [<_mock._Mock object at 0x7f9ba9cbaa50>, 'Controller ID', [0]], 'Force_HW_Read': [<_mock._Mock object at 0x7f9ba9cba8d0>, 'Force a hardware read of value even when in operation (motion/acquisition', False], 'Id': [<_mock._Mock object at 0x7f9ba9cbaa50>, 'Internal ID', 0], 'Instrument_id': [<_mock._Mock object at 0x7f9ba9cbaa50>, 'Controller ID', [0]]}
cmd_list = {'Abort': [[<_mock._Mock object at 0x7f9ba9cbaf50>, ''], [<_mock._Mock object at 0x7f9ba9cbaf50>, '']], 'Restore': [[<_mock._Mock object at 0x7f9ba9cbaf50>, ''], [<_mock._Mock object at 0x7f9ba9cbaf50>, '']], 'Start': [[<_mock._Mock object at 0x7f9ba9cbaf50>, ''], [<_mock._Mock object at 0x7f9ba9cbaf50>, '']], 'Stop': [[<_mock._Mock object at 0x7f9ba9cbaf50>, ''], [<_mock._Mock object at 0x7f9ba9cbaf50>, '']]}
attr_list = {'AccumulationBuffer': [[<_mock._Mock object at 0x7f9ba9cba910>, <_mock._Mock object at 0x7f9ba9cbb150>, <_mock._Mock object at 0x7f9ba9cbb050>, 16384]], 'AccumulationType': [[<_mock._Mock object at 0x7f9ba9cbaad0>, <_mock._Mock object at 0x7f9ba9cbb110>, <_mock._Mock object at 0x7f9ba9cbb0d0>], {'label': 'Accumulation Type', 'Display level': <_mock._Mock object at 0x7f9ba5ceca50>, 'Memorized': 'true'}], 'Instrument': [[<_mock._Mock object at 0x7f9ba9cbaad0>, <_mock._Mock object at 0x7f9ba9cbb110>, <_mock._Mock object at 0x7f9ba9cbb0d0>], {'Display level': <_mock._Mock object at 0x7f9ba4f5a390>, 'label': 'Instrument'}], 'SimulationMode': [[<_mock._Mock object at 0x7f9ba9cba8d0>, <_mock._Mock object at 0x7f9ba9cbb110>, <_mock._Mock object at 0x7f9ba9cbb0d0>], {'label': 'Simulation mode'}], 'TimeBuffer': [[<_mock._Mock object at 0x7f9ba9cba910>, <_mock._Mock object at 0x7f9ba9cbb150>, <_mock._Mock object at 0x7f9ba9cbb050>, 16384]], 'ValueBuffer': [[<_mock._Mock object at 0x7f9ba9cba910>, <_mock._Mock object at 0x7f9ba9cbb150>, <_mock._Mock object at 0x7f9ba9cbb050>, 16384]]}
standard_attr_list = {'Data': [[<_mock._Mock object at 0x7f9ba9cbaad0>, <_mock._Mock object at 0x7f9ba9cbb110>, <_mock._Mock object at 0x7f9ba9cbb050>]], 'Value': [[<_mock._Mock object at 0x7f9ba9cbaf50>, <_mock._Mock object at 0x7f9ba9cbb110>, <_mock._Mock object at 0x7f9ba9cbb050>], {'abs_change': '1.0'}]}