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 value takes up to 30 seconds

More
19 Oct 2011 07:28 #561 by support
I do not know the reason yet, but here are some ideas:
- Have you used some other OPC client to check if you can get the values faster? If so, do they have Good quality initially, immediately, or does the good quality come only after some time? This can help in recognizing whether the problem is on server or client side.
- Is the problem happening only upon startup of the OPC server or the application? It may be related to startup delays, or a need for the communication to obtain initial values.
- Related to this, be aware that the ReadItemValue and ReadMultipleItemValues methods do not just read the value from the server - they also subscribe, and more importantly, they WAIT until the quality becomes "good". This is as opposed to ReadItem and ReadMultipleItems methods, which obtain the full Value-Timestamp-Quality structure and return it to your application, regardless of the quality at that moment. So, using ReadItemValue or ReadMultipleItemValues can wait much longer.
Hope this helps at least a bit.

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

More
19 Oct 2011 07:20 #560 by support
Hello.
You need to inspect the InnerException property of the OpcException, it contains the details about about what has actually happened.
Not that if you only have license for 5.0x, you are not licensed to run 5.11. If so, this means that you actually run the trial license, and after 30 minutes you will start getting errors.

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

More
19 Oct 2011 06:01 #559 by owe@eurosys.se
Hi again.
Raised to version 5.11 yesterday after production time. This morning after 15 minutes the system went down with error
message "OPC operation failure".

Stackdump:

at OpcLabs.EasyOpc.DataAccess.EasyDAClient.CheckComResult(Int32 hResult, IErrorInfo* pErrorInfo)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.WriteItemValue(ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor, Object value)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.WriteItemValue(String machineName, String serverClass, String itemId, Object value, VarType dataType)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.WriteItemValue(String machineName, String serverClass, String itemId, Object value)

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

More
18 Oct 2011 14:08 #558 by owe@eurosys.se
THANKS!

- Is your system Windows Server 2003 R2, or Windows Server 2008 R2 (the last digit of the year is missing from your request)? If it is Windows Server 2003 R2, is it 32-bit or 64-bit system?
Answer: 2008 R2

- Is your application using one of ReadItemValue/ReadMultipleItemValues method, or is it using one of ReadItem/ReadMultipleItems methods?
Answer: ReadItemValue and ReadMultipleItemValues

- When you refer to "installing version 5.0", does it mean that on the same computer, same application, same OPC server and same configurtaion, with some other version of the component, the reading was significantly faster?
Answer : On the old 2003 server with QuickOPC ver 3 it we didn't have these problems. Now on 2008 R2 with version 5.0 we have these problems.

- Which OPC server are you connecting to? Is installed locally or remotely?
Answer: Beijer OPC locally

>Regards Owe

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

More
18 Oct 2011 13:46 #557 by support
Hello,
before I can answer this, I need more information please:
- Is your system Windows Server 2003 R2, or Windows Server 2008 R2 (the last digit of the year is missing from your request)? If it is Windows Server 2003 R2, is it 32-bit or 64-bit system?
- Is your application using one of ReadItemValue/ReadMultipleItemValues method, or is it using one of ReadItem/ReadMultipleItems methods?
- When you refer to "installing version 5.0", does it mean that on the same computer, same application, same OPC server and same configurtaion, with some other version of the component, the reading was significantly faster?
- Which OPC server are you connecting to? Is installed locally or remotely?
Thank you.

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

More
18 Oct 2011 13:33 #556 by support
From: O.
Sent: Monday, October 17, 2011 2:51 PM
To: Zbynek Zahradnik
Subject: Need your help

Hi!

I've installed version 5.0 at a client on Server 200 R2. After this the whole application is very slow. Reading an int takes up to 30 seconds.

Is version 5.0 compatible with this server version?

>Regards O.

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

Moderators: support
Time to create page: 0.053 seconds