Skip to content
  • There are no suggestions because the search field is empty.

SLIK-DA - VB.NET Examples

How do I create a OPC Server with SLIK-DA?

Simple OPC Server

A sample OPC DA and UA Server created in VS2008 and VB.NET using SLIK-DA with UA.

We have attached an example OPC Server created in Visual Studio .NET.  It is a Windows Form application that implements the minimum required to create an OPC Server.  It is well documented and should be easy to follow.

This solution was created in VS2008, but can also be upgraded to VS2010.


This sample shows you how to:

  • Register/unregister the server using the command line
  • Create a tag database and add tags to the database (using sample tags with simulated data)
  • Set the Read/Write Access of a tag
  • Gracefully shut down the server
  • Handle a client connect/disconnect
  • Handle a client Read/Write call to the server

  • VB.NET_Simple_Server.zip

Advanced OPC Server

A sample OPC DA and UA Server created in VS2008 and VB.NET using SLIK-DA with UA.

This example will show you how to:

  • Use Tracing to log messages
  • Register/Unregister the server through the command line
  • Handle a client call to OnRead, OnWrite, OnWriteVQT, and OnTrace methods
  • Display statistics to the user, such as: the number of clients connected, number of requested items, number of data change notifications, etc.

  • VB.NET_Advanced_Server.zip