Login  •  Register


How can I get the file of ServerConfig.ini for uasdkcpp

Questions regarding the use of the ANSI C SDK for Server or Client development or integration into customer products ...

How can I get the file of ServerConfig.ini for uasdkcpp

Postby qingmeng » 05 Jun 2019, 05:52

Hi
I just used the C++ SDK to create one server.
And I can do this successfully by load the xml configuration.
But I want to test this by the ini file. But I did not find this file with the source.
So how can I get this ServerConfig.ini file.
========
#if SUPPORT_XML_PARSER
sConfigFileName += "/ServerConfig.xml";
#else
sConfigFileName += "/ServerConfig.ini";
#endif

OpcServer* pServer = new OpcServer;
pServer->setServerConfig(sConfigFileName, szAppPath);

thanks,
qingmeng
Newbie
Newbie
 
Posts: 4
Joined: 21 Nov 2018, 11:05

Return to ANSI C based OPC UA SDK

Who is online

Users browsing this forum: No registered users and 0 guests