[This is preliminary documentation and is subject to change.]
These samples provide instruction on various aspects of Unified Architecture Software Development Kit. The samples are grouped so that you can easily locate the samples appropriate to your needs.
In This Section
There are two sample applications bundled with the SDK:
UA Sample Client is a UA client spplication with a GUI. It also is a host for a UA server which is completely seperate from the GUI application.
UA Sample Server is a standalone UA server application without a GUI. It may be run as a Windows Service.
The applications can be launched from OPC Foundation\UA SDK 1.00 directory in the Programs menu.
The UA Sample Server application can also be hosted inside IIS. The installer creates a virtual directory for the IIS hosted server here: http://localhost/UASampleService/Service.svc. Clicking on that link should display an ASP .NET test page in a web browser.
If the ASP .NET test page does not appear it is a problem with your ASP .NET configuration. This page may help . |
Running the Local Discovery Server
The Local Discovery Server is installed as a Windows Service that starts automatically. This process is used by the client applications to discover servers running on a machine.
Unlike COM, UA servers must be started before a client can see them in the Local Discovery Server or connect to them. (aside, the sample binaries installer installs the Sample Server as a Windows Service and starts it automatically. |
If the Local Discovery Server is not running after installing the binaries then an error likely occurred. The installer log file is called Opc.Ua.ConfigurationTool.log.txt is created in the $(MyDocuments) folder.