piar_deletevalue

This routine deletes an existing Archive value for the specified point and time.

C format

int32 piar_deletevalue(

int32 pt,

int32 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

-108 

Time is before the editing time limit

Arguments

pt (passed)

Point number

time (passed)

Time stamp of value to delete

Usage Notes

If there is more than one value at the passed time, the first value is deleted.

Enabling Operational Intelligence