You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-9
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Supports .NET Core, Universal Windows Platform (UWP), Windows Presentation Frame
10
10
11
11
### Getting Started
12
12
13
-
Install package ``Workstation.UaClient`` from [Nuget](https://www.nuget.org/packages/Workstation.UaClient/) to get the latest release for your hmi project.
13
+
Install package ``Workstation.UaClient`` from [Nuget](https://www.nuget.org/packages/Workstation.UaClient/) to get the latest release for your HMI project.
14
14
15
15
Here's an example of reading the variable ``ServerStatus`` from a public OPC UA server.
16
16
@@ -40,7 +40,7 @@ public class Program
40
40
clientDescription,
41
41
null, // no x509 certificates
42
42
newAnonymousIdentity(), // no user identity
43
-
"opc.tcp://opcua.rocks:4840", // the public endpoint of a server at opcua.rocks.
43
+
"opc.tcp://opcua.demo-this.com:51210/UA/SampleServer", // the public endpoint
44
44
SecurityPolicyUris.None); // no encryption
45
45
try
46
46
{
@@ -58,8 +58,8 @@ public class Program
58
58
NodesToRead=new[] {
59
59
// construct a ReadValueId from a NodeId and AttributeId.
60
60
newReadValueId {
61
-
// you can parse the nodeId from a string.
62
-
// e.g. NodeId.Parse("ns=2;s=Demo.Static.Scalar.Double")
An example of subscribing for a variable by use of [System.Reactive](https://www.nuget.org/packages/System.Reactive/) can be found in our [sample repository](https://github.com/convertersystems/opc-ua-samples/tree/master/ConsoleApp/Program.cs#L122).
103
+
102
104
### Model, View, ViewModel (MVVM)
103
105
104
106
For HMI applications, you can use XAML bindings to connect your UI elements to live data.
0 commit comments