Professional OPC
Development Tools


Read problem

08 May 2019 12:16 #7346 by federica
Replied by federica on topic Read problem
thank you very much for your quick responce.

I implemented your solution in our application and I installed it by our customer.
It solved the problem.

I suggested my customer to contact their supplier of the OPC-UA server.
If I receive any feedback, I let you know.

Best regards,

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

24 Apr 2019 05:55 #7332 by support
Replied by support on topic Read problem
QuickOPC provides the data as received from the server. The value, status code, and timestamps come "together" in a Read response. if the server has not returned the right value, the question should primarily be targeted to the server vendor.

You can try to instruct the server to always give you values "from device", preventing it from using any cache. See at the bottom. Basically, in the ReadArguments passed to one of the Read methods, you need to access the ReadParameters object, and set its MaximumAge property to zero.

Best regards
The following user(s) said Thank You: federica

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

23 Apr 2019 09:54 #7331 by federica
Read problem was created by federica
I'm using your SDK (QuickOPC 2018.1, in particular OPC-UA under COM with C++) since last year.
I'm facing a strange problem from a customer with his OPC-UA server (OMRON).

In order to analize the problem, I'm using your application "EasyOpcUADemo".

"Browser servers..." shows the OPC-UA server without problems.
"Browse data..." shows available variables without problems.
I specify "Value to write" and press "Write value": no problem.
I press "Subscribe" and fields on the right ("Value", "Status", "Source timestamp" and "Server timestamp") update.

If I press "Read", only "Server timestamp" updates while "Value", "Status" and "Source timestamp" doesn't update and preserve the old value.
I receive no exception.

If "EasyOpcUADemo" is subscribed, my application read the variables (with "Read" method) without problem.

Have you any idea?
What could be the problem?

Thank you!

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

Moderators: support
Time to create page: 0.175 seconds


 Recommend this on Google