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

C format

int32 piar_replacevalue(

int32 pt,

int32 timedate

float rval,

int32 istat );



System error



Bad point number


Time is after current time


Bad integer or digital value


Date not on-line


No data for this point at this time


Time is before the editing time limit


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