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.
System goes slower and slower
The expected behavior with this setting is that the number of Active Tags will still increase after you Read something, but because these tags are not really active, they should not slow down the system (or, at least, not as much as before the settings were changed). And, each such Active Tag should be automatically removed after a period of time - this is the "Hold period" labeled "After topic read", and it defaults to 120000 (two minutes). There is a property for it as well, and if these inactive tags still cause a problem (and you do not expect be read again soon after the first read), you can also decrease this hold period, even significantly.
Regards,
Please Log in or Create an account to join the conversation.
- owe@eurosys.se
- Topic Author
- Offline
- New Member
- Thank you received: 0
We will start testing the new settings tomorrow. I made these changes to the EasyDACOM object (the old version). Do you think these ares the same as in the new version?
Should the number of Active Tags in the OPC-server increase for every new tag I read or how does it works with the "Internal subscribes" you talked about?
.DefaultMode.ReadValueAutomaticUpdateRate = -1;
.DefaultMode.ReadAutomaticUpdateRate = -1;
.DefaultMode.ManualUpdateRate = -1;
>Regards Owe
Please Log in or Create an account to join the conversation.
- owe@eurosys.se
- Topic Author
- Offline
- New Member
- Thank you received: 0
Though it works when using local instance in the method and not a global one it seems
to be in my code somewhere. And as you said, one static instance versus local instances
in methods shouldn't affect performance very much.
Please Log in or Create an account to join the conversation.
Being thread-safe, though, does not guarantee order of operations with respect to the OPC server, e.g. if two threads call two methods in sequence without waiting for the operation being completed, the actual order in which they are executed is not defined.
Please Log in or Create an account to join the conversation.
- owe@eurosys.se
- Topic Author
- Offline
- New Member
- Thank you received: 0
Both the old and new versions are threadsafe or? It's OK to have one static instance?
One peculiar thing we have in both versions is that if a couple of threads writes
at the same time, it seems like the first writes OK, but the upcoming threads misses to write
to the correct itemID. It writes to the itemId from one of the others threads.
Is this anything you know about? It didn't seem to happen if I write to a locally instantiated
instance in my method.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- owe@eurosys.se
- Topic Author
- Offline
- New Member
- Thank you received: 0
When I create a new Instance, should I set this property every time on the new Instance, or is there
another way?
>Owe
Please Log in or Create an account to join the conversation.
Subscribing to all tags would only make matters worse.
Please Log in or Create an account to join the conversation.
- owe@eurosys.se
- Topic Author
- Offline
- New Member
- Thank you received: 0
We had to go back to the older version of QuickOPC, 3,2, because it works slightly better with this at the moment. Do you know how
to set this version to Infinite. There is a property ReadValueAutomaticUpdateRate We will try the new version again when my customer has time for it with their production.
Could Subscribing to all tags also be a solution to the problem?
>Owe
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.