Monitored item notification order

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
czsltru
Jr. Member
Jr. Member
Posts: 1
Joined: 27 Apr 2017, 12:29

Monitored item notification order

Post by czsltru »

Hello,

I would like to ask if there is a way of forcing the notification order in the client (.NET application) to be the same as order of nodes being set on the server.
For instance imagine that server sets nodes 1, 2 and 3 very shortly after each other. I receive all the notifications but their order can vary and it is very important to me to know the actual order in order to have a consistent state of cache at all times.

Is there a way to set up the subscription so it publishes changes in the exact same order as they happened on the server? Thank you

User avatar
Support Team
Hero Member
Hero Member
Posts: 3071
Joined: 18 Mar 2011, 15:09

Re: Monitored item notification order

Post by Support Team »

Hello,

The client cannot influence the order of the notifications. Instead of that you can sort the DataChanges yourself. E.g. you can use the UserData property of the MonitoredItem to sort the Notifications.
Best regards
Unified Automation Support Team

Post Reply