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

Configuration file #2

Open
joppi588 opened this issue Feb 13, 2022 · 0 comments
Open

Configuration file #2

joppi588 opened this issue Feb 13, 2022 · 0 comments

Comments

@joppi588
Copy link
Owner

joppi588 commented Feb 13, 2022

Command configuration is currently hard-coded into viCommand.py
Motivation was to have an easier configuration than via the XML files from original vcontrold

Proposal: Use JSON configuration files instead
Benefit: Adapt to different control units

TODO:

  • Specify configuration file: As parameter to vicontrol.init(...)? Default value?
  • Read configuration file.
  • verify configuration file structure, e.g. ensure that only read/write/function_call is used as access mode
  • Design: Read at the time vicontrol is initialized and then pass to vicommand?
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