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.

Writing to Kepware OPC DA string tags issue

More
13 Jun 2017 04:20 #5233 by support
Hello,

thank you for the useful information. We would like to investigate this and fix. In order to do so, we first need to reproduce the issue on our side.

Do you have (or can you prepare) a project that you send us and that would show the problem?

Thank you

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

More
12 Jun 2017 19:07 #5232 by Stakheiko
We have also tried the newer toolkit QuickOPC 2016.1 and result is the same.

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

More
12 Jun 2017 14:03 #5231 by Stakheiko
Hello.

We have used QuickOPC 5.30 kit to develop a client application which subscribes to the Kepware OPC DA server tags and based on some numeric type tag values writes corresponded messages to the same OPC server string type tags.

Application worked pretty good until we increased number of instances up to 5. At this point application became frozen. Console messages indicate an internal error:

Exception Writing OPC Tag:
OpcLabs.EasyOpc.OpcException: An OPC operation failure with error code -1073430512 (0xC004C010) occurred, originating from 'OpcLabs.EasyOpcRaw.DataAccess.RawEasyDAClient'. The inner exception contains details about the problem. ---> System.Runtime.InteropServices.COMException: Write not completed. This error indicates that it could not be verified that the requested write operation was completed during the timeout period. It is possible that the write operation will actually succeed or fail, but later. Increase the timeout period if you want to obtain positive or negative indication of the operation outcome. Other reason for this error may be that under heavy loads, topic request or response queue is overflowing. Check the event log for queue overflow errors (if event logging is supported by the product and enabled).
--- End of inner exception stack trace ---


We have consulted with Kepware Tech support about this issue. After testing our application in their lab, Kepware response is:
The heart of the problem here is that the client is blocking on the OnWriteComplete call when it should not be doing so. The OPC DA specification does not specify whether the server side OnWriteComplete should be handled asynchronously or synchronously, so it is up to the client to handle both cases.

We have used EasyDAClient class in our implementation.

Do you have any idea what could happen and how to fix this issue?

Thank you in advance.

Mikhail

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

Moderators: support
Time to create page: 0.053 seconds