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.

Wrong values returned from ReadMultiple

More
21 Mar 2019 09:12 #7250 by veda

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

More
20 Mar 2019 10:13 #7237 by veda
This is correct. Sorry about that. This is about subscription. The only relevans might (or not) be some kind of cache setting....

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

More
19 Mar 2019 15:04 #7229 by support
Your original post was about Reads. This new one seems to be about Subscribes only. Is that correct? If so, I will move it to a different forum thread. There is no relation between the two then.

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

More
19 Mar 2019 14:58 #7228 by veda
We see an issue with some subscribed variables/values not being updated after the client has been running for some hours/days. If I start a second instance of the same client code on a different machine this client will receive update of subscription updates. So I end up with two identical clients running on two servers connected to the same OPC Server. The client that has been running for a long time will stop reporting updates (only some values, not all), while the newely started client will work as expected.

Additional note: The OPC server we see the problem realted to has very seldom updates of values.

Are there any more cache/maximum age parameters hidden in the EasyUAClient that we should adjust (related to subscriptions)? We use the EasyUAClient.SubscribeMultipleMonitoredItems functions with an array of EasyUAMonitoredItemArguments.

I find this kind of issues a bit worrying. We need to be certain that we can trust the values reported by the EasyUAClient or client will report updates. If we need to adjust some cache parameters to be able to trust the client this should be clearly highlighted in the documentation (as you know we also have some server reconnect issues).

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

More
05 Mar 2019 13:19 #7170 by veda
Thank you for a quick response. The fault is quite random, but will verify the your suggestion once we see the fault again.

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

More
05 Mar 2019 12:28 #7167 by support
Hello.

The UAReadArguments objects has a ReadParameters property of type UAReadParameters, and in it, there is a MaximumAge property. This is set to CacheMaximumAge (Int32.MaxValue) by default, with the meaning "The maximum age value that denotes reading from the cache.". See the reference documentation. Set it to DeviceMaximumAge (0.0d) and repeat the tests.

Best regards

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

More
05 Mar 2019 07:38 #7163 by veda
We have an application where we have an array of "UAReadArguments". We pass this array to EasyUAClient.ReadMultiple. When we examine the result of this call, the values returned are not correct even though we get UAAttributeDataResult.Succeeded and UAAttributeDataResult.AttributeData.HasValue (we compare with the values shown in Siemens OPC Scout client). I have not found any definitive pattern, but it looks like the values are old, and not updated correctly. Is this a known issue? Any idea how to fault find this?

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

Moderators: support
Time to create page: 0.061 seconds