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.

Initial Subscription invokes TagValueChangedCallback trigger

More
14 Apr 2016 14:09 #3989 by support
Hello.

This is the expected behavior. It does not, however, have much to do with the client side: We simply send you the notifications that the server sends to us - not more, and not less.

In general, the OPC servers are required (by the spec) to send updates for all items after they are subscribed to, and most servers conform with this requirement. So that's why are you getting them.

In fact, this is the first time it looks like somebody has an issue with it, and wants the behavior reversed. Quite commonly, users have complaints of opposite nature: Either they do not receive any update after they established a subscription (e.g. due to a faulty server), or they may be receiving them with a long delay, and ask for some additional notification that would be guaranteed to come quickly after the subscription is made (albeit maybe "just" from the client side).

Can you please explain the use case in which the initial notification is undesirable?

Thank you

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

More
14 Apr 2016 10:23 #3988 by Damian999
Hi,

When we start up our application we subscribe to a number of OPC tags.

On initial subscription to an OPC tag the respective TagValueChangedCallback method is triggered automatically.
It would appear that an initial subscription to an OPC is treated as an OPC Tag change.

Is this normal behavior?

Is there a way to prevent the TagValueChangedCallback method from being call on initial subscription?


Damian

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

Moderators: support
Time to create page: 0.044 seconds