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.

Older Tag Values Being Provided - Automatic Subscription Question

More
28 Feb 2022 17:13 #10665 by support
Hello.

Do I understand it correctly that
- the customer is reading the items periodically from time to time, but is not subscribed to the same items at the same time.
- the customer is now using DADataSource.Device
- software version is 2021.3
- the item caching is disabled.

If the above is true, I actually believe it is much more likely the it is the OPC server that is delivering the stale values (even though it does not happen with Quick Client)

Can the customer deploy the OPC Analyzer and capture the communication - together with logs from his client app showing what were the values received?

Thank you

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

More
28 Feb 2022 14:15 #10659 by ZParham
Thank you very much!

We tested with an OPC-DA client not created with the OPC Data Client toolkit (Quick Client) and did not see the same behavior, which is what leads us to believe this is client-side.

I had the end user test with the examples at opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...ReadParameters~DataSource.html and he saw the same behavior.

Even after disabling the cache, he has continued to see stale values every so often. He also changed the DAReadParameters to DADataSource.Device to see if that might help, and he has been getting fewer stale values, but they have not completely gone away.

Do you have any insight as to what might be occurring?

Thank you again, as always!

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

More
24 Feb 2022 14:35 #10652 by support
Hello.

Yes, in 2020.3 the default is that automatic subscriptions are turned off (kb.opclabs.com/What%27s_new_in_QuickOPC_2020.3#OPC_Classic_2 ); and, their parameters, if needed, are configured differently from what the "pinned" post suggested. I have unpinned it.

With 2021.3, if this is happening, I would most likely guess that this is a problem on the server side. It could/should be possible to use OPC Analyzer to figure it out.
Also, try reading directly from the device (I am not saying that is the right practice, but it would at least bring some more info; and if it does not harm performance, it can even ne the solution).

If, theoretically, there was a bug in QuickOPC item caching (because the caching seems to be related to the issue), it would go away when the caching is turned off - this is described here: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...html#OPC%20DA%20Optimizer.html .

Best regards

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

More
24 Feb 2022 14:22 #10651 by ZParham
Hello!

I have a customer running 2021.3 who is running into an issue where despite using ByValueAge and having ValueAge set to 10, the server sometimes provides 2+ hour old values. We initially looked into turning subscriptions off as explained in the following pinned post: www.opclabs.com/forum/reading-writing-subscriptions-property...scriptions-made-with-opc-reads - However, the parameters do not seem to exist.

After doing some digging, the customer found the following statement in another post:

"In fact, we will be turning off the automatic subscriptions (by default) in the upcoming QuickOPC 2020.3, because except in cases like the one described above, it brings more problems than it resolves.” www.opclabs.com/forum/reading-writing-subscriptions-property...riptions-or-subscribe-manually

Did this ever happen? If so, do you have any other insight as to why we might be receiving older values for reads?

Thank you in advance!
Zachary Parham

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

Moderators: support
Time to create page: 0.049 seconds