- Posts: 40
- Thank you received: 1
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 COM
- Reading, Writing, Subscriptions, Property Access
- PullMultipleItemChanges example
PullMultipleItemChanges example
The two topics are only loosely related to each other...
I do handle the events with Pulling, that I have troubles with non-existent items.
(this is a third topic, just for a bit more confusion, sorry)
This topic is answered. Thank you.
Please Log in or Create an account to join the conversation.
Just calling SubscribeXXXX will do what you want (and then UnsubscribeXXXX to revert).
Best regards
Please Log in or Create an account to join the conversation.
BTW, if you are not using the subscriptions for anything else, why bother trying to pull the event? Well, maybe because of the memory consumption and eventual event queue overflow; but there won't be many events, and the queue size is limited, so it won't eat all available memory.
Unfortunately I do not understand why you write this.
Please Log in or Create an account to join the conversation.
However, the sentence in the manual refers to a possible "future" that may never happen. It is not in any plans right now.
It had to do with a concept that we had where the event source (the OPC client piece) would be separated by some relatively slow connection (such as network) from where the events are consumed by the QuickOPC API (your program). Basically, QuickOPC split into two parts and doing "remoting". Even if it gets implemented (which is unlikely) at some point, it will only be for specific use cases - and most likely *not* yours.
Feel free to pick whichever method you prefer, but because the code comes out a bit simpler and we do have an example for PullItemChanged, that's what I would do.
Best regards
Please Log in or Create an account to join the conversation.
Although currently is no significant performance difference between the two methods, it is
recommended that your code uses the PullMultipleXXXX methods, because it may bring performance benefits in the
future.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
There is no such example - and there is a reason for it. It is recommended to use PullItemChanged instead, because the resulting code will be simpler, and there is no performance hit.
For PullItemChanged, the examples are here: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...Access%20-%20Event%20pull.html .
Best regards
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 COM
- Reading, Writing, Subscriptions, Property Access
- PullMultipleItemChanges example