Questions tagged [node-opcua]

Node OPC/UA is an implementation of an OPC UA stack fully written in JavaScript and Node.js

Node-OPCUA, is an implementation of an stack fully written in and

High Quality

According to their website, has been developed using TDD and benefits from more than 2500 unit tests and 90% code coverage. uses Travis as a continuous integration service.

Link to continuous integration (CI) page here.

Also available on TypeScript

can be use in as well as in .

Platforms

runs on all the platforms that supports (ie: , and ). It also supports resource constrained, low cost, low power single-board computers such as .

Documentation

will benefit from a comprehensive SDK API documentation, numerous end-to-end functional tests, and a set of practical examples to help you learn how to use it.

The documentation directory can be viewed here, or you can view the documentation for version 2.0.0.

Useful Links

121 questions
1
vote
3 answers

Opc-UA communication protocol , How does the client understand about available server nodes?

As am starting out with opc ua , i just wanted to know what happens under the hood of the communication layer of opc ua. Lets take an example of a very simple server implementation that has 3 nodes in the address space. These nodes present data that…
salimsaid
  • 3,186
  • 4
  • 15
  • 20
1
vote
1 answer

OPC UA client data access to server

I have a scenario where the OPCUA client have no idea about the construction of the OPCUA server address space, still the client knows the connection credentials. Can the OPCUA client still access the data from the server without the namespace and…
John Desilva
  • 43
  • 1
  • 6
1
vote
1 answer

node-opcua, write error: Transaction has timed out

I'm using node-opcua 0.0.64. I'm trying to write a boolean value for one variable using opcuaSession's write method in my client. Some calls are successful but about 70% are not. After exactly 60 seconds the response says "Transaction has timed…
P. Deyna
  • 11
  • 2
1
vote
0 answers

Node OPC UA Monitored Item. How to get data after a given time

I am using a node opc ua client to connect to a opc ua server. I have added a subscription for an item on the server like this: ... addMonitoringFor(opcNode, callback) { const monitoredItem = opcSession.monitor({ nodeId:…
Locco0_0
  • 3,420
  • 5
  • 30
  • 42
1
vote
1 answer

Appending/Inserting Data into MongoDB

Hi all of stackoverflow users, I am currently facing an issue regarding mongodb & nodejs. I am trying to insert data into mongodb, and I have all the data ready to be inserted into mongodb. The data I am using to insert is a csv type file. This is…
Marcus
  • 61
  • 1
  • 9
1
vote
2 answers

Require is not working for node-opcua

I want to load a local version of node-opcua with 'require' inside a HTML file, but it does not really work. The code snippet is the following: