Topic RSS13:50, EET
August 20, 2014
OfflineHi,
we want to implement a small tool, that should connect to any OPC UA Server and browse its address space and create an xml file from the data. What would be the best way to implement this with the Java SDK? I’m not asking for a complete solution, i just want to have some general hint’s how to do it.
Thanks
Ibrahim
13:26, EET
December 21, 2011
OfflineYou will need to follow the browsing examples in the SampleConsoleClient, for example and do a hierarchical browsing to the address space. Note that it may contain loops and ensure that you are not browsing the same node twice.
In practice it is probably best to limit the browsing to the Objects folder – unless you also need type information to be stored.
As for the XML format, you should consider the standard NodeSet format, which is defined by the schema at https://opcfoundation.org/UA/2…..odeSet.xsd, especially if you are going to store all references as well.

Log In
Register