Register    Login
 
Professional OPC Development Tools
And Services
 
 
SupportOnline Forums
 
Links: Related Pages
 
Links: Related Services
 
Links: Related Support
 
Links: Related Resources
 
Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see link in upper right corner) in order to Post questions. You do not have to be a licensed user.

OPC Labs team is actively monitoring the forums, and provides answers as soon as possible. For your convenience, we have also assembled a Frequently Asked Questions page.

Please do not use the Contact page for technical support.

HINT: You may use the Search feature (magnifier icon below) in the forums to locate the information you need. You can also search our entire Web site (the search box in the upper right corner of every page).

 
 
SupportSupportDiscussions (re...Discussions (re...QuickOPC-ClassicQuickOPC-ClassicQuickOPC-COM  QuickOPC-COM PHP - Return multiple Subscribed Items with single pump? PHP - Return multiple Subscribed Items with single pump?
Previous Previous
 
Next Next
New Post
 12/21/2010 8:10 PM
 
I have been using subcriptions in PHP to get items on events for a while with excellent results.

However, as I roll out to more complex sites, and the number of subscribed items increases into the several hundreds I am finding the restriction of receiving one event per com_message_pump() to be a time nuisance.

Is there a way to get more than one changed item back per com_message_pump(), perhaps in an array, or is the only alternative to go to a subscribe multiple items variation, which has its own issues?

If either way is possible, could you possibly provide an implementation example as an extension of QOC-KB-5?
New Post
 12/22/2010 4:48 AM
 

Hello, in current versions (i.e. up to QuickOPC-COM 5.02, QuickOPC.NET 5.03), only one event is contained in each ItemChanged notification. This is valid even if you use SubscribeMultipleItems.

I understand the issue with effectiveness of this approach, and an improvement (MultipleItemsChanged notification) is on the to-do list. Currently this is considered for version 5.10 (main new feature in this version should be OPC Alarms&Events support), which is due by approx. 3 months from now. I wonder if you can wait? You will get the new version free of charge, as you have been so instrumental with PHP issues.

Best regards,

Zbynek Zahradnik

New Post
 12/22/2010 5:19 AM
 
Thanks for the quick response.

Yes of course, I will wait as long as is necessary to get a proven result.

My current issue is more of a nuisance than an impediment. The main problem is at initialisation time when I need to process all items in as short a time as possible. I often end up with events well behind real time until the pump catches up. Once I am operating in real time the pump bottlekneck becomes an issue only occasionally.

The OPC Alarms&Events support will also be of some benefit as I tighten my status monitoring.

I thank you for your consideration.

If you think I could be of help in beta testing let me know.
New Post
 5/23/2011 8:45 AM
 
Just checking in to see if there has been any progress with the new version ...
New Post
 5/23/2011 10:25 AM
 

Hello. You can expect a Beta of Version 5.10 available in approx. a week (I will post a note to you), with planned release June 30 (this may change).

I can confirm OPC Alarms and Events support in Version 5.10. I can also confirm the ability to pass multiple item changes in one notification. Whether this will actually bring a noticeable improvement in your scenario is something that will have to be tested (multiple events will be reduced to one - that's good; however from inside of the event handler the app code still needs to access properties of the passed objects, which will lead to further process context switches - same as before). I am read to work with you on this.

Best regards,

Zbynek Zahradnik

Previous Previous
 
Next Next
SupportSupportDiscussions (re...Discussions (re...QuickOPC-ClassicQuickOPC-ClassicQuickOPC-COM  QuickOPC-COM PHP - Return multiple Subscribed Items with single pump? PHP - Return multiple Subscribed Items with single pump?

 
 
 
 
 

 
 
 
 
Home|Services|Products|Purchase|Downloads|Support|Resources|Company|Contact
Copyright 2007-2012 by OPC Labs Terms Of Use Privacy Statement May 20, 2012