Read array of structure

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

Moderator: uasdkcpp

Post Reply
ralf01
Sr. Member
Sr. Member
Posts: 13
Joined: 09 Sep 2014, 09:24

Read array of structure

Post by ralf01 »

Hello,

I want to implement an Array of a structure and read the data in the node manager. Is it possible and does anyone have an example for this, if possible?
The structure I want to implement is listed below.

struct machinedata {
int value1;
float value2;
float value3;
};

machinedata machinedataArray [200];

Thanks for any Information,
Ralf

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

Re: Read array of structure

Post by Support Team »

Hi,

We assume that your question is related to the C++ SDK. An example can be found here:
http://documentation.unified-automation ... moServer_5

Please post SDK related questions in the right SDK product section.

Best Regards,
Unified Automation Support Team

Post Reply