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
- Reading, Writing, Subscriptions, Property Access
- ReadMultipleItems inquiry.
ReadMultipleItems inquiry.
- SimulateEvents.ConditionState1.AttributeValues.15409166
After investigation, the nature of the problem appears to be as you reported - but it turns out to be on the server side. The server is supposed to return the errors "one by one", and it normally does that - but not in this particular case; instead, it fails the whole "Read" call which contains multiple items, and therefore nothing useful can be returned for any item contained in the call.
This is clearly a server bug, and I will investigate and eventually fix it too. But there is nothing that should or can be fixed on the client side.
It will work well with other servers.
Best regards
Please Log in or Create an account to join the conversation.
It is difficult to show all the source codes.
If you bring all the opc items of OPCLabs.KitServer.2, it will be as follows.(BrowseFromNode)
Exception is thrown when the corresponding OPC Item is inserted into ReadMultipleItems.
(vtqResult = client.ReadMultipleItems(serverDescriptor, daItemDescriptors.ToArray()))
Best Regards,
Attachments:
Please Log in or Create an account to join the conversation.
But you have made a logical shortcut somewhere. What makes you think that one item is wrong? There is nothing that implies that, in what you have written. It looks more like that you have something wrong in all of them.
I cannot reproduce the problem. Can you send a full code that shows the problem?
Regards
Please Log in or Create an account to join the conversation.
But if the item is wrong, shouldn't an exception be raised only for the wrong item?
ResultIDException is thrown in all items like the image.
Please Log in or Create an account to join the conversation.
But, how do you know that "one item is wrong", if you have taken all of them and treated in the same way?
Regards
Please Log in or Create an account to join the conversation.
1. Which QuickOPC version are you using please?
- I am using the latest version. (QuickOPC 5.62.456)
2. which of the items in your inputs is 'wrong", and in which way? ,How can I reproduce it?
- If there are item 'wrong' entered in ReadMultipleItems, all of them throw an exception.
-
- serverDescriptor : OPCLabs.KitServer.2, daItemDescriptors: all items(browsed all item)
-
- Occurs when all nodeElements are added to ReadMultipleItems.
Sorry for the late reply.
Attachments:
Please Log in or Create an account to join the conversation.
can you please respond? I would really like get to the cause of this issue.
Best regards
Please Log in or Create an account to join the conversation.
More to this: I understand what you are saying, but which of the items in your inputs is 'wrong", and in which way?
How can I reproduce it?
Thank you
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-Classic in .NET
- Reading, Writing, Subscriptions, Property Access
- ReadMultipleItems inquiry.