the ExtensionObject Node
the extensionObject node is a convenience node to create ExtensionObject values to be written to an OPC UA server.
It query the server for the DataType definition of the target node and construct the ExtensionObject value from a simple javascript object.
A typical flow to write an ExtensionObject value is:
[ Inject ] → [ ExtensionObject ] → [ OPC UA Write ] → [ Debug ]
Where you would inject a simple JavaScript object representing the ExtensionObject value. The ExtensionObject node will handle the conversion and formatting required for the OPC UA server.
[Inject payload= { ScanData: {...}}]
-> [ ExtensionObject (ScanDataType) ]
-> payload= { UaTypeId: "nsu=http://opcfoundation.org/UA/AutoId;i=3007", UaBody: { ScanData: {...}} }
-> [ OPC UA Write ] -> Write ExtensionObject to server