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.

Asynchronous read and write with the EasyUAClient example?

More
04 Dec 2014 16:42 #2531 by support
Can you please provide details about the "timeouts" you are referring to? There are different kinds of timeouts. Are those timeouts exceptions coming from EasyUAClient methods?

In general, there are some serialized operations inside EasyUAClient-s. With one instance of EasyUAClient, or even multiple instances that are sharing the same connection to the OPC UA Server, these will be performed in a serial manner. It is possible to the .Isolated flag on the EasyUAClient objects, which prevents them from sharing the same connections, resulting (among other effects) in less inter-locking.

Best regards

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

More
04 Dec 2014 11:17 #2528 by rvbr@allseas.com
Hello,

I'm currently writing a C# application that uses allot of asynchronous and multithreading, resulting in multiple instances of the EasyUAClient. This seems to be no problem for the SubscribeMonitoredItem, but I run into problems when I read the initial OPC values with a Read on initialization.

Now is my theory that these problems are the result of the blocking behavior of the synchronous reads (and possibly the already running writes), resulting in some unwanted timeouts.

So I really like to use asynchronous read and write operations in combination with the EasyUAClient, but I have trouble finding examples and the correct library part to provide this functionality :blush:

So in short:
Are there asynchronous examples using the EasyUAClient?
What part of the library provides the ReadAsync and WriteAsync operations?

Thanks in advanced!

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

Moderators: support
Time to create page: 0.043 seconds