Unable to Import Opc.Ua.AMLLibraries.NodeSet2.xml|OPC UA Companion Standards|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Unable to Import Opc.Ua.AMLLibraries.NodeSet2.xml
Avatar
Shubhi Gogna Shubhi Gogna
Member
Members
Forum Posts: 27
Member Since:
04/01/2014
sp_UserOfflineSmall Offline
1
05/10/2022 - 03:48
sp_Permalink sp_Print

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

Avatar
Randy Armstrong
Admin
Forum Posts: 1450
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
05/10/2022 - 18:51
sp_Permalink sp_Print

The value should be a "String".

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 24
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1348
Posts: 4575