Hi
I’m using “node-red-contrib-opcua” and trying to write a JSON string to an InputArguments methodId with the help of OpcUA-Method node.
I can read data from the corresponding outputArguments method. But I can’t figure out how to write the code in my function node to puch the content of a JSON string to an OPCUA Method.
Below is the script I’m using in my function node to read data (taken from the example from “node-red-contrib-opcua” documentation <link>):
msg.objectId = "ns=2;i=5476";
msg.methodId = "ns=2;i=8106";
return msg;
Anyone that can help me?
Best Regards //Håkan