05/07/2015
A browse path from the Boiler server sample looks like this: /0:Objects/4:Boilers/5:Boiler #2/4:FCX001/4:Measurement.
Is it possible to have the browse path look like this: Objects.Boilers.Boiler #2.FCX001.Measurement or
/Objects/Boilers/Boiler #2/FCX001/Measurement. How can you program this in the Boiler server sample?
The string has to have sufficient information to generate a "relative path" as required for the OPC UA service calls (e.g. TranslateBrowsePathToNodeId). The syntax used in the sample follows the BNF specified in OPC UA Part 4, Annex A. Omitting parts of the string will not produce correct results.
Note, that BrowseNames are qualified names - i.e. they consist of a namespaceId and a text. The preceding numbers represent the namespaceIds as supported by the Boiler sample server.
1 Guest(s)