- Posts: 31
- Thank you received: 2
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.
- Forum
- Discussions
- QuickOPC-Classic in .NET
- General Issues, Building
- Creating multiple EasyDAClient objects, blocking
Creating multiple EasyDAClient objects, blocking
Yes, my intention was to say that if I create two clients in the main function then the application wont' block when creating the other 12.
And ok, I'll give a try to the last release
Please Log in or Create an account to join the conversation.
I do not understand how the following two statements can go together:
"The console application blocks at the constructor call of the second client."
"The strange fact is that if I create two (not one, two) clients in the program's main function then the application won't block.".
So, if you create two clients, according to the first sentence, it blocks; according to the second sentence, it does not block. Can you clarify? Or does it have to do with the fact *where* you create them? (in the main function, versus the threads?)
There was no fix to specifically address this issue, because, in general, we can only fix issues that we can reproduce. But we do not provide fixes for earlier versions, so the first thing to do would be to try the behavior with the newest version (2018.1). If that fixes the problem and you are not covered by the maintenance, I can give you an additional discount towards purchasing an upgrade. If using 2018.1 does not fix it, I would ask you to kindly try to put together an example that we can run on our side and that shows the problematic behavior.
Best regards
Please Log in or Create an account to join the conversation.
I have 12 xml files with the paramteters for my application. A couple of such files have more than 1000 parameters.
I deserialize them with different threads and try to create an OPC Client for each file.
The console application blocks at the constructor call of the second client.
The strange fact is that if I create two (not one, two) clients in the program's main function then the application won't block.
I'm using the version 5.35. Was it solved in a newer release?
Thanks
Please Log in or Create an account to join the conversation.
I will inform next week if that passed.
Please Log in or Create an account to join the conversation.
This sounds similar to the problem I have described earlier. I think we should try some workarounds.
Can you pre-create the objects in the main thread, and then just use them? EasyDAClient allows
that.
Or, based on how you have described your needs, why don't you just create one EasyDAClient instance and use it in all threads? That is also allowed.
Best regards
Please Log in or Create an account to join the conversation.
When the problem occurs, the entire application is stuck until it is restarted. One time we waited few hours before restart the application. Always the same behavior.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Our backend is Windows service, which also hosts web-services so they run in separate thread, so considering threads, we are creating separate thread for each EasyDAClient.
But since using creating of EasyDAClient for service call which requires writing the data to OPC, and this is key operation in our system, whole system is made so there is only one of this operations running (like SingleCall) so there is no case we are calling two or more services at the same time (also confirmed by our logs).
Please Log in or Create an account to join the conversation.
Our backend is Windows service, which also hosts web-services so they run in separate thread, so considering threads, we are creating separate thread for each EasyDAClient.
But since using creating of EasyDAClient for service call which requires writing the data to OPC, and this is key operation in our system, whole system is made so there is only one of this operations running (like SingleCall) so there is no case we are calling two or more services at the same time (also confirmed by our logs).
Please Log in or Create an account to join the conversation.
Our backend is Windows service, which also hosts web-services so they run in separate thread, so considering threads, we are creating separate thread for each EasyDAClient.
But since using creating of EasyDAClient for service call which requires writing the data to OPC, and this is key operation in our system, whole system is made so there is only one of this operations running (like SingleCall) so there is no case we are calling two or more services at the same time (also confirmed by our logs).
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-Classic in .NET
- General Issues, Building
- Creating multiple EasyDAClient objects, blocking