How to differentiate between branch and leaf with identical names when a client calls to getitemid() (OPC DA)|Classic OPC: DA, A&E, HDA, XML-DA, etc.|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
How to differentiate between branch and leaf with identical names when a client calls to getitemid() (OPC DA)
Avatar
Zohar Tsioni
New Member
Members
Forum Posts: 2
Member Since:
11/20/2018
sp_UserOfflineSmall Offline
1
09/15/2024 - 23:26
sp_Permalink sp_Print

Hi all

I have an OPC DA server which has a leaf named "X" at the root level. in addition, at the root level, I have a branch named "X" (identical names). How can I differentiate between the two when a client calls to "GetItemID()"? In other words, how can I know which one the client applied to?

 

Regards

Zohar

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
09/18/2024 - 21:14
sp_Permalink sp_Print

The should be the same. i.e. X is a Branch that also has a Value (a.k.a. Leaf).

The DA3 makes this use case clearer than DA2

See 4.3.6.1 IOPCBrowse:: Browse

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