python - Unable to get data change notifications - Stack Overflow

Why we are unable to get data change when nodes get inactive and active again however it handle doesn&#

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 badges
Add a comment  | 

1 Answer 1

Reset to default 1

Looks 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)

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742303518a4418483.html

相关推荐

  • python - Unable to get data change notifications - Stack Overflow

    Why we are unable to get data change when nodes get inactive and active again however it handle doesn&#

    15小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信