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
|
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