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.

Reading from cache or device

More
05 May 2015 14:57 - 05 May 2015 14:57 #3077 by support
OPC UA does not precisely have the distinction between the device read or cache read, but it is possible to specify a maximum age.

In QuickOPC, this is controlled by a parameter inside the UAReadParameters object. The property name is MaximumAge. By default, it reads from the cache, equaling to UAReadParameters.CacheMaximumAge. You can specify a number of milliseconds there.

UAReadParameters is part of UAReadArguments which is used in the most overloads of the various Read methods of EasyUAClient. There are also some overloads that take UAReadParameters directly, or can use the implicit conversion from a 'double' (number of milliseconds - the maximum age) to UAReadParameters.

Best regards
Last edit: 05 May 2015 14:57 by support.

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

More
05 May 2015 14:44 #3076 by adid@contel.co.il
hello,

when i use readTag it's operate cache read or device read ?
can i operate cahce read ?

thank you,
Adi Damty

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

Moderators: support
Time to create page: 0.153 seconds