Unable to import OpcUaAMLBaseTypesNodeSet2.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 OpcUaAMLBaseTypesNodeSet2.xml
Avatar
Shubhi Gogna Shubhi Gogna
Member
Members
Forum Posts: 27
Member Since:
04/01/2014
sp_UserOfflineSmall Offline
1
01/23/2022 - 21:58
sp_Permalink sp_Print

Hi Team,

I am unable to import OpcUaAMLBaseTypesNodeSet2.xml as there are multiple nodeId's which has ParentNodeId attribute with no value . For ex: at line 110:

<UAObject NodeId="ns=1;i=5006" BrowseName="1:AutomationMLFiles" ParentNodeId="">

I think PArentNodeId should be present with some value so that we can link the node to its parent. Can you please confirm if this is issue in XML? If not, what should server do with the node whose Parent node id is missing?

Regards,

Shubhi Gogna

Avatar
Randy Armstrong
Admin
Forum Posts: 1444
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
01/24/2022 - 01:35
sp_Permalink sp_Print

ParentNodeId is optional. Your importer should be able to handle it.

Avatar
Shubhi Gogna Shubhi Gogna
Member
Members
Forum Posts: 27
Member Since:
04/01/2014
sp_UserOfflineSmall Offline
3
01/24/2022 - 05:32
sp_Permalink sp_Print

Hi Randy,

So in this case, where should we create the Object if PArentNodeId is missing. Shall we create directly under Objects folder or should we ignore creating this object in AddressSpace?

Regards,

Shubhi Gogna

Avatar
Randy Armstrong
Admin
Forum Posts: 1444
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
01/24/2022 - 08:45
sp_Permalink sp_Print

The ParentNodeId is not a normative part of the NodeSet. It is convenience used to signal that a Node can be deleted when the parent is deleted. The actual location of a Node in the address space is specified by the References.

Avatar
Shubhi Gogna Shubhi Gogna
Member
Members
Forum Posts: 27
Member Since:
04/01/2014
sp_UserOfflineSmall Offline
5
01/24/2022 - 18:06
sp_Permalink sp_Print

Thanks Randy. We will fix this at our side.

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