Read all nodes of a server

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

Moderator: uasdknet

Post Reply
JonLor
Hero Member
Hero Member
Posts: 48
Joined: 30 Jan 2014, 11:05

Read all nodes of a server

Post by JonLor »

Hello,

we want to read all data points of the server and extract information like adress, type, value and so on for each data point. This is probably a quite heavy operation as our server has a large number of data points, do you have any reccommended way of achieving this?

Best regards

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

Re: Read all nodes of a server

Post by Support Team »

Hello,

There are different operation limits on server side. A server can expose this information in the address space using optional nodes. You can find them at Objects -> Server -> ServerCapabilities -> OperationLimits. E.g. the value of MaxNodesToRead defines the maximum number of operations in a single Read request. Please see the address space of the .NET DemoServer.
If the server exposes these nodes, you can calculate how many single Read calls you need.
If the server does not expose these nodes, you can only find the maximum for nodes to read by try and error (or asking the server vendor).

Best regards
Support Team

Post Reply