UA Generic Client Overview

The generic UA sample client is the original reference implementation provided by the OPC Foundation. This particular client is also the most functionally complete client within this package and provides a significantly richer set of features over the other clients.

Server Interface

This client is also a Server! The default endpoint is:
opc.tcp://<localhost>:61210/UA/SampleClient

This server implementation behaves as any normal server should. Clients connecting to this interface must be trusted, just as with any UA Server.

User Interface

The user interface for the Generic UA Client uses a primary window (shown below) and uses several additional windows (see Reading Nodes, Writing Nodes, and Subscriptions):

image49.gif

Screen Elements

Menus

  • File

    • Load: loads a previously saved configuration.

    • Save: saves the current configuration to a file for later retrieval.

    • Save as...: saves the current configuration with a new filename.

    • Exit: Quit the application

  • Task:

    • New Window: spawns a new user interface window.

    • Stack Test: opens a dialog to conduct stack testing. Not documented.

    • Test 1: not implemented.

  • Discovery:

    • Servers: see Discovery

    • Register now: causes this client to register itself with the LDS.

  • Help:

    • Contents: opens this help file.

Banner

Shows the OPC Foundation logo and a [clickable] link to the website, shows the application name in large text, and shows the Certification logo with a link for more information online.

Endpoint Bar (below banner)

image50.gif

There are 2 key areas in the endpoint bar:

  • Endpoint Url: the endpoint URL (of a Server) to connect to.

  • Connect button: clicking this will attempt to connect to the specified endpoint.

Note: Follow this tutorial if you wish to make HTTPS connections.

Session (left)

Displays the current session and the currently established subscriptions. See Subscriptions.

image51.gif

Address Space Navigation (right)

A simple node browser that allows you to navigate the UA Server's address space, behaving much like a file and folder browser (such as Windows Explorer):

image52.gif

Event Notifications (bottom)

A simple log output of events that received by the client:

image53.gif

Client Functionality