Use the C# Project Wizard for simplified creation of a OPC client C# Windows application.
The Wizard creates a C# Windows application project with small sample code. The sample code browses the installed OPC servers, connects to the selected server and browses the server's items.
Within minutes you have a custom client application that connects to your OPC server.
Action | Description |
Project Creation |
1) Start Visual Studio and select File - New - Projects |
Sample Code | The wizard created sample code contains only the server access features selected in the GUI. This makes the code easy to understand.
|
OPCDA.NET Assembly | The wizard copies the OpcDaNet.dll Wrapper assembly into the project directory. The project works with this version of the wrapper DLL even if other projects use a different version. To upgrade the project to a new version of the Wrapper assembly you need to:
|
Application Configuration | See the provided C# sample application for an example on how to use the AppReader class for application specific configuration handling. |
Deployment | To distribute the application you need to copy the files from the BIN subdirectory: - application.EXE - application.EXE.CONFIG ( if you use AppReader configuration - OPCDANET.DLL |