piar_replacevalue

This function replaces a single Archive value for the passed time.

C format

int32 piar_replacevalue(

int32 pt,

int32 timedate

float rval,

int32 istat );

Returns

>0

System error

Success

-1

Bad point number

-8

Time is after current time

-9

Bad integer or digital value

-101

Date not on-line

-103

No data for this point at this time

-108

Time is before the editing time limit

Arguments

pt (passed)

Point number

timedate (passed)

Time stamp

rval (passed)

Value in engineering units

istat (passed)

Integer value or status

Usage Notes

If there is more than one value with the passed time stamp, the first value with the passed time stamp is replaced.

Enabling Operational Intelligence