-
How can I get values of nodes' specific attributes (NodeId, Description, Data Type, Engineering Units etc.) from the address space in the most efficient way?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @AnMSLbR, the console client has sample code which reads the whole address space of a server in a very efficient way, leveraging service calls with multiple node inputs. In this case the results may require browse next or repeated browse if the server runs out of continuation points. |
Beta Was this translation helpful? Give feedback.
Hi @AnMSLbR, the console client has sample code which reads the whole address space of a server in a very efficient way, leveraging service calls with multiple node inputs. In this case the results may require browse next or repeated browse if the server runs out of continuation points.
Second thought is if you need to cache the nodes, the Nodecache is also a good option.
There is also a sample which reads the whole address space.
It is for example used to cahce the type system when learning the complex types.
Care needs to be taken that the NodeCache is prepopulated with the server Referencetypes to allow for the browse of cached nodes to work properly.
For a customized read of the nodes…