OPCDA.NET-UA
Read(OPCDATASOURCE,Int32[],OPCItemState[]) Method
See Also  Send Feedback
OpcDaNetUaOption.Net4 Assembly > UA_Wrapper Namespace > Group Class > Read Method : Read(OPCDATASOURCE,Int32[],OPCItemState[]) Method

src
IN: The 'data source': OPC_DS_CACHE or OPC_DS_DEVICE
srvHnd
aResult
Array of structures in which the item values are returned. It also contains the error code which OPC specifies in a separate array.

Glossary Item Box

Read the value, quality and timestamp information for one or more items in a group. The function runs to completion before returning.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Read( _
   ByVal src As OPCDA.OPCDATASOURCE, _
   ByVal srvHnd() As Integer, _
   ByRef aResult As OPCDA.NET.OPCItemState() _
) As Integer
C# 
public int Read( 
   OPCDA.OPCDATASOURCE src,
   int[] srvHnd,
   out OPCDA.NET.OPCItemState[] aResult
)

Parameters

src
IN: The 'data source': OPC_DS_CACHE or OPC_DS_DEVICE
srvHnd
aResult
Array of structures in which the item values are returned. It also contains the error code which OPC specifies in a separate array.

Return Value

HRESULT success/error code

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.7.2

See Also

Copyright © 2020 Advosol Inc. All Rights Reserved.