
Den Kim
New Member
Members
Forum Posts: 1
Member Since:
09/22/2023
09/22/2023

While browsing OPC DA tree, my .NET app gets the OPC_E_UNKNOWNITEMID error on several sub branches during calling AddItems API. I added more logs and saw that the result of GetItemID API call differs from one that I could get if I would concatenate all parent names of a tag. For example,
GetItemID result: FPA.Fire Panel -.Detector.54.MyTagName
Concatenated parent names: FPA.Fire Panel 1-1.Detector.MyTagName
Using the latter form, I successfully subscribe to tag updates via AddItems call. The former form raises the OPC_E_UNKNOWNITEMID error.
Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 76
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1423
Posts: 4815