How to get every Nodevalue + amount of

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

Moderator: uasdknet

Post Reply
viktorrr
Jr. Member
Jr. Member
Posts: 1
Joined: 15 Oct 2015, 13:44

How to get every Nodevalue + amount of

Post by viktorrr »

Hello,
i want to expand the Demoserver-example with another tab and listview to show every current value of the server(i believe thats crucial and thats why i ask you to help implement it!) in for example Objects/Demo/001_Dynamic/Arrays/, but i have trouble getting the values.

So far im stuck at a loop in mainform.cs/Initialize filling the listview. I dont know how to get the amount of values in "Objects/Demo/001_Dynamic/Arrays/" and how to get each value

Do you have any examplecode and could you please upgrade the existing democode?
thank you
Viktor

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

Re: How to get every Nodevalue + amount of

Post by Support Team »

Hello,

As a generic way you can use the InternalClient functionality. Please see the http://documentation.unified-automation ... 7cf670d8b7 documentation.

You can call Browse recusively to find all nodes. To get the values of the found variable nodes you can call Read or CerateDataMonitoredItems.

Best regards
Support Team

Post Reply