Skip to main content
1-Visitor
Solved

Subscribe to a ValueStream update

Are you able to subscribe to the update of a ValueStream that is assigned to a Thing to store the information of logged properties? The DataTable entity has 4 additional events that monitor for updates, deletions, etc. However the ValueStream does not have anything similar.

1-Visitor

I had the same problem, and what I did it's the subscription to DataChange event check if an event on the same timestamp as been raised, on that case I've ignore the second event.

5 replies

15-Moonstone

Can you describe the use case? I believe that there will be some easier way to resolve your problem.

Translate
agondek1-VisitorAuthor
1-Visitor

Effectively, I need to mimic a subscription to a data change event. The problem with subscribing to the data change event now is that there is an issue with the remote binding which causes the data change event to fire twice for the exact same value and timestamp. This issue has been raised to PTC as an open support ticket and in the meantime I am looking for a workaround.

Translate
1-Visitor

I had the same problem, and what I did it's the subscription to DataChange event check if an event on the same timestamp as been raised, on that case I've ignore the second event.

Translate