Commit 4e81c8cc authored by ronytigo's avatar ronytigo Committed by GitHub

Update sync.py (#1308)

* Update sync.py

add 'monitoring' and 'sampling_interval' params to subscribe_data_change in sync.py.

* Update sync.py
parent 0f99fb5f
......@@ -615,7 +615,11 @@ class Subscription:
self.aio_obj = sub
@syncmethod
def subscribe_data_change(self, nodes, attr=ua.AttributeIds.Value, queuesize=0):
def subscribe_data_change(self, nodes,
attr=ua.AttributeIds.Value,
queuesize=0,
monitoring=ua.MonitoringMode.Reporting,
sampling_interval=0.0):
pass
@syncmethod
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment