The OpcDaNet-UA option extends OPCDA.NET with support for accessing OPC UA servers.
Existing OPCDA.NET client application can be upgraded with UA support by simply compiling the application with a reference to the UA option DLLs. No code changes are necessary.
Client applications can support access to OPC DA and OPC UA servers without additional development effort.
The OpcDaNet-UA solution has important advantages over solutions with an external UA wrapper. DCOM is completely eliminated because the UA wrapping happens within the client application process.
The client application uses only one API, the well established OPCDA.NET API with an extensive set of classes for the efficient development of high quality applications. The different classes such as Visual Studio Designer Components, DataBind and Background Server Access works with OPC DA and OPC UA servers. |
Requirements:
- OPCDA.NET V12.0 or newer
- .NET Framework V4.7.2
Upgrade an existing OPCDA.NET based client application to UA support
The client application needs to be recompiled with references to the UA version OPCDA.NET DLLs. Only these DLLs contain the hooks for UA option DLL.
The DLLs that need to be referenced for DA/UA support are:
- The Professional Edition OPCDA.NET V12.0
OpcDaNetUA.Net4.dll respectively OpcDaNetWpfUA.Net4.dll for WPF applications
- OpcNetBase.Net4.dll
The common classes for OPCDA.NET, OPCHDA.NET and OPCAE.NET
- OpcDaNetUAOption.Net4.dll
This is the UA wrapper. It has to be purchased as a license separate from OPCDA.NET
For access to OPC DA servers nothing has changed.
To access UA servers the UA server URL is specified in place of the OPC DA ProgID.
The format is: UA:[scheme://]host/name e.g. UA:tcp://localhost/UAPlus
For details see chapter Communication Configuration.
Create a New OPC DA / UA Application
For Windows Forms applications use the Advosol/OpcDaNetUA template in the Visual Studio New Project wizard. This creates a solution with the required DLL references.
For other types of applications the references can be added as listed above after the project is created.
Visual Studio 2017 and newer can be used to create UA client applications for .NET4.7.2