Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Why does "Copy BrowsePath" include "/Root"?
June 27, 2022
21:01, EEST
New Member
Forum Posts: 1
Member Since:
June 27, 2022
sp_UserOfflineSmall Offline


I’m wondering why “Copy BrowsePath” on a node includes “/Root” at the start of the browse path. I assume that “/Root” indicates the path starts off the root node, but it isn’t useful as-is in a translate browse paths call through the session without modification because the starting node id for that call has to be root.

Is my assumption correct that to use this browse path in a “translate browse path to node IDs” call this browse path would need to be modified, removing the “Root” node?

I am using the OPC Foundation’s .NET reference stack so there may be some implementation difference I’m running into here.

PS first time poster… so if I’ve missed something please correct me and guide me to the right thing!

June 28, 2022
11:49, EEST
Matti Siponen

Forum Posts: 209
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline


BrowsePaths in TranslateBrowsePathsToNodeIds Service calls can start from any Node, not just the Root Node. That being said, the function for copying the BrowsePath of the selected Node to clipboard was not added to Browser with TranslateBrowsePathsToNodeIds Service in mind. Instead it is there to provide an alternative to copying BrowseName or NodeId in Attributes and References view to clipboard as BrowseNames don’t always uniquely identify Nodes and NodeIds can sometimes be rather undescriptive.

If we’re being pedantic, the correct form for a BrowsePath is the NodeId of the starting Node and a RelativePath consisting of an array of RelativePathElements which consist of information on the followed References (referenceTypeId, isInverse and includeSubtypes) and QualifiedName the target Node. For more information on RelativePaths, see https://reference.opcfoundation.org/v105/Core/docs/Part4/7.31/

This means that the BrowsePaths copied by Browser to clipboard are similar to BrowsePaths but not quite BrowsePaths as information on the References is omitted. In fact, the OPC UA Specification doesn’t define a String representation for BrowsePaths. So if the OPC Foundation’s .NET reference stack supports BrowsePaths in some String form, that form has been chosen for the implementation and is not defined in the OPC UA Specification.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 120

pramanj: 86

ibrahim: 74

rocket science: 65

kapsl: 57

gjevremovic: 49

Sabari: 44

Xavier: 42

fred: 41

TimK: 41

Member Stats:

Guest Posters: 0

Members: 3125

Moderators: 17

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1277

Posts: 5457

Newest Members:

felisharedden25, valentinanoblet, XNXXguini, RobertTop, baileyuup3516, Richardlacle, inezwb11, clarissabeasley, raulakhtar528, claritanisbett4

Moderators: Jouni Aro: 942, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 801, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 41, Niklas Nurminen: 0, Matti Siponen: 209, Lusetti: 0

Administrators: admin: 1