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.

Update rate remains at the fastest rate defined

More
14 Oct 2010 06:55 #113 by admin
Yes, I think that's related - is is quite likely that the application code does not call the appropriate Release()-s on all interface pointers it has, in such case. In some cases, however, the infrastructure takes care of it eventually (though it may take some time) - for example, this is in the case of remote DCOM. I am not sure about local COM, which works a bit differently - anyway, I will test it.

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

More
12 Oct 2010 12:06 #110 by steveh
It is an abrupt one. The script is running under CLI and I am using Ctrl+Break to stop it.

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

More
01 Oct 2010 11:54 #105 by support
Can you describe how you "stop the script"? Is it kind of a normal termination, or an abrupt one such as Ctrl+Break to CLI ?

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

More
01 Oct 2010 03:49 #103 by steveh
I have managed to get your example working in my test context and have expanded it to subscribe and handle multiple items so that only changed items are returned individually. It all seems to work well (after I upgraded the QuickOPC-COM software). I will now proceed to try to implement it in my real world context.In doing the work I have noticed behaviour that I had not expected, so I mention it here in case it is not intended. I am running EasyOPC-DA as a local server. If I call a SubscribeItem() with a RequestedUpdateRate of say 1000 then it updates at 1000ms as expected. If I then stop the script, and run it again with a RequestedUpdateRate of say 500 it updates at 500ms as expected. If I then stop the script and run it again with a RequestedUpdateRate reverted to 1000 it updates at 500ms NOT as expected. The update rate remains at the fastest rate defined.This is true until I stop the eopcdal.exe process. Once I have stopped the process and run the script again it then reverts to the 1000ms as expected.The behaviour wont impact my usage as the update rates will be constant, but it might impact others.

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

Moderators: support
Time to create page: 0.052 seconds