Avatar
Please consider registering
guest
sp_LogInOut Log Insp_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 RSSsp_TopicIcon
Browsing address space
October 31, 2013
18:21, EET
Avatar
vonGohren
Member
Members
Forum Posts: 25
Member Since:
October 17, 2013
sp_UserOfflineSmall Offline

Hi, a really noob question.

But when I know want to browse the address space from the client, I have to provide some sort of NodeId.
But I cant seem to find how to start browsing from the root node, because I dont know how to achieve its NodeId.
Do the client have to have knowlegde of the server to retrieve the NodeIds that have made or where can I start to browse when I dont know any NodeIDs?

This was not clear in the tutorial.

November 1, 2013
8:16, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1044
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Yes that’s not mentioned. The standard NodeIds are available in the org.opcfoundation.ua.core.Identifiers class.

If you look at the SampleConsoleClient source, you will find more details on how to perform the different tasks in the client side.

November 1, 2013
11:07, EET
Avatar
vonGohren
Member
Members
Forum Posts: 25
Member Since:
October 17, 2013
sp_UserOfflineSmall Offline

Thank you, it worked fine. So the Root, Object, Types, Views and Server are static folders which will always be there and can be identified by the Identifiers.RootFolder and so on?

I just referenced a NodeId to the Identifiers.something and got a list of referencedescriptions. So that makes more sense now! Thx

November 1, 2013
11:20, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1044
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

vonGohren said

Thank you, it worked fine. So the Root, Object, Types, Views and Server are static folders which will always be there and can be identified by the Identifiers.RootFolder and so on?

Exactly. Every server must have these nodes.

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 42
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 100
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 773
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1558
Posts: 6567
Newest Members:
aracelyhaley4, raphaelschonell, Ashmag, kathyreimann56, brittanylemos, dorthycundiff76, PromotionToold, CHHinrichs, rodricklienhop, jose_Wanderlei
Moderators: Jouni Aro: 1039, Pyry: 1, Petri: 1, Bjarne Boström: 1054, Jimmy Ni: 26, Matti Siponen: 359, Lusetti: 0
Administrators: admin: 1