ua_extensionobject_register_nsindex

Questions regarding the use of the High Perfomance SDK for Server development

Moderator: uasdkhpc

Post Reply
joergS
Jr. Member
Jr. Member
Posts: 2
Joined: 18 Jul 2016, 12:03

ua_extensionobject_register_nsindex

Post by joergS »

Hello,

is there an example of how to use ua_extensionobject_register_nsindex(..)

I'm not sure, but I suspect this function has to be used to register ExtensionObjects that are defined in an own namespace.

Unfortunately, I could not find anything in the examples or in the documentation that explains how to use the method.

Thank you!

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

Re: ua_extensionobject_register_nsindex

Post by Support Team »

Hi,

these functions are obsolete.
The xml2c tool generates the tables with type information.
The generated provider code (xml2c -m) also generates code for registering this tables using ua_type_table_register_const_table.

See
http://documentation.unified-automation ... c491622559
and
http://documentation.unified-automation ... ation.html

The example server_di uses such generate code.
Best regards
Unified Automation Support Team

Post Reply