Description, motivation and use case
For each relevant type of pyAML element, we should provide a shortcut access the the underneath python control system layer (e.g., pyTango/pyEPICS).
Use case: I can easily find BPM.145 using pyAML interface, I use the shortcut access to control system to modify the BPM electronic board configuration (which is not accessible at pyAML level).
Proposed solution
Provide a standard way to access the control system object/properties via its pyAML element:
Element.cs_object would return the object Tango device, i.e. a DeviceProxy object (AN20-AR/EM/OH.04-CQLN.22) or corresponding EPCIS PV.
I considered if we needed a direct access to the CS attribute (AN20-AR/EM/OH.04-CQLN.22/strength) directly but I don't see the point (at least for Tango) because it's the property that we already link with pyAML.
Example
Sextupole.cs_object returns a tango.DeviceProxy: Magnet(an20-ar/em/sext.12)
Description, motivation and use case
For each relevant type of pyAML element, we should provide a shortcut access the the underneath python control system layer (e.g.,
pyTango/pyEPICS).Use case: I can easily find BPM.145 using pyAML interface, I use the shortcut access to control system to modify the BPM electronic board configuration (which is not accessible at pyAML level).
Proposed solution
Provide a standard way to access the control system object/properties via its pyAML element:
Element.cs_objectwould return the object Tango device, i.e. aDeviceProxyobject (AN20-AR/EM/OH.04-CQLN.22) or corresponding EPCIS PV.I considered if we needed a direct access to the CS attribute (
AN20-AR/EM/OH.04-CQLN.22/strength) directly but I don't see the point (at least for Tango) because it's the property that we already link with pyAML.Example
Sextupole.cs_objectreturns atango.DeviceProxy:Magnet(an20-ar/em/sext.12)