Avatar

Please consider registering
guest

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
Browsing specific address space
November 24, 2013
10:38, EET
Avatar
vonGohren
Member
Members
Forum Posts: 25
Member Since:
October 17, 2013
sp_UserOfflineSmall Offline

Hi is it possible to browse, from the client, a specific address space?
Since the browse method want to use nodeID, but I want to target a browse based on a specific address space.
How can this be achieved?

November 25, 2013
11:08, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 960
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Sorry, I don’t understand what you mean with a specific address space. Each server has a single address space.

November 25, 2013
13:12, EET
Avatar
vonGohren
Member
Members
Forum Posts: 25
Member Since:
October 17, 2013
sp_UserOfflineSmall Offline

I mean those addressespaces which also exist on the sampleServer.
http://www.prosysopc.com/OPCUA…..dressSpace
http://www.prosysopc.com/OPCUA…..dressSpace

Is there a way for the client to spesifically get the nodes beloning to this addresse space.
I would believe so since an example client can highlight the specific nodes belonging to a address space.
Its just taht I dont see how it currently can be done.

A client is connecting to a server, but how can he get the nodes of that specific addresseSpace?

November 25, 2013
14:11, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 960
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

OK, now I got it. You mean namespaces.

No, there is no filter options for namespace in browse, so the only option is to filter the browse results in your client application.

November 25, 2013
16:17, EET
Avatar
cguerin
Vienna, Austria
Member
Members
Forum Posts: 20
Member Since:
April 9, 2013
sp_UserOfflineSmall Offline

There is a the NamespaceIndex in the NodeId of a NodeToBrowse.
Client can’t use it to specify which Namespace they want to browse ? Confused

November 25, 2013
20:06, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 960
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Well, it’s still possible that I did not get it right. I was considering that vonGohren wants to browse a single node and get only those references that target to nodes in a certain namespace.

Browse takes some options, e.g. NodeClass and ReferenceType, which you can use to limit the results (you can define these as property values for AddressSpace or use the version of browse, which takes these as arguments). But you cannot define the NamespaceUri or NamespaceIndex of the targets you wish to have.

But you are, of course, free to select only the nodes you need in the client application by looking at the NamespaceIndex or NamespaceUri of the target NodeIds (which are actually ExpandedNodeIds). Also you can use UaClient.getNamespaceTable() to convert between NamespaceIndexes and NamespaceUris, which may be what you are looking for?

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 124

pramanj: 86

ibrahim: 74

rocket science: 65

kapsl: 57

Sabari: 51

gjevremovic: 49

Xavier: 43

fred: 41

TimK: 41

Member Stats:

Guest Posters: 0

Members: 1749

Moderators: 15

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1323

Posts: 5649

Newest Members:

WalterFOUNC, datafastproxiespx01, LenkaLok, seoninet, justinevillanuev, namtrott5457, DonaldWibip, AlfredoEthix, andreidla, everangel7021

Moderators: Jouni Aro: 960, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 860, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 222, Lusetti: 0

Administrators: admin: 1