GetCurrentValueWithQuality Method

Returns the current value, time stamp, and quality information of the dataset.

Syntax

object.GetCurrentValueWithQuality CurrentValue, dt, lQual

Properties

The GetCurrentValueWithQuality method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

CurrentValue

Double. Returns the current value of the dataset.

dt

Variant. Returns the associated time stamp of the value if the dataset's X axis is time. Returns a Double for any other data type.

lQual

Long. Returns the OPC quality code representing the quality of the data being retrieved.

 

Example

Applies To