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: 1026
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: 1026
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: 1026
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: 1919

Currently Online:
22 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: 726

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_gallery

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1