node-red-contrib-opcua icon indicating copy to clipboard operation
node-red-contrib-opcua copied to clipboard

OPC-UA Server Variable Example

Open rmv5004 opened this issue 1 year ago • 1 comments

I believe the example OPCUA-VARIABLE.json use to work. After comparison I believe either the "namespace" is being ignored or the namespace needs to be added to "variableName". Change from "TestVariable2" to "1:TestVariable2" below.

The example message format currently not working: {"messageType":"Variable","variableName":"TestVariable2","datatype":"Float","namespace":"1","variableValue":"23.4"}

After modification to reflect a client variable write: {"messageType":"Variable","variableName":"1:TestVariable2","datatype":"Float","namespace":"1","variableValue":"23.4"}

rmv5004 avatar Oct 30 '23 13:10 rmv5004

I expect it´s due node-opcua checks Qualified name. I haven´t notice this by myself. variableName equals browseName that is Qualified name.

I will study this more when I have time, but if you can fix variable names then I will not start to modify code...

mikakaraila avatar Nov 15 '23 12:11 mikakaraila