- Posts: 14
- Thank you received: 0
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.
EasyUAClinet subscribe method throws InvalidOperationException error (5.40)
Thank You very much for a fast response.
Best Regards
Kind regards,
Software Engineer Team
UK Power Reserve Ltd
6th Floor, Radcliffe House, Blenheim Court, Solihull, B91 2AA.
Please Log in or Create an account to join the conversation.
this problem should be fixed in the current QuickOPC build, 5.40.287.1. This build is now both on our download page, and on NuGet.
Can you please re-build your project with the new build.
Best regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I understand this is not nice, because we have suggested to upgrade to a new version in order to overcome the other problem.
What you are now reporting comes from an area that has changed in version 5.40 (due to support for UA Alarms and Conditions), therefore it is possible that a problem has been introduced there. It has not come up in our testing, but we will re-test differently, and inspect the code now. If you can provide as much as possible information about what you do and in what timing sequence, it would be helpful (although you have already described a lot).
I still recommend switching over to version 5.40. This particular problem is something we can resolve - as soon as we get it reproduced. There won't be any, or any significant updates to version 5.35.
Best regards
Please Log in or Create an account to join the conversation.
we've switched from 5.35 to 5.4 version for testing. We've used to nuget packages to get de dlls.
The code that worked before now sometimes throws an exception when we try to subscribe an item using SubscribeMonitoredItem. The error message is "Precondition failed: SdkMonitoredItem == null". The surprising thing is that first few items are subscribed ok. Then the next item throws an error but we get events for this item and the rest of items subscribe ok. Our code for now requires us to use SubscribeMonitoredItem in a loop but it worked without any errors for version 5.35. Even after we added a wait for 0.5 s between subscriptions we still sometimes get the error and it seems that it always throws it after two items. Can we manipulate some internal timeout to remedy that or do we have to redesign our code to use SubscribeMultipleItems ?
Regards,
Michal Waclawski
michal.waclawski@ukpowerreserve.com
Kind regards,
Software Engineer Team
UK Power Reserve Ltd
6th Floor, Radcliffe House, Blenheim Court, Solihull, B91 2AA.
Please Log in or Create an account to join the conversation.