Skip to content

Manage ranges check for attributes #25

Closed

Description

@gupichon

Description, motivation and use case
The control system must provide a range of acceptable values for writable attributes.

Proposed solution

  • Add a valid range to the device access in cases where it is necessary.
  • Add a get_range() method, which must return the minimum and maximum values of an attribute, if they exist.
attribute: srmag/ps-corr-sh2/c04-b-ch1/current
range: [-2.0,2.0]
unit: A

attribute: srmag/ps-corr-sh2/c04-b-ch2/current
range: [-2.0,null]  # -2 to + infinity
unit: A

Activity

  1. self-assigned this
    on Jan 9, 2026
  2. linked a pull request that will close this issue25 manage ranges check for attributes #26on Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions