TwoDExpChannel

Classes

TwoDExpChannel

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

Bases: sardana.tango.pool.PoolDevice.PoolElementDevice

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_twod()[source]
set_twod(twod)[source]
twod
delete_device
init_device
on_twod_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>
read_Value(attr)[source]
is_Value_allowed(req_type)[source]
read_DataSource(attr)[source]
Start()[source]

TwoDExpChannelClass

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

Bases: sardana.tango.pool.PoolDevice.PoolElementDeviceClass

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 = {'DataSource': [[<_mock._Mock object at 0x7f9ba9cbaad0>, <_mock._Mock object at 0x7f9ba9cbb110>, <_mock._Mock object at 0x7f9ba9cbb050>]], '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'}]}
standard_attr_list = {'Value': [[<_mock._Mock object at 0x7f9ba9cbaf50>, <_mock._Mock object at 0x7f9ba9cbaf90>, <_mock._Mock object at 0x7f9ba9cbb050>, 4096, 4096], {'abs_change': '1.0'}]}