Versions Compared

Key

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

To create a macro, click the Create button in the required list.
Image RemovedImage Added
Then do as follows:

  1. Enter the name of the macro (1).
    Image Modified
  2. Select the macro triggering mode  working mode (2):

    ModeEvent-driven Cyclic
    NewerNever

    Manual execution only  only (see see Working with Dialog Board, Macros control).

    Disabled, manual execution is possible possible (see Macros control

    AlwaysAlways on

    Always on

    Time time schedule

    Runs within the selected time schedule (see Creating schedules). Initiated by the user Manual execution is possible at any time.

    Runs within the specified time schedule..


    Info
    titleNote

    When creating a macro, the Always mode is used by default.


  3. If you need to include add a macro in to the control menu on the current layout (see Macros control), select set the corresponding check box checkbox (3, see Macros control).

  4. To configure event-driven macros, click Image Removed and the Image Added button and select one or more trigger events (4, see Configuring filters for event-driven macros). If the event filter is left blank, the macro can be executed only manually.
    Image Added

    Info
    titleNote

    To delete an event from the filter, click the Image Removed button Image Added button.


  5. Add one or more actions into to the macro (5, see Settings specific to actions). Click the Image Removed button Image Added button to do this. When the macro starts, all actions are performed simultaneouslyTo delete an action, click the Image Added button.

    Info
    titleNote

    To delete an action, click the Image Removed buttonThe macro can be executed for a group of cameras (see Creating a system of groups and subgroups).


    Info
    titleNote

    To hide the start conditions and action for the macro, click the action name.


  6. A cyclic macro can be launched automaticallyat a specified time interval, or at a random moment within the specified time interval. To configure this action, do as follows:

    1. In the Heartbeat Interval field field, specify a the time interval in the HH:MM:SS format (1).   For example, if you set the interval to 8 hours and leave the the Random checkbox checkbox clear (see 5b6b) unselected, the macro will be launched every 8 hours strictly. The macro will be launched according to cycle settings even if the actions from its previous launch are not complete completed. In this case, several instances of the same macro will be executed simultaneously.
      Image RemovedImage Added
    2. Set the Random checkbox (2), if you need to launch the macro at a random moment set by the Heartbeat interval parameter. In the Launching Interval field, specify a time interval in HH:MM:SS format (1).  For example, if you set the interval is set to 8 hours and leave the Random checkbox (see 6b) unselected8 hours, then once every 8 hours at a random moment, the macro will be launched every 8 hours.  

      Note
      titleAttention!

      If the macro working mode is linked to a time schedule, and the random moment launch time falls out of the schedule, no launching occursthe macro will not be launched.  


  7. To save the macro, click the Apply button.

    Note
    titleAttention!

    By default, the created macros are available only to the users from the admin group (see Creating and configuring roles).


The created macros are displayed in the listMacros configuration is complete. Created macro are listed. If the macro is disabled (Never mode) Never mode is selected for the macro, it is grayed out.
Image AddedImage Removed
You can copy macro commandsmacros. To do it, follow do the steps belowfollowing:

  1. Select the macro to copy.
  2. Click the Create button.

This creates a A new identical macro with the similar parameter will be created.

Info
titleNote

To create an empty macro command with no parameters specified, select any of the common macros ' groups, and click the Create button.

To remove delete a macro, select it in the list and click the Remove button.