Skip to content

Dicondur/opc-ua-samples

 
 

Repository files navigation

Workstation NodeServer mobilehmi-droid

opc-ua-samples

Supports Universal Windows Platform (UWP) and Windows Presentation Framework (WPF) applications and now Xamarin Forms.

Build a free HMI using OPC Unified Architecture and Visual Studio. With this library, your app can browse, read, write and subscribe to the live data published by the OPC UA servers on your network.

Get the companion Visual Studio extension 'Workstation.UaBrowser' and you can:

  • Browse OPC UA servers directly from the Visual Studio IDE.
  • Drag and drop the variables, methods and events onto your view model.
  • Use XAML bindings to connect your UI elements to live data.

Main Projects

  • ConsoleApp - An example console application. Demonstates use of SessionChannel for creating subscriptions and logging of data changes or events.
  • StatusHmi - An simple example HMI for .NETFramework 4.6.1. Demonstrates basic subscription feature of Workstation.UaClient.
  • RobotHMI - An more complex example HMI for .NETFramework 4.6.1. Demonstrates features of Workstation.UaClient, such as reading /writing variables, logging events, calling methods.
  • RobotApp - An more complex example HMI for Universal Window Platform (UWP). Demonstrates features of Workstation.UaClient, such as reading /writing variables, logging events, calling methods.
  • MobileHmi.Droid - An simple example HMI for Xamarin Forms. Demonstrates basic subscription feature of Workstation.UaClient working in the Android Emulator.
  • NodeServer - An example OPC UA Server for Node.js. Demonstates features of Node-OpcUa package. Requires installation of:
  1. Node.js version 6.2.1 or higher - https://nodejs.org/en/
  2. Node.js Tools for Visual Studio version 1.1 or higher - http://aka.ms/explorentvs

Releases

v1.5.0 Added support for Xamarin Forms. Introduced ICertificateStore and DirectoryStore.

v1.4.2 Upgraded Trendline control for UWP. Adjusted UaTcpSessionClient constructors to use an async certificate provider.

v1.4.1 Revamped the view models to depend on a shared session client passed in the constructor. Changed some view models to subscribe when navigated to and unsubscribe when navigated away.

v1.4.0 Added "Sign In" dialog to support servers that require a UserNameIdentity. NodeServer has new command line argument "--allowAnonymous" | "-a"

v1.3.0 Added StatusHmi to demonstrate the basic subscription feature.

v1.2.0 Added ConsoleApp to demonstrate that SessionChannel is all you need for logging of data or events.

v1.1.0 Expanded AxisDetail page.

v1.0.0 First commit.

About

Sample HMIs using OPC Unified Architecture (OPC UA) and Visual Studio. Sample OPC UA Server using node-opcua.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 93.3%
  • JavaScript 6.6%
  • HTML 0.1%