Documentation for Monitoring PSIM 1.0 (english)

Previous page Next page

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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