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.

Schreiben/Lesen von Tagswert dauert lang

More
02 Mar 2020 14:36 #8257 by tmouslih
Hello,

Thanks for the quick replay and for the suggestion.
But do you know what can be the cause that reading or writing of only one item value take about 100ms?

Many thanks

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

More
02 Mar 2020 14:17 - 02 Mar 2020 14:18 #8256 by support
Hello.

first thing to optimize is here is to replace replace repeated calls to ReadItem/ReadItemValue by a single call to ReadMultipleItems/ReadMultipleItemValues (or at least a couple of calls to ReadMultipleItems/ReadMultipleItemValues with as much as possible large number of items in each of them).

Best regards
Last edit: 02 Mar 2020 14:18 by support.

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

More
02 Mar 2020 11:52 #8254 by tmouslih
Hallo,

Wir benutzen OPC Classic mit absoluter Adressierung und haben das Problem dass das Lesen und Schreiben von Tags relativ lang dauert. Allein beim Starten der Applikation dauert es bis 5 Minuten bis alle Tages initialisiert und gelesen werden.
Das Lesen von 160 Tags dauert etwa 3 Minuten (von 07:07:47.016 bis 07:10:26.064). Bitte Sehen Sie das Logfile im Anhang.

Ist Ihnen so einen ähnlichen Fall bekannt?
Was können die Ursachen sein?
Wie kann man das Lesen/Schreiben von Tag-Werten optimal beschleunigen?

Ich würde Ihnen sehr dankbar wenn Sie umgehend meine Fragen beantworten könnten.

Vielen Dank im Voraus.
Attachments:

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

Moderators: support
Time to create page: 0.052 seconds