Read and Write Arrays

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

Moderator: uasdknet

Post Reply
estek
Full Member
Full Member
Posts: 8
Joined: 12 May 2016, 12:37

Read and Write Arrays

Post by estek »

Hi,

I want to ask, how to read and write arrays. i couldnt finde any examples.

best regards
estek

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

Re: Read and Write Arrays

Post by Support Team »

Hi,

examples can be found here:
http://documentation.unified-automation ... mples.html

Best Regards
Support Team

estek
Full Member
Full Member
Posts: 8
Joined: 12 May 2016, 12:37

Re: Read and Write Arrays

Post by estek »

hi,
i found what i was searching for. it is the ArrayItemType but how do i implement it? how can i append data to it?

best regards
estek

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

Re: Read and Write Arrays

Post by Support Team »

Hi,

You do DO NOT need to use the ArrayItemType. You can read and write arrays in the same way than scalars.
For reading the received value that contains an array. For writing the value of the WriteValue needs to be an array.

Best Regards
Support Team

Post Reply