-
Notifications
You must be signed in to change notification settings - Fork 22
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
OPC UA Protocol Adapter - Subscribe directly to FolderType objects #342
Comments
Hallo @prairiesnpr , I looked into the problem and believe milo does not support subscribing to an object node unless for events created on that node. In fact I believe opcua does not support that at least in the 1.3 version which milo targets with their official releases. The only possibility I see is to browse the referenced nodes, collect them and create a MonitoredItem for each of them. The return type of object is needed to be able to represent complex custom data types (like structs/ExtensionObjects). Even the standard QualifiedName datatype needs an object as it has two fields. Best regards, |
Problem or use case
When configuring subscriptions for the OPC UA protocol adapter, it would be cleaner to subscribe to an object, in this case of type FolderType, instead of subscribing to each individual tag.
For example, if I want to subscribe to Tag.P101, I need to subscribe to the following tags.
This counts against the 100 subscription limit, and causes the UI to lag when you are at the maximum subscriptions as well as being way more work to configure if you want to return all tags in a folder.
Attempting to subscribe to Tag.P101 will return an Invalid Address error.
Preferred solution or suggestions
Enable subscriptions to the root tag. Looking through the docs, it specifies the return JSON for an object, but maybe this doesn't include FolderType objects.
The text was updated successfully, but these errors were encountered: