Go to documentation repository

Page tree

Documentation for Monitoring 10.0. Documentation for other versions of Monitoring is available too.

Previous page Sample script for stopping camera recording  Sample script to export filtered data from the Log Panel to .xls Next page


Skip to end of metadata
Go to start of metadata

The Partition of Control object (VIDEOSRV_C_DVC) sends the «Confirmed: Monitoring events» (CONF_MON) message to Intellect core when an alarm is confirmed.

When the confirmation type is Simple, then param0<> has the same value as the ID of event that is confirmed (see Configuring alarm groups section). When param1<> is 0, it means that a Simple confirmation is used.

Below you will find a sample program that can be written on the Agent of Control in order to process a received simple confirmation. As a result a camera is armed.  

OnEvent("VIDEOSRV_C_DVC","1","CONF_MON")
{
  if (strequal(param0,"1"))
  {
    DoReact("CAM","1","ARM");
  }
}

 

When the confirmation type is Complex, then param0<> has the value of the ID of event that is confirmed (see Configuring alarm groups section). If param1<> is 1, it means that the operator has clicked the OK button in the confirm box. If the operator clicked the Cancel button, then param1<> would be 2.

Below you will find a sample program that can be written on the Agent of Control in order to process a received complex confirmation. As a result a camera is armed only when the operator clicks the OK button in the confirm box.

OnEvent("VIDEOSRV_C_DVC","1","CONF_MON")
{
  if (strequal(param0,"1")&&strequal(param1,"1"))
  {
    DoReact("CAM","1","ARM");
  }
}
  • No labels