Versions Compared

Key

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

...

The settings panel of the Script system object is shown in the figure below:

Image Modified

Note
titleAttention!

Creating of large number of the Script objects (more than 100) can cause system instability.

...

Info
titleExample.

Recording on Camera 1 must be started when controlling the PTZ camera in the Video surveillance monitor.

For this, configure the Script object as follows:

  1. Select the required time schedule when the script must be executed.
  2. Enter the script text:
    Code Block
    if (Event.GetParam("source_type") == "TELEMETRY") {
      DoReactStr ("CAM","1","REC","");
    }
  3. Configure the filter as follows:
    1. From the Object’s type drop-down list, select CORE.
    2. In the Event field, enter DO_REACT.

Image Modified

The filter can be set by the UPDATE_OBJECT event of the CORE object. Example of the command to add the Camera object with identifier 1 to the filter of the Script object with identifier 2:

...