Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Examples of scripts with Operator protocol and Event Viewer  Examples of scripts with Audio Next page


Formats

Operator format to describe actions with the Operator query panel:

DoReact("DIALOG","_id_","_command_" [,"_parameters_"]);

Format of events procedure for the SIP-terminal object:

OnEvent("SIP_TERMINAL","_id_","_event_")

Operator format to describe actions with the SIP-terminal:

DoReact("SIP_TERMINAL","_id_","_command_" [,"_parameters_"]);

Examples

Examples of using reactions of the Operator query panel object:

  1. Using macro 1, set coordinates of the left top corner of the operator query panel (PANASONIC-850 PTZ camera) in the center of the screen, prohibit its moving and display it on the screen.

    OnEvent("MACRO","1","RUN")
    {
        DoReact("DIALOG","PANASONIC-850","SETUP","x<50>,y<50>,allow_move<0>");
        DoReact("DIALOG","PANASONIC-850","RUN");
    }
  2. Close the operator query panel on macro 2.

    OnEvent("MACRO","2","RUN")
    {
        DoReact("DIALOG","PANASONIC-850","CLOSE");
    }
  • No labels