Login  •  Register


ServerStatus object uses BuildDate from SDK (libraries)

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

ServerStatus object uses BuildDate from SDK (libraries)

Postby Ares » 03 Jun 2019, 10:21

Hello,

the BuildInfo object which is part of Server/ServerStatus object displays a BuildDate which is derived from the last compilation of the SDK libraries. We would expect that we see here the BuildDate of the server application. I found the following entry in the changelog of the SDK which talks about this issue:

Code: Select all
********************************************************************************
********************************************************************************
**                                                                            **
**              Version 1.4.0.258                                             **
**                                                                            **
********************************************************************************
********************************************************************************
....
UaServerApplication
* New main application class
* Allows overwriting ServerConfigData::getBuildDate() in OpcServer class through UaServerApplication
  This makes sure the build date is the server application build date and not the SDK build date


I assume that in order to overwrite ServerConfigData::getBuildDate() I need to create a derived class from ServerConfigData with my own implementation of getBuildDate(). The question is, how can I use this new class for the UaServerApplication? I would greatly appreciate if someone could give an example how this can be realized.

Thanks in advance,
Kenny

SDK Version: 1.4.2.291 (Linux)
Ares
Jr. Member
Jr. Member
 
Posts: 1
Joined: 06 Jul 2018, 13:51

Return to C++ based OPC UA SDK

Who is online

Users browsing this forum: No registered users and 0 guests