OPCDA.NET Reference Manual
WriteVQT(ItemValue[],Int32,Int32) Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPCDA.NET Namespace > OpcGroup Class > WriteVQT Method : WriteVQT(ItemValue[],Int32,Int32) Method

items
IN: An array of ItemValue objects with the value, quality and timestamp for each item.
OUT: The Error element contains the error item code returned by the server.
transactionID
The Client generated transaction ID. This is included in the 'completion' information provided to the OnWriteComplete.
cancelID
Place to return a Server generated ID to be used in case the operation needs to be canceled.

Glossary Item Box

Asynchronously writes values, qualities and timestamps for the items specified.
This method is functionally similar to the OpcGroup.Write except that Quality and Timestamp may be written. If a client attempts to write VQ, VT, or VQT it should expect that the server will write them all or none at all.

Syntax

Visual Basic (Declaration) 
Public Overloads Function WriteVQT( _
   ByVal items() As ItemValue, _
   ByVal transactionID As Integer, _
   ByRef cancelID As Integer _
) As Integer
C# 
public int WriteVQT( 
   ItemValue[] items,
   int transactionID,
   out int cancelID
)

Parameters

items
IN: An array of ItemValue objects with the value, quality and timestamp for each item.
OUT: The Error element contains the error item code returned by the server.
transactionID
The Client generated transaction ID. This is included in the 'completion' information provided to the OnWriteComplete.
cancelID
Place to return a Server generated ID to be used in case the operation needs to be canceled.

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.