04/01/2014
Hi Randy,
I am trying to import Opc.Ua.AMLLibraries.NodeSet2.xml and encountered issue because the Value of Variable consists of Array of ExtensionObject and DataType for Argument<i=297> is mentioned in English string format "String" instead of the nodeID "i=12" as highlighted below in Pink color? Is this allowed to mention the name of datatype instead of NodeId?
Also, I want to understand is it ok to mention "DataType="String" for a UAVariable Node as in below line(blue color) when the Value contains Array of Extension Objects with Argument as Array element of String datatype.Â
Should this Datatype(in Blue Color) be String or BaseDataType?
Please let me know if there is any thing wrong at our side so I can work on same.
<UAVariable NodeId="ns=2;i=119" BrowseName="Category" ParentNodeId="ns=2;i=83" DataType="String">
<DisplayName>Category</DisplayName>
<Description></Description>
<References>
<Reference ReferenceType="HasProperty">ns=2;i=120</Reference>
<Reference ReferenceType="HasProperty">ns=2;i=121</Reference>
<Reference ReferenceType="HasTypeDefinition">i=63</Reference>
<Reference ReferenceType="HasComponent" IsForward="false">ns=2;i=83</Reference>
</References>
<Value>
<ListOfExtensionObject xmlns="https://opcfoundation.org/UA/2008/02/Types.xsd">
<ExtensionObject>
<TypeId>
<Identifier>i=297</Identifier>
</TypeId>
<Body>
<Argument>
<Name></Name>
<DataType>
<Identifier>String</Identifier>
</DataType>
<ValueRank>-1</ValueRank>
</Argument>
</Body>
</ExtensionObject>
</ListOfExtensionObject>
</Value>
</UAVariable>
Regards,
Shubhi Gogna
1 Guest(s)