Subscription to node properties changes #1141
-
I have a server whose address space is populated with a couple of Based on the examples, I think I can use Is there a way to subscribe to an object node and get notified whenever any property value related to the object is modified? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
thats not how a OPC UA Subscription (more precise a MonitoredItem) works! if you want to subscribe all properties of an object you need to browse the object for the references (HasProperty) and pass the a list of nodeids to the subscribe_data_change() method you can wrap that in your own conveniencefunction and use it as you wish! |
Beta Was this translation helpful? Give feedback.
thats not how a OPC UA Subscription (more precise a MonitoredItem) works!
if you want to subscribe all properties of an object you need to browse the object for the references (HasProperty) and pass the a list of nodeids to the subscribe_data_change() method
you can wrap that in your own conveniencefunction and use it as you wish!