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

I want to monitor multiple gauges, but currently the ACAP only supports one (1) #18

Open
joakimr-axis opened this issue Oct 28, 2022 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@joakimr-axis
Copy link
Contributor

Describe the feature

Currently, the ACAP will only monitor one (1) gauge. It would be nice, and very possible, to monitor more than one gauge.

The application code is structured to support any number of gauges: there is a class for a gauge so we would just have to create a new instance of the class for every new gauge. The same goes for the OPC UA server part, where we would only add a new node for each gauge.

The obstacle is the configuration of the gauge min/center/max points. The current implementation focuses on simplicity and to be as intuitive as possible. Furthermore, the purpose of the whole ACAP is to serve as an example/boilerplate and not a feature complete product. But from a parameter handling perspective, the ACAP can dynamically add parameters, so on that side it would be possible to without too much trouble add the possibility to handle more gauges. The culprit would be the manual configuration done in the web UI, and how the user should interact with it to set the configuration points for the different gauges (and add/remove them) in a convenient way.

Added value

In use cases with more than one gauge, the added value would of course be huge.

Workaround using current codebase

ACAP's are identified by their names. With the current codebase, building the code with different names would allow installing more than one instance of the ACAP (with different names only) and run them on separate OPC UA server ports. One instance for every gauge that is to be monitored. Since most use cases will probably have a need of <10 gauges, it is not that bad as a workaround.

@joakimr-axis joakimr-axis added the enhancement New feature or request label Oct 28, 2022
@joakimr-axis
Copy link
Contributor Author

joakimr-axis commented Oct 28, 2022

Currently, I have no plans of adding this functionality myself, so if you who read this would like to come would like to contribute, it is up for grabs!

@joakimr-axis joakimr-axis added the help wanted Extra attention is needed label Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Development

No branches or pull requests

1 participant