- Posts: 42
- Thank you received: 4
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.
XML DA: COMException(0x800401F3): Invalid class string
- goosvanbeek
-
Topic Author
- Offline
- Platinum Member
-
I'll use the eventhandler method instead.
Regards,
Goos van Beek.
Please Log in or Create an account to join the conversation.
If you want a callback (lambda) at the same, and to specify percent deadband (which is part of GroupParameters), this leaves you with the following method only:
- opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...angedEventHandler,Object).html
As the serverDecriptor argument, you can simply use the URL, there is an implicit conversion from string to ServerDescriptor. Similarly with itemDescriptor. And, use "new DAGroupParameters(...)" for the groupParameters argument, picking the suitable constructor overload from here: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...s.DAGroupParameters~_ctor.html .
I hope this helps
Best regards
Please Log in or Create an account to join the conversation.
- goosvanbeek
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 42
- Thank you received: 4
See the image below for the exception message. The machine url is the OPC Labs demo server.
Exception image
Connecting to the same server without (all) the named parameters and the same url works fine.
Regards,
Goos van Beek.
Please Log in or Create an account to join the conversation.
Note that the OPC XML servers are not addressed by machine name/serverclass, but by a single URL, so that is the most apprarent issue here
Please Log in or Create an account to join the conversation.
- goosvanbeek
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 42
- Thank you received: 4
I want to use the percentDeadband parameter in a lambda expression, but this causes a comexception.
Can you help me any further?
See the code below to reproduce the exception.
Goos van Beek.
Please Log in or Create an account to join the conversation.