Skip to content

Feature: add control system access to pyAML elements #44

Description

@GamelinAl

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions