Documentation for Monitoring PSIM 1.0 (english)

Previous page Next page

In the Monitoring PSIM software package one can configure ad hoc command sending by the Operator of the Server of Control to the Agent of Control.
Information on how to configure commands on the Server of Control can be found in the Executing ad hoc command on the Agent of Control by the operator of Server of Control section of Operator's Guide.

A script for processing incoming commands is to be created on the Agent of Control.

Extra menu items are created on the Server of Control: Arm Camera 1 and Disarm Camera 1. They send a command with parameter 1 or 2 correspondently.

 

The sample of program in Axxon PSIM embedded language for processing the incoming command is shown below:

OnEvent("VIDEOSRV_C_DVC","1","DO_COMMAND")
{
    if (strequal(param0,"1"))
    {
        DoReact("CAM","1","ARM");
    }
    if (strequal(param0,"2"))
    {
        DoReact("CAM","1","DISARM");
    }
}
  • No labels