Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

MultipleItemsChanged

More
20 Oct 2018 08:15 #6772 by support
Replied by support on topic MultipleItemsChanged
Hello,

this is actually quite a long time since the method was removed. Its only intent was to improve performance in some (COM) scenarios, which turned out to be untrue anyway.

In both OPC Classic and OPC UA, the "grouping" of notifications is a physical delivery concept, for efficiency in transfer. The way the notification are sent - together or separately - bears no logical meaning, has no significance. Even when we had this method, the only way the user code needed to be written is to loop through the individual notification, and process them one by one, without assuming that the fact that they were grouped means something.

If there is a relation between the incoming notifications, it needs to be based on something else (application-specific), and not on the fact whether they were physically delivered together or separately.

I therefore think that the customer's code was already fundamentally wrong, if it cannot be easily rewritten with individual notifications, and somehow relies on the existence of MultipleItemsChanged.
Please have him explain *why* he thinks he needs that first. I believe he needs to fix approach, rather than us proposing a way to restore the code back to state that was incorrect to start with.

Best regards

Please Log in or Create an account to join the conversation.

More
19 Oct 2018 20:39 - 19 Oct 2018 20:41 #6771 by gkalipershad
Hello Z,

At some point, it seems that the EasyDAClient.MultipleItemsChanged event was removed. The EasyDAClient.ItemChanged event still exists, but I have a customer who wants to receive data changes for multiple items with the handler firing a single time, rather than the event handler being fired for each item.

With the MultipleItemsChanged event no longer available, what would be the best way to accomplish this?

Thanks,
G
Last edit: 19 Oct 2018 20:41 by gkalipershad.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.042 seconds