RecordedValuesAvailable Method (PIData object)

                    

 

This method returns the number of compressed values that would be returned over the specified time range with the applied filter and end conditions as a long integer.  This method is similar to the RecordedValues method.

Not Implemented

Syntax

object.RecordedValuesAvailable StartTime, EndTime, BoundaryType, [FilterExp], [ShowFiltered], [AsyncStatus]

The RecordedValuesAvailable method syntax has these parts:

Part Description

object

An object expression that evaluates to a PIData object.

StartTime

A Variant containing the time. See the Settings section for allowable values.

EndTime

A Variant containing the time. See the Settings section for allowable values.

BoundaryType

A value from the BoundaryTypeConstants enumeration that specifies how the times and values of the returned end points are determined.

FilterExp

A string containing a filter expression [Optional]

ShowFiltered

A value from the FilteredViewConstants enumeration that controls whether filtered events are returned with a filter status or not shown at all. [Optional]

AsyncStatus

A PIAsynchStatus object for launching an asynchronous call, determining the progress of, or cancelling a lengthy call. [Optional]

Settings

The possible values in the variant for StartTime and EndTime are:


The possible values for BoundaryType are:


The possible values for ShowFiltered are:


Remarks

 

Trappable Errors

In addition to generic errors (such as Out of Memory), the following errors may occur:

Error Description

Enabling Operational Intelligence