Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating PV/attribute names from parameter URI #10

Open
jsouter opened this issue Jun 4, 2024 · 0 comments
Open

Generating PV/attribute names from parameter URI #10

jsouter opened this issue Jun 4, 2024 · 0 comments

Comments

@jsouter
Copy link
Contributor

jsouter commented Jun 4, 2024

Attempted to address here in this branch:
https://github.com/jsouter/odin-fastcs/tree/names
For each controller, the parameter names are shortened by iterating over the URIs from the last part, the name for each attribute is composed from the fewest URI parts needed to make it unique.
e.g. status/hdf/rank and config/hdf/process/rank become hdf_rank and process_rank. It's possible that shortening the names could lead to ambiguity as to the meaning of the parameter, though hopefully the grouping of PVs on the screen makes this clearer.
We could also change the logic to only shorten parameter names that would exceed the EPICS character limit, though that logic would probably be better implemented in the EPICS handling part of FastCS itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant