TwoDExpChannel
¶
Classes
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
-
twod
¶
-
delete_device
¶
-
init_device
¶
-
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
>
-
TwoDExpChannelClass¶
-
class
TwoDExpChannelClass
(name)[source]¶ Bases:
sardana.tango.pool.PoolDevice.PoolElementDeviceClass
-
class_property_list
= {}¶
-
device_property_list
= {'Axis': [<_mock._Mock object at 0x7fc23ece7190>, 'Axis in the controller', [0]], 'Ctrl_id': [<_mock._Mock object at 0x7fc23ece7190>, 'Controller ID', [0]], 'Force_HW_Read': [<_mock._Mock object at 0x7fc23ece6fd0>, 'Force a hardware read of value even when in operation (motion/acquisition', False], 'Id': [<_mock._Mock object at 0x7fc23ece7190>, 'Internal ID', 0], 'Instrument_id': [<_mock._Mock object at 0x7fc23ece7190>, 'Controller ID', [0]]}¶
-
cmd_list
= {'Abort': [[<_mock._Mock object at 0x7fc23ece7690>, ''], [<_mock._Mock object at 0x7fc23ece7690>, '']], 'Restore': [[<_mock._Mock object at 0x7fc23ece7690>, ''], [<_mock._Mock object at 0x7fc23ece7690>, '']], 'Start': [[<_mock._Mock object at 0x7fc23ece7690>, ''], [<_mock._Mock object at 0x7fc23ece7690>, '']], 'Stop': [[<_mock._Mock object at 0x7fc23ece7690>, ''], [<_mock._Mock object at 0x7fc23ece7690>, '']]}¶
-
attr_list
= {'DataSource': [[<_mock._Mock object at 0x7fc23ece7210>, <_mock._Mock object at 0x7fc23ece7810>, <_mock._Mock object at 0x7fc23ece7750>]], 'Instrument': [[<_mock._Mock object at 0x7fc23ece7210>, <_mock._Mock object at 0x7fc23ece7810>, <_mock._Mock object at 0x7fc23ece77d0>], {'Display level': <_mock._Mock object at 0x7fc23b1bdfd0>, 'label': 'Instrument'}], 'SimulationMode': [[<_mock._Mock object at 0x7fc23ece6fd0>, <_mock._Mock object at 0x7fc23ece7810>, <_mock._Mock object at 0x7fc23ece77d0>], {'label': 'Simulation mode'}]}¶
-
standard_attr_list
= {'Value': [[<_mock._Mock object at 0x7fc23ece7690>, <_mock._Mock object at 0x7fc23ece76d0>, <_mock._Mock object at 0x7fc23ece7750>, 4096, 4096], {'abs_change': '1.0'}]}¶
-