admin管理员组文章数量:1332383
Why we are unable to get data change when nodes get inactive and active again however it handle doesn't get change and also it is present in monitored items dictionary in asyncua?
Why we are unable to get data change when nodes get inactive and active again however it handle doesn't get change and also it is present in monitored items dictionary in asyncua?
Share Improve this question asked Nov 21, 2024 at 8:06 Meet BedmuthaMeet Bedmutha 411 silver badge6 bronze badges1 Answer
Reset to default 1Looks like a server fault. If a node gets removed there should be an update that the node is no longer available. Expanded the Subscriptionhandler class to get status_change_notification. Maybe there is a hint from the server that the node is removed.
class SubHandler:
def datachange_notification(self, node: Node, val, data):
...
def event_notification(self, event: ua.EventNotificationList):
...
def status_change_notification(self, status: ua.StatusChangeNotification):
_logger.info("status_notification %s", status)
本文标签: pythonUnable to get data change notificationsStack Overflow
版权声明:本文标题:python - Unable to get data change notifications - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742303517a2449459.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论