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.
Very slow periodic WriteItemValue() calls
The OPC Analyzer is here: www.opclabs.com/resources/product-information/knowledge-base/category/49-restricted
And the instructions are here: www.opclabs.com/files/knowledgebase/QuickOPC/QuickOPC-1-How%20to%20use%20OPC%20Analyzer.pdf
Best regards
Please Log in or Create an account to join the conversation.
Stopwatch ST = new Stopwatch();
ST.Start();
OPCClient.WriteItemValue(ServerDesc, TagName, Value);
ST.Stop();
I would be interested in utilizing OPC Analyzer. Please send further instructions.
Please Log in or Create an account to join the conversation.
Would you be willing to use a tool (OPC Analyzer) that will log the communication between your OPC client and the OPC Server? Note that your app needs to be changed temporarily to connect to OPC Analyzer instead (the OPC Analyzer acts as both a server and a client, forwards the commnunication and stores the log). The resulting log contains timing on the level function calls between the server and client, and from it, it should be possible to tell whether the delay is on the client side or server side.
Just to be absolutely sure, aren't you timing something else together with the Write? Can you post here a piece of code that does the timing please?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Thank you
Please Log in or Create an account to join the conversation.
Once every 5-10 seconds I am writing a boolean value to a single item using:
WriteItemValue( ServerDesc, DAItemDesc, Value )
I have wrapped a timer around this call and sometimes get 33ms but frequently am seeing 600ms for this single write.
Any suggestions on what could be causing such a large delay?
Thanks.
Please Log in or Create an account to join the conversation.