Replies: 2 comments 15 replies
-
I am not sure what that timestamp option is about, I do not see it in any parameters, but it looks like you can create your subscribotion then just call sub.modify_monitored_item to chane queue size and deadband |
Beta Was this translation helpful? Give feedback.
-
If you need data in a fixed interval you need to poll it! even if you use sampling instead of reporting it could be sometimes different. edit: if you really want to use the subscription for that you can resample the data to a fixed timeinterval with pandas!? |
Beta Was this translation helpful? Give feedback.
-
Hello everyone!
I am working on an OPC UA client using the FreeOPCUA library to regularly receive drive data with timestamp at a defined time rate from a PLC.
Using UAExpert I have already managed to retrieve the data with a defined time interval by using the DataChangeFilter settings ("Status/Value/Timestamp") and Monitoring Mode: Reporting.
here even with a sampling interval of 52ms via DataLogger:
However, I fail to implement these settings with the FreeOPCUA library.
I have managed to create a subscribe to a variable but neither a constant rate nor a timestamp to receive:
The next thought was to use the Subscription.create_monitored_items() method, which I reconsider after this forum entry
Is this the right way to implement my requirements or can I adjust a timestamp and the DataChangeFilter in the client.create_subscription method somehow?
I would be very thankful for any support :)
Beta Was this translation helpful? Give feedback.
All reactions