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

Enums or doc_string in TangoDS #26

Open
dschick opened this issue Dec 5, 2023 · 2 comments
Open

Enums or doc_string in TangoDS #26

dschick opened this issue Dec 5, 2023 · 2 comments

Comments

@dschick
Copy link

dschick commented Dec 5, 2023

Hi all,

Thanks a lot for this excellent software.
It is great to integrate the Lima drivers into an existing TANGO ecosystem so easily.

I was, however, wondering if it is possible to add more docstrings, at least for the generic limaccd TangoDS or even replace certain attributes with Enums to simplify the usage on the Tango level?

Right now, I am switching between TangoDS and Lima documentation back and forth to learn which attributes accept which kind/range of parameters.

Many thanks in advance

Daniel

@laurent-claustre
Copy link
Contributor

Hi Daniel,
instead you can use the command getAttrStringValuelist for any attribute of type DevString, this command will return the list of supported values. We did implement this way before the tango enum implementation and now all our tango client are using this feature to get the attribute supported values.

@dschick
Copy link
Author

dschick commented Dec 6, 2023

Okay, that should work e.g. in Pytango, but for Jive an additional doc_string would still be helpful

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

2 participants