View Issue Details

IDProjectCategoryView StatusLast Update
0009235.NET APIImplementation Bugpublic2023-11-03 17:30
ReporterDon Bladorn Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformWIndowsOSWindowsOS Version10
Summary0009235: Issue with OpcCom.Hda.Browser.cs at line 430
Description

The OSI PI OPC Server may have several branches. While the branches are returned correctly in the Browser.FetchElements method, the method throws an exception because after the branches are fetched, the code attempts to do a ValidateItems on the branches. The call to ValidateItems throws an exception because the names passed to it are folder names instead of actual tag items.

A simple fix is to test for "isBranch" before making the ValidateITems call, as in the following example:

if (! isBranch)
{
IdentifiedResult[] results = m_server.ValidateItems((ItemIdentifier[])elements.ToArray(typeof(Itemidentifier)));

}

Steps To Reproduce

Using the OPC HDA Sample Client (.NET client), attempt to browse the PI OPC server when it has multiple folders (collectives).

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-11-03 17:30 Don Bladorn New Issue