Set StructureField Values in Code to XML defined StructureTy

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

Moderator: uasdkcpp

Post Reply
s_schmidt
Full Member
Full Member
Posts: 7
Joined: 22 Mar 2019, 09:34

Set StructureField Values in Code to XML defined StructureTy

Post by s_schmidt »

Hello,
I am loading a Nodeset from an xml directly to a c++ SDK Server.The Nodeset contains custom Enumerations and Structures amongst other things.
I created an additional xml nodeset that contains an instantiated Object with a variable, that is of a Structure dataType defined in the other xmlNodeset and also load it to the Server.
I am now trying to set a Value to each StructureField of the variable in the server code, but don't know, how I can do that. To access the Variable I defined an Extension in the xml nodeset, as described in the demoserver.
For now the variable values are empty. The Expert shows datatype null and a blank space for the Value. So how can I now change that and set values manualy in the code? Is there any example code on how to do that?

Thank you!
Best Regards

Post Reply