Go to documentation repository
The ARCH object corresponds to the Archive system object.
The ARCH object sends events presented in the table. Procedure is started when the corresponding event appears.
Format of events procedure for the Archive object:
OnEvent("ARCH","_id_","_event_")
Events | Description | Comment |
ACTIVE | Archive is active | Event is generated when list of cameras video from which is archived corresponds to the list of Archive configuration |
INACTIVE | Archive is inactive | Event is generated when archiving through the Archive is not performed. |
ACTIVE_PART | Partial work of archive | Event is generated when archiving is enabled not for all cameras specified in the list of Archive. |
Example. Send corresponding message to all cores of system if archiving through the Archive 1 is not performed.
OnEvent("ARCH","1","INACTIVE") { NotifyEventGlobal ("ARCH","1","INACTIVE"); }