https://github.com/node-opcua/node-opcua-sample
a simple OPCUA sample client to demonstrate how to use node-opcua SDK
https://github.com/node-opcua/node-opcua-sample
javascript node-opcua sdk
Last synced: 6 months ago
JSON representation
a simple OPCUA sample client to demonstrate how to use node-opcua SDK
- Host: GitHub
- URL: https://github.com/node-opcua/node-opcua-sample
- Owner: node-opcua
- Created: 2014-02-14T13:50:24.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-03-18T08:57:13.000Z (about 2 years ago)
- Last Synced: 2024-04-14T09:04:48.304Z (almost 2 years ago)
- Topics: javascript, node-opcua, sdk
- Language: JavaScript
- Size: 483 KB
- Stars: 30
- Watchers: 7
- Forks: 30
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-opcua-sample
a simple OPCUA sample client to demonstrate how to use the [node-opcua](https://github.com/node-opcua/node-opcua) SDK.
This sample comes with 3 flavors
* Typescript with async/await support.
```console
$ npm install ts-node -g
$ ts-node simple_client_ts.ts
```
* NodeJS version > 10.0 (es2017) with async/await support
```console
$ node simple_client_es8.js
```
* old NodeJS ( version 8.0)
this version uses the old callback back mechanism which is not recommended anymore
```
$ git clone https://github.com/node-opcua/node-opcua-sample
$ cd node-opcua-sample
$ npm install
$ node simple_client.js
```
## More information

The book [NodeOPCUA by Example - Edition 2024](https://leanpub.com/node-opcuabyexample-edition2024) provides a comprehensive set of examples that goes beyond the simple example provided here.