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
0 answers

Problem with monitoring multiple OPC UA nodes

Current behavior In a client, when monitoring multiple nodes using a forEach loop, only two nodes get monitored on version 2.30.0 and only one in 2.72.2 while the array that generates the loop contains 5 items. Behaviour in 2.30.0 Bahaviour in…
1
vote
0 answers

Can I connect my mern stack application to an OPC UA server

I have my masters project due in a month and my professor has now asked me to connect what I've made using the MERN stack to an OPC UA simulation environment. Is this even possible? I'm looking around online and can't find much, if anyone can point…
SebR
  • 67
  • 1
  • 8
1
vote
1 answer

Error message through data readout of an OPC UA node - AttributeError: 'str' object has no attribute 'time_low'

I want to read data from nodes via OPC UA. The ns and id are correct but when trying to read data from the node it throws an error during converting python UUID 6 field format to OPC UA 4 field format. The node is a variable but it has also two…
chris_2091
  • 47
  • 7
1
vote
1 answer

How to add custom information model XML.file to server and run It?

I'm currently working on open62541. I created one object XML file. now I want to add the file to server and try to run server. when server runs the XML file contain objects should be show on opcua-client application.
1
vote
1 answer

While browisng OPC-UA nodes, My code is iterating for tag nodes too weather if it has further nodes or not. How can I know If a node is a tagor not?

Here my code is for iterating the nodes, but its also iterating for the leaf node and checking for its child(which is the tag node), how can I directly know if the current node is tag node or not, without seeing for its child. below is my java…
khÜs h
  • 51
  • 6
1
vote
1 answer

Method call with an argument of type array with a valueRank > 1 fails with 'BadInvalidArgument'

I'm using node-opcua to create an opc-ua server using node.js. On the server-side, I register a method that has an 2-Dimensional Array as an input argument. When browsing the server from a client like UaExpert, I see the method with a proper…
erg
  • 1,632
  • 1
  • 11
  • 23
1
vote
0 answers

Monitor Multiple variables in one subscription Node OPC-UA

I am Using NodeOPCUA To detect Variable change,So i am using this code as ref https://github.com/node-opcua/node-opcua/blob/master/documentation/creating_a_client_callback.md Every thing is working fine, only i need to is it possible to monitor…
LAV DIXIT
  • 11
  • 2
1
vote
0 answers

Subscribe one one Item and read multiple other ones

i try to create a opc-ua-client with the "node-opcua"-npm package (NodeJs) to do the following thing: I wan`t to subscribe to one item and every time this value changed i want to do a simple read on about 200 other variables to save it in a file or…
Daniel
  • 11
  • 1
1
vote
1 answer

Node-opcua interoperability issue. How to solve?

I am running into an issue with the node-opcua library. We use the library to set up a client that connects anonymously on a Kepware Server (v6). App is working fine in debug and in production on various servers but seems to be unable to create a…
1
vote
0 answers

Add structure (extensionObject) to node-opcua server

I download node-opcua sample server, and I try to add some opc ua nodes, in order to test the server. I was able to create object and variable: const namespace = addressSpace.getOwnNamespace(); const myDevices =…
1
vote
1 answer

Can I read a value using a path in OPC UA?

Consider this OPC UA tree (from a publicly available server at opc.tcp://opcuaserver.com:48010): From what I understand, one can read values from the OPC UA server, using a Node ID (which uniquely identifies the node): const dataValue = await…
Max Ivanov
  • 5,695
  • 38
  • 52
1
vote
0 answers

Client subscription increases memory usage on server side

(X) support request Current behavior Limit or monitor client queueSize, sampling interval, publishingInterval and maxNotificationsPerPublish from server side. Client subscription increases memory use too much (above 1GB of RAM) in server…
1
vote
1 answer

Mapping of C# objects to OPCUA

I am new to OPC UA, Our requirement is that the OPC UA Client app will do the reads/write data from/to a backend system (which is the system of record) via a OPC UA server. How can we represent the backend system C# objects in an OPC UA Server? So…
rajesh k
  • 11
  • 1
1
vote
1 answer

How to trust a self-signed server certificate with the node-opcua client

I have a simple node-opcua client and it wants to connect to a server via Basic128Rsa15 policy. I have created a self-signed certificate and the server does receive this cert and I can move it on the server to the trusted pki directory. At my client…
1
vote
1 answer

NodeJS - How to generate certificate and private key with node-opcua-pki

I'm trying to establish an OPCUA connection between my NodeJS App (Client side) and an OPCUA server (not NodeJS based). I'm using the module node-opcua and I have no problem to connect to the OPCUA server with no encryption. However I want my…