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.

ByValueAge

More
24 Nov 2012 16:12 #1115 by support
Replied by support on topic Re: ByValueAge
Hello,
as you know, the OPC Server can provide values from Device, or from Cache. We (in the EasyOPC component) add one more source, from our own "cache" inside the component - we call "from Memory",
Let's say that at time t, we (in the component, for whatever reason), obtain a value from the OPC Server from the Device. And, let's say that DesiredValueAge = 1000 (ms).
If you call EasyDAClient.ReadItem with this (and Source-ByValueAge)

at t+500 ms, we will not contact the OPC Server at all, and give you value from Memory
at t+1500 ms, if the server support OPC-DA 3.0 and therefore the MaximumAge argument to Read, we will call the OPC Read with MaximumAge=1000, and the server will decide whether to provide from Cache or Device. If the server only supports OPC-DA 1.0 or 2.0, we will call OPC Read from Device.

There some more complicated scenarios as well, for example if we also have a subscription, but the bottom line is that you will get the value that is not older (in terms of obtaining from Device) than DesiredValueAge, if Source=ByValueAge.
Best regards,

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

More
23 Nov 2012 08:45 #1113 by empir
ByValueAge was created by empir
Hi!
We are having discussions about this setting at my Company.

If we set DesiredValueAge=1.000 vs DesiredValueAge=10.000,
what difference will it make regarding the values we Read?
Regards Owe

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

Moderators: support
Time to create page: 0.050 seconds