OPCDA.NET Reference Manual
Read(OPCDATASOURCE,String,OPCItemState) Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > SyncIOGroup Class > Read Method : Read(OPCDATASOURCE,String,OPCItemState) Method

src
IN: Cache ore Device
name
IN: Full OPC item name
val
OUT: Read item value with quality and timestamp

Glossary Item Box

Read the current value of the specified item.
The item is added to the group if it is not yet added. A synchronous OpcGroup read function is executed.

Syntax

Visual Basic (Declaration) 
Public Overloads Overridable Function Read( _
   ByVal src As OPCDATASOURCE, _
   ByVal name As String, _
   ByRef val As OPCItemState _
) As Integer
C# 
public virtual int Read( 
   OPCDATASOURCE src,
   string name,
   out OPCItemState val
)

Parameters

src
IN: Cache ore Device
name
IN: Full OPC item name
val
OUT: Read item value with quality and timestamp

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.