piar_timedvaluesfil

The count, an array of times, and filter expression are passed to obtain an array of Archive events. Interpolated values are used for resolution codes 1, 2, and 3 while the previous value is returned for resolution code 4 points. If sequential events fail the filter, only one Filtered (-244) status is returned for the sequence.

C format

int32 piar_timedvaluesfil(

int32 pt,

int32 PIPTR * count,

int32 times[],

float rvals[]

int32 istats[],

char PIPTR *expression );

Returns

>0

System error

Success

-1

Bad point number

-105

Bad time and date

-121

Invalid count parameter

-8xx

Expression parsing error

-9xx

Network error

Arguments

pt (passed)

Point number

count (passed, returned)

Number of values

times (passed, returned)

Time stamps of values

rvals (returned)

Values in engineering units

istats (returned)

Integer or status values

expression (passed)

Expression string

Usage Notes

Enabling Operational Intelligence