20:51, EEST
July 27, 2021
9:58, EEST
April 3, 2012
Hi,
I assume your question to mean _all_ variables of a Server.
Is it possible to explain the use-case where you would need this?
Short/Easy answer:
Not possible in OPC UA and basically a workflow that would require this is not “the OPC UA way” of doing this.
Medium answer:
Technically there is the Query service call (https://reference.opcfoundation.org/Core/docs/Part4/5.9.3/), but I have not seen nor know a server that would support it. But this would be the most “OPC UA way” for this sort of an operation.
Long answer:
All nodes should be at the end of some hierarchical reference path from the Root node. Thus technically it is possible to do Browse operations repeatedly until you have seen all nodes. Note that the number of nodes can be theoretically infinite and the address space can contain loops. Compared to e.g. OPC Classic in OPC UA there is a lot of metadata thus there is a lot of nodes. It would be best to assume not all nodes fit into memory in a generic case.
Basically the only use-case for this kind of an operation would be e.g. an application that would try to export all the data of a server. Otherwise this kind of an operation can potentially last a very long time.
In general most cases should either be solvable by just checking some known Folder of the server e.g. in the DI companion specification it defines all devices should be discoverable from the ‘DeviceSet’ folder or subfolder.
Alternatively applications (such as our Browser) typically offer some sort of a tree view for the address space and lazily Browse the subnodes whenever user expands a node.
Most Users Ever Online: 1919
Currently Online:
13 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 735
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1523
Posts: 6449
Newest Members:
rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1