WOLFRAM SYSTEM MODELER
ExampleServerThe included example server |
![]() |
SystemModel["OPCUA.Documentation.ExampleServer"]
The OPCUA Library comes with an OPC UA server that contains nodes of all types supported by the library, and this server is used by the examples throughout the library.
The server executable ExampleServer
is located in a platform-specific subfolder of the Resource/Library folder:
By default, the server is started on port 16664
, allows anonymous connection and uses unencrypted communication.
Some examples require two servers (the other on port 16665
). There are two utility scripts included for starting these two servers, StartExampleServers.bat
for Windows and StartExampleServers
for macOS and Linux.
Some examples, like AuthenticationAndEncryption
, require a server wtih access control and secure communication.
That can be enabled with the following switches to the ExampleServer
:
-ac
: Enables access control; clients must authenticate as user username1
with the password password1
.-cert
: Enables secure communication, and any client that wants to connect must use security mode Sign
or SignAndEncrypt
.