FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
09-20-2021 05:22 PM - edited 09-20-2021 05:24 PM
Hello,
On a Virtual ctrlX with the new version 1.10.3 I've installed the new Snaps of Node-red and OPC-UA Client.
In node-red I would like to create a new client. On the documentation of the OPC-UA Client is written that the name and the endpointUrl are the only mandatory input, everything else is optional.
I tried to create a new client both with only the mandatory input and with all the input, but the debug gives me this error: "CtrlxProblemError: DL_TYPE_MISMATCH".
These are the two configurations:
All Parameters:
Mandatory Parameters:
Why the type mismatch error? What am I missing?
Best regards
Andrea Toffalori
Solved! Go to Solution.
09-21-2021 01:51 PM - edited 09-21-2021 01:55 PM
I think at least you are using not the correct input to the Data Layer node. It is expecting a specified strukture. You could have a look to this topic for some examples.
EDIT:
var newMsg = {};
newMsg.payload = {
"type":"object",
"value":{
"name":"client3","endpointUrl":"opc.tcp://127.0.0.1:4840"
}
}
return newMsg;