Complex Object Types and XML Export

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
nerve
Full Member
Full Member
Posts: 8
Joined: 28 Jun 2013, 09:31

Complex Object Types and XML Export

Post by nerve »

Hi all

My use case:
  • Modelling a "complex" object type "MyComplexObjectType" in UaModeler which means eg. Creating a ObjectType containing a Folder-Object "Folder1" (HasComponent) which contains a Variable "Var1" (again HasComponent).
  • Creating an instance "MyComplexObject" of the defined object type in the address space (under folder Objects)
  • Exporting concrete model to XML
  • Loading the XML to my UA Server (Unified Automation C++ SDK 1.4.2)
Everything looks good so far. UaModeler shows all the expected nodes and they are also present in the XML file.
But: The variable "Var1" does not exist in the address space of the UA Server, as I expected.

So why does the UA Server not create all the nodes defined in the XML (file attached)?

nerve
Full Member
Full Member
Posts: 8
Joined: 28 Jun 2013, 09:31

Re: Complex Object Types and XML Export

Post by nerve »

It seems to be related with the (optional) attribute ParentNodeId (which look correct though). If I remove these, it works as expected.
Is it a bug in the SDK?

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re: Complex Object Types and XML Export

Post by Support Team »

Hi,

This is a known issue in the C++ SDK XML loading code. The issue is already fixed and the fix will be included in the upcoming service release 1.4.3.

Best Regards,
Unified Automation Support Team

nerve
Full Member
Full Member
Posts: 8
Joined: 28 Jun 2013, 09:31

Re: Complex Object Types and XML Export

Post by nerve »

OK. When will 1.4.3 be released?

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re: Complex Object Types and XML Export

Post by Support Team »

Hi,

The release of the C++ SDK service release 1.4.3 is scheduled for end of January 2015.

Best Regards,
Unified Automation Support Team

Post Reply