Go to documentation repository
Page History
To create a macro, click the Create button in the required list.
Then do as follows:
- Enter the name of the macro (1).
Select the macro triggering mode working mode (2):
Mode Event-driven Cyclic NewerNever Manual execution only only (see see Working with Dialog Board, Macros control).
Disabled, manual execution is possible possible (see Macros control)
Always Always 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 title Note When creating a macro, the Always mode is used by default.
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).
To configure event-driven macros, click and the 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.
Info title Note To delete an event from the filter, click the button button.
Add one or more actions into to the macro (5, see Settings specific to actions). Click the button button to do this. When the macro starts, all actions are performed simultaneouslyTo delete an action, click the button.
Info title Note To delete an action, click the buttonThe macro can be executed for a group of cameras (see Creating a system of groups and subgroups).
Info title Note To hide the start conditions and action for the macro, click the action name.
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:
- 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.
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 title Attention! 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.
- 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.
To save the macro, click the Apply button.
Note title Attention! 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.
You can copy macro commandsmacros. To do it, follow do the steps belowfollowing:
- Select the macro to copy.
- Click the Create button.
This creates a A new identical macro with the similar parameter will be created.
Info | ||
---|---|---|
| ||
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.