Skip to content

Feature: Delegate the deviceaccess creation to the backends for all PyAML elements #290

@gupichon

Description

@gupichon

Description, motivation and use case
Device access descriptions should be removed from the configuration files. Their creation should be delegated to the backends.

Proposed solution
Replace all device access elements with simple strings, and use the backend get_device method instead of the current PyAML resolution and attachment mechanism.

Describe alternatives you've considered
Alternatives have already been discussed.

Example
In the configuration files, this kind of element should be replaced by a simple string:

    - type: tango.pyaml.attribute
      attribute: AN01-AR/EM-SX/SHF.01/strength
      unit: 1/m**2

For example, it could become:

    - AN01-AR/EM-SX/SHF.01/strength

Additional context
The implementation is already done for several elements, such as BPMs and the betatron tune monitor.
Magnets are the main remaining work.

Checklist

  • I've assigned this issue to a project
  • I've @-mentioned relevant people

Metadata

Metadata

Labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions