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.

GetPropertyValue slow

More
09 Apr 2015 08:06 #3040 by support
Replied by support on topic GetPropertyValue slow
There are several things that contribute to it.

1. QuickOPC version. There were speed improvements in later versions.

2. Do not call GetPropertyValue if you need multiple properties from the same server. Use GetMultiplePropertyValues and obtain them all together.

3. Building on the same idea, do not call the methods in sequence when dealing with multiple servers either. Assemble all that's required into an array, and call GetMultiplePropertyValues encompassing multiple servers. QuickOPC will operate on them in parallel.

Best regards

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

More
08 Apr 2015 21:05 #3039 by Paul.Davis
Replied by Paul.Davis on topic GetPropertyValue slow
make that: about 0.410 SECONDS together

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

More
08 Apr 2015 19:59 #3038 by Paul.Davis
I am looking at why a .net application is running quite slowly. Trace leads me to two calls to GetPropertyValue out to a remote DA server that consistently take about 0.410 milliseconds together. Other applications have no trouble getting tags from this remote server in under 10 milliseconds.

The application only needs to access several fixed tags on several different remote servers so this simple way of doing it seem logical but the cost mounts up into many seconds as the tag count rises. I have read about multiple tag access and will try this, but why is GetPropertyValue so slow?

Windows 7, EasyOPC 5.21, .Net 3.5 .......

Thanks in advance for any advice!

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

Moderators: support
Time to create page: 0.053 seconds