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.

Subscribing and reading large number of tags

More
10 Jul 2020 19:15 #8652 by support
In OPC general, subscriptions are preferred over periodic reads, so you should go with the subscriptions unless there is a reason not to.

From your experience, you can experience "slowness"
A) at browsing time,
B) during data retrieval (be it periodic reads, or subscriptions).

From the forum category (OPC Classic), there isn't much that can be done to speed up the browsing, if you are doing it effectively already (not browsing what does not have to be browsed). If it were OPC UA, at least with some servers, it would be possible to subscribe to address space change events, and avoid the repeated browsing 4 times a day.

As to the data retrieval, if you have any concrete numbers (measurements), post them here please, otherwise it is difficult to judge. And, the reason can be on the server side, the client side, or both. In addition, if you are currently doing the reads but want to use the subscriptions, it probably does not make much sense to care about the reads for now.

Best regards

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

More
10 Jul 2020 09:12 #8651 by FreegE
Hi,

Currently im involved in a project to read about 40k tags (energy meters) and store in a database, the problem is that the read process takes to long time and now i need some help to find a better solution for this. The initial conscept was to iterate thru the OPC server and then find all leafes that match a filter criteria, then readvalue and store.

But now i'm more into something like doing a subscribe and ceep the tags active so that the poll reads from a updated memory casche instead. Im not sure the conscept of changed value events is a good way for this approuch but im interested in any good ideas.

Also i might add that the available meters changes often in the OPC server and therefore te process needs to refresh the tags about 4 times per day.

Best regards
Fredric

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

Moderators: support
Time to create page: 0.055 seconds