I am trying to list namespaces of my OPC UA server, but without success. I tried also:
If I try this:
NodeId nodeId = new NodeId("Server", 0);
INode node = clientInterface.session.NodeCache.FetchNode(nodeId);
I get an error:
NodeId nodeId = new NodeId(2253, 0);
What is the most straightforward way to use browsename to find/fetch node?
Thanks a lot.
The background of my question: I am trying to build aggregating server. A default ua client do not have a knowledge about the file where node id are defined.
I could generate address space where I set node IDs as strings. But that is just a workaround for specific server.
For requesting node by string ID is a built in function, or it is required by design to use translateBrowsePathsToNodeIds service to access node by its browsename and nemespace index?
How a client gets the NodeId is up to the client and depends on the context.
3) Read (e.g. DataType Attribute);
You can also save a previously browsed NodeId and load it from configuration file.
All of these work for an aggregating server.