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.

Application using OPC Labs Easy UA Client is throwing a unhandled exception

More
29 Aug 2018 14:30 #6623 by support
Hello,

can you show a piece of code that does the exception handling on calls to QuickOPC, or in the event handler? There are legitimate exceptions that can be thrown and cannot be fully prevented - for example, when the communication with the target OPC server breaks for any reason (server down, network problem etc.). This may be your case as well. The program needs to be written so that it handles these errors/exceptions properyl, and we have instructions for that - see e.g. opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...frame.html#Best_Practices.html .


Best regards

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

More
29 Aug 2018 12:22 #6621 by alex.garnier@radixinc.ca
OpcLabs.EasyOpc.UA.Engine.UAClientEngineException: Cannot lock the OPC-UA client session because it is not available.

This error shows up once in a blue moon and crashes the entire program. I can't recreate it and my debugging options are highly limited on a deployed machine. Its installed on a machine running production on a assembly line. What causes this error and how can I program around it? I can't find any details online.

Software/computer details:

* Running as a C# class library embedded into a cognex designer project.
* 64 bit windows embedded standard

Full error message:
 

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

Moderators: support
Time to create page: 0.132 seconds