REAL %ARC_GetValue(
in archObject,
TIME in time,
BOOL in exact
[,BOOL in valid]
) |
| archObject | Name of object of the Historical value type. |
| time | Archiving time. |
| exact | The parameter is important in periodical archiving - defines the behaviour of the function if the archive database does not contain a value with the time specified by the parameter time. Possible values:
|
valid | An optional parameter with the same meaning as the VALID|INVALID clauses in the GETARCHVAL action. This parameter can be used to retrieve the last valid (@TRUE) or invalid (@FALSE) value for a given time (ignoring all subsequent values that are not valid or invalid). |
H.Arch1 - %ARC_GetValue(H.Arch1, %NewTime(@EvalTime,0,0,0,-60), @FALSE) |