OPC UA Server: NamespaceIndex and NamespaceArray|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
OPC UA Server: NamespaceIndex and NamespaceArray
Avatar
Kais Wali
Texas
Member
Members
Forum Posts: 7
Member Since:
07/30/2014
sp_UserOfflineSmall Offline
1
08/27/2019 - 09:29
sp_Permalink sp_Print

We have an OPC UA Server that returns a list of namespaceURIs (NamespaceArray). It inclues 3 URI.

We have a Node that its NamespaceIndex is 8.

While browsing we tried to access to the namespaceUri of this node by its namespaceindex on the namespacearray list , but in this case its index ” 8 “ does not exist in the namespacearray list .Is that compliant to the OPC UA Standard?

Per my understanding, if we have 8 as NamespaceIndex for a specific node, we should have at least 8 entries on the namespaceURIs array. please confirm.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
08/27/2019 - 10:40
sp_Permalink sp_Print

Servers should to provide a URI for all NamespaceIndexes that they return, however, your client should not break if a Server fails to do so.

If a URI is not available your Client should assume the Node is dynamic the NodeId cannot be saved for use again in a later Session.

If that is not a reasonable assumption then the Server needs to be fixed.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
3
08/28/2019 - 13:24
sp_Permalink sp_Print

Note that the array length can increase while a client is connected to a server. If a client gets an index that is too large for the cached namespacearray the client should read the current namespacearray from the server.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 26
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855