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

name
IN: Full OPC item name
TransactionId
This value is returned in the ReadComplete callback to allow the value to be associated with the Read call.
CancelId
OUT: Cancel id code

Glossary Item Box

Read the current value of one item. An asynchronous OpcGroup read call is executed. The value is returned in the ReadComplete callback handler.
The returned cancel ID can be used to cancel the call execution.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Read( _
   ByVal name As String, _
   ByVal TransactionId As Integer, _
   ByRef CancelId As Integer _
) As Integer
C# 
public int Read( 
   string name,
   int TransactionId,
   out int CancelId
)

Parameters

name
IN: Full OPC item name
TransactionId
This value is returned in the ReadComplete callback to allow the value to be associated with the Read call.
CancelId
OUT: Cancel id 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.