4.4.6.3
AsyncWriteComplete
Description
This event fires when an AsyncWrite is completed.
Syntax
AsyncWriteComplete (TransactionID As Long, NumItems As Long, ClientHandles() As Long,
Errors() As Long)
Part Description
TransactionID
The client specified transaction ID.
NumItems
The number of items returned
ClientHandles
Array of client item handles for the items
Errors
Array of Long’s indicating the success of the individual item writes.
Example
Dim WithEvents AnOPCGroup As OPCGroup
Private Sub AnOPCGroup_AsyncWriteComplete (TransactionID As Long, NumItems As Long,
ClientHandles() As Long, ItemValues() As Variant, Qualities() As Long, TimeStamps() As Date)
‘ write your client code here to process the errors
End Sub
Do'stlaringiz bilan baham: |