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

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.
This simplified Read overload does not return a cancel ID and therefore does not allow the call to be cancelled.

Overload List

OverloadDescription
Read(String,Int32)Read the current value of one item. An asynchronous OpcGroup read call is executed. The value is returned in the ReadComplete callback handler.
This simplified Read overload does not return a cancel ID and therefore does not allow the call to be cancelled.  
Read(String,Int32,Int32)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.  
Read(ItemDef,Int32)Read the current value of the item specified by the ItemDef object. An asynchronous OpcGroup read call is executed. The value is returned in the ReadComplete callback handler.
This simplified Read overload does not return a cancel ID and therefore does not allow the call to be cancelled.  
Read(ItemDef,Int32,Int32)Read the current value of the item specified by the ItemDef object. 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.  
Read(OPCDATASOURCE,String,OPCItemState)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. (Inherited from OPCDA.NET.SyncIOGroup)
Read(OPCDATASOURCE,ItemDef,OPCItemState)Read the current value of the item specified with the ItemDef object.
The ItemDef object was created in a previous Read or Add call. This method overload is a bit more efficient because no ItemID search as to be done. Only in a SyncIOGroup with many items could be a significant performance gain.
A synchronous OpcGroup read function is executed. (Inherited from OPCDA.NET.SyncIOGroup)

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.