Skip to main content
1-Visitor
July 18, 2018
Solved

Subscribe to a ValueStream update

  • July 18, 2018
  • 1 reply
  • 2519 views

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.

Best answer by CarlesColl

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.

1 reply

15-Moonstone
July 19, 2018

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

agondek1-VisitorAuthor
1-Visitor
July 19, 2018

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.

1-Visitor
July 19, 2018

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.