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.

How to adjust the time-out while using ReadItemValue

More
21 Sep 2014 06:52 - 21 Sep 2014 06:53 #2319 by support
There are several ways this can be done. Here is how it works:

1. Upon startup, EasyDAClient component establishes the initial values of the timeouts, by looking into a shared placed in the registry. If they are not found at all, it uses internal default values (1 minute, mostly).

2. If any value *is* found in the registry, it is used as the initial value of the timeout. The registry values are configured using the EasyOPCOptions utility, which is installed with the product (accessible from the Start menu). There is a document (help file) for the utility as well within the product, plus online here: www.opclabs.com/files/documents/QuickOpc/Latest/EasyOPCOptions.pdf .

Here is how the utility looks like:



3. Once the initial values are established, they are stored in the Timeouts object, which is a property on the EasyDAClient:
You can manipulate the timeouts directly from your code in this way.

Note: In .NET, there are static properties instead of the registry-based defaults.

Best regards
Attachments:
Last edit: 21 Sep 2014 06:53 by support.

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

More
21 Sep 2014 06:26 #2315 by support
From: P.
Sent: Friday, September 19, 2014 2:12 AM
To: Zbynek Zahradnik
Subject: RE: QuickOPC Download Form - ...

Hello Zbynek, [...] I have the following questions regarding the distribution and installation of your software while using it as COM:

[...]

3. Question 3: How to adjust the time-out while using ReadItemValue if the OPCServer is not accessible ?

[...]

Thanks in advance,

P.

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

Moderators: support
Time to create page: 0.055 seconds