OPCDA.NET Reference Manual
Read Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > Subscription Class : Read Method

src
CACHE or DEVICE
val
Read value,quality,timestamp and error status

Glossary Item Box

Read a new item value from the OPC server using synchronolus read.

Syntax

Visual Basic (Declaration) 
Public Function Read( _
   ByVal src As OPCDATASOURCE, _
   ByRef val As OPCItemState _
) As Integer
C# 
public int Read( 
   OPCDATASOURCE src,
   out OPCItemState val
)

Parameters

src
CACHE or DEVICE
val
Read value,quality,timestamp and error status

Return Value

HRESULT success/error code

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.