
04/01/2014

Hi Team,
I have imported DI Companion Spec (Opc.Ua.Di.NodeSet2.xml) in my server. After Import, there is new Object Type Created in AddressSpace(ns=1;i=1005 “FunctionalGroupType”).Â
I am trying to create a Object of this Type now but failed to create because it contains a Variable (UIElement ns=1;i=6243) whose TypeDefinition is UIElementType (ns=1;i=6246) and IsAbstract is set to TRUE.
I wanted to understand if it a bug in DI nodesetFile as we should not be allowed to create instances for Abstract Types. Can you please review and let me know.
Regards,
Shubhi Gogna

05/30/2017

Whatever code you are using to create an instance of FunctionalGroupType is wrong. It should not automatically create optional components.
Your tooling should provide an API where you can passing a concrete subtype of UIElementType to use when instantiating the optional component. If a concrete subtype is not provided the optional component is not added to the new instance of FunctionalGroupType.
1 Guest(s)