Go to documentation repository
Page History
Macro is a tool intended for configuring used to configure system responses to certain events. System response may involve include one or several different actions.
You can configure Axxon One to perform certain actions if any events occur in the system. For example, when a fire is detected—to activate voice notification, when the camera is disarmed—to send an email notification and initiate an alarm, etc. To perform such actions, you need macros.
Note | ||
---|---|---|
| ||
You can apply macros Macros work within a single Axxon-domain only. Macro conditions and actions cannot include objects from another Axxon-domain. |
...
Types of macros
Macros can be of 3 typesThere are three types of macros:
- Event-driven (1). These macros can be run automatically on detection/event detecting the specified events or initiated manually by the useroperator. When triggered, the commands actions in the macro are executed once.
- Automatic Rules (2). These macros run every time when the detection tool triggers.
Cyclic Cycle (3). Cyclic These macros can run automatically after a set period of time, or at a random time within a set interval.
Cycle macros are run on the first Server in the Axxon-domain (alphabetical order) available at the time of launching the macro. Cyclic Cycle macros are executed immediately after you save them in the system, unless they have been created outside the time schedule for commands (see Create Macros). After completing all the commandsactions, the macro is automatically restarted. Cyclic macros cannot be started by the user. Additionally, a cyclic cycle macro can be launched at a specified time interval, or at a random moment within the specified time interval. When triggered, the commands in such a macro are In this case, all actions in the macro will be executed once.Note title Attention! If an event occurs while the cyclic macro is busy, it is , during the response of a cycle macro to a certain event, another event that should also be processed by this macro occurs, it will be skipped.
If an another event occurs while the during an event-driven macro is busy, it is processed as configuredresponse, this event will be processed according to the specified parameters.
Unless the macro has standby commands (see Wait for event, Wait for timeout, Wait till previous action finishes), all commands are performed simultaneouslyactions are performed simultaneously.
Tip |
---|
Configuring macros
You can create and configure macros on the Programming tab (see Create Macros).
To configure macros, do the following:
Specify the green section of the setting Start conditions (1). These are the events in the system that will trigger a macro (see Configuring filters for event-driven macros).
- Specify the blue section of the setting that is the system actions (2). These are the actions that the system should perform after an event occurs (see Settings specific to actions). Several system actions can be configured.
There is also an orange setting section in cycle macros. It sets the system wait time between the actions. For more information on configuring the cycle macros, see Cycle macros.
You can find examples of macros on these pages: Configuring macros when working with ANPR lists, Examples of macros used for working with face lists.