OPC Studio User's Guide and Reference
ObtainItemVtq(DAItemMapping,DAItemMapping,DAItemMapping,DAItemMapping) Method



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAMapper Class > ObtainItemVtq Method : ObtainItemVtq(DAItemMapping,DAItemMapping,DAItemMapping,DAItemMapping) Method
An item mapping of the value member.

The value of this parameter cannot be null (Nothing in Visual Basic).

An item mapping of the timestamp member (in UTC).

The value of this parameter can be null (Nothing in Visual Basic).

An item mapping of the timestamp member (in local time).

The value of this parameter can be null (Nothing in Visual Basic).

An item mapping of the quality member.

The value of this parameter cannot be null (Nothing in Visual Basic).

Obtains OpcLabs.EasyOpc.DataAccess.DAVtq for an item source, given item mappings for a value, timestamp and quality members.
Syntax
'Declaration
 
<NotNullAttribute()>
Protected Overloads Shared Function ObtainItemVtq( _
   ByVal valueMapping As DAItemMapping, _
   ByVal timestampMapping As DAItemMapping, _
   ByVal timestampLocalMapping As DAItemMapping, _
   ByVal qualityMapping As DAItemMapping _
) As DAVtq
'Usage
 
Dim valueMapping As DAItemMapping
Dim timestampMapping As DAItemMapping
Dim timestampLocalMapping As DAItemMapping
Dim qualityMapping As DAItemMapping
Dim value As DAVtq
 
value = DAMapper.ObtainItemVtq(valueMapping, timestampMapping, timestampLocalMapping, qualityMapping)

Parameters

valueMapping
An item mapping of the value member.

The value of this parameter cannot be null (Nothing in Visual Basic).

timestampMapping
An item mapping of the timestamp member (in UTC).

The value of this parameter can be null (Nothing in Visual Basic).

timestampLocalMapping
An item mapping of the timestamp member (in local time).

The value of this parameter can be null (Nothing in Visual Basic).

qualityMapping
An item mapping of the quality member.

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

The arguments assembled from the item source and the item mappings.

This method never returns null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also