SWTBLogo_Top_Left

 

Log In | Sign Up
Forgot your username or password?

 

 

Customer Care & Product Support

 

 

 

Skip Navigation

Upgrading from version 5.x to v 5.12 and later of OPC Data.NET

Published 12/20/2011 01:57 PM   |    Updated 12/20/2011 01:57 PM   |    Answer # 2843
Are there any special requirements to upgrade to version 5.12 of the OPC Data.NET product from a previous version 5.x?

Yes. Packaging changes implemented in version 5.12 of the library did include some minor code-breaking changes.

  1. When implementing any browsing function using the EasyDAClient object through code (i.e not with the form dialog) you will need to replace any references to an IDictionary interface with a more specific collection object.
    1. any use of the BrowseServer method will return a named type collection of ServerElementCollection instead of IDictionary
    2. any use of BrowseBranches, BrowseNodes, or BrowseLeaves will return a named type collection of DANodeElementCollection instead of IDictionary.
  2. When implementing any browsing function using the EasyAEClient object through code (i.e not with the form dialog) you will need to replace any references to an IDictionary interface with a more specific collection object.
    1. any use of the BrowseServers method will return a named type collection of ServerElementCollection instead of IDictionary
    2. any use of BrowseAreas or BrowseSources will return a named type collection of AENodeElementCollection instead of IDictionary.
  3. When accessing the returned values of these operations it is no longer necessary to access the properties as [Object].Value.[property name], where [object] is the ServerElement, DaNodeElement, or AENodeElement object in the collection. You can now access the properties as [Object].[property name]. For example, ServerElement.Value.QualifiedName will change to ServerElement.QualifiedName.

     

Was this answer helpful?
 
Please tell us how we can make this answer more useful.

Print
Notify Me
Forgot your username or password?

Find Answers

Contact Us

Ask a Question Submit a question to our team-We'll make sure the right people answer you.
If you can't find what you're looking for on our site and would like to talk with us, you may call us on +1 704 849 2773 (Global) or 888-665-3678 (US Only).
Give Feedback
How can we make this site more useful for you?