Versions Compared

Key

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

...

Info
titleExample.

Recording on Camera 1 is to be started when controlling PTZ device in the Video surveillance monitor.

For this adjust the Script object as follows:

  1. Select the required time zone when the script is to be executed.
  2. Enter the script text:
  3. Adjust the filter as follows:
    1. Select CORE in the Object’s type dropdown list.
    2. Enter DO_REACT in the Event field.

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

NotifyEventStr("CORE","","UPDATE_OBJECT","objtype<SCRIPT>,objid<2>,EVENT.objid.0<1>,EVENT.objid.1<10>,EVENT.action.count<2>,flags<>,EVENT.action.0<>,EVENT.action.1<>,EVENT.objtype.0<CAM>,EVENT.objtype.count<2>,EVENT.objtype.1<CAM>,EVENT.objid.count<2>");