piar_panvalues

This routine returns the time of the event count events from the passed time, timedate. The resulting time and the events counted are returned in timedate and count, respectively. A positive value of count specifies counting forwards in time and a negative value specifies counting backwards in time from the passed timedate. The count is not inclusive of events at the passed time. Thus if the passed time is the same as the time of an Archived event, the time of the event count events from the current event is returned.

C format

int32 piar_panvalues(

int32 pt,

int32 PIPTR * count

int32 PIPTR * timedate );

Returns

>0

System error

Success

-1

Bad point number

-101

Date not on-line

-103

No data for this point during the specified time range

-105

Bad time stamp

-11032

No data for this point during the specified time range

-11043

Date not on-line

Arguments

pt (passed)

Point number

count (passed, returned)

Number of values

timedate (passed, returned)

Time stamp

Usage Notes

Enabling Operational Intelligence