Documentation for Monitoring PSIM 1.0 (english)

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

The Partition Of Control object (VIDEOSRV_C_DVC) sends the «Confirm: Event of monitoring» (CONF_MON) message to Axxon PSIM 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 Configuration for associating events with certain 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 Configuration for associating events with certain 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