Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Partition of Of Control object (VIDEOSRV_C_DVC) sends the «Confirmed: Monitoring PSIM events» «Confirm: Event of monitoring» (CONF_MON) message to Axxon PSIM core when an alarm is confirmed.

...

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

Code Block
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.

...