-
Notifications
You must be signed in to change notification settings - Fork 78
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
Proof-of-concept automatic MEDM ADL converter and loader #723
Conversation
That looks really cool! Thank you for the PR and generalization of the load file... that opens up some nice possibilities. |
Thanks, @hhslepicka. 👍 (cc @prjemian for input as this is based on his project) |
#578 was merged in... |
Thank you for the great addition @klauer! This will open a very nice path towards more converters... |
Considered a proof-of-concept because 1 prerequisite
sareis not yet merged.Prerequisites
#578 (merged here for convenience, or rather out of necessity for the converter to work)My branch of adl2pydm https://github.com/klauer/adl2pydm/tree/ref_in_memory (tweak to allow in-memory conversion of ADL screens)
Functionality
Actual functionality only in 2 small commits: bf560cb, 753e8f7
Result
$ pydm ~/Repos/adl2pydm/tests/medm/mca-R7-7-mca.adl [2021-03-18 17:00:10,549] [ERROR ] - Loading /Users/klauer/Repos/adl2pydm/tests/medm/mca-R7-7-mca.adl file by way of load_adl_file... [2021-03-18 17:00:10,607] [INFO ] - Environment variable PYDM_DISPLAYS_PATH is not defined. [2021-03-18 17:00:10,607] [INFO ] - file not found: stylesheet.qss [2021-03-18 17:00:10,607] [INFO ] - writing screen file: None
Screenshot
Why?