Go to documentation repository
Page History
| Section | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
General information
This command allows executing different actions after a certain period depending on whether an event occurs or not.
Configuring an action
To configure the occurrence of an event, do the following:
- Go to the Programming tab.
- Click the Create... button in the Event rules or Cycle rules list (see Configuring macros).
- Select the start condition that triggers a macro (see Configuring start conditions).
- Click the button below the start conditions.
- From the drop-down list, select Programming: Wait for event.
- In the Timeout parameter, set the time to wait for the event to occur in HH:MM:SS format.
- Click the Add event filter button and add the event filter if necessary. You can specify one or more events, upon receiving which the waiting stops. If you don't select events, the waiting stops only after the specified time
This is the IF condition for running a command (only after the specified events occur).
You can enter the following parameters in the Awaiting command:
- The time-out format is HH:MM:SS (1).
- .
- If necessary, select and configure the action to perform when an event from Break Command occurs. A new Awaiting instance is also an option (3).
- If necessary, select and configure the action to perform if none of the events that were set in Break Command occurred during time-out. A new Awaiting instance is also an option (4).
For example, this macro is conditioned by the Motion detected event on Camera 9 (1).
When it occurs, the macro continues. This also starts recording (2). Further macro actions are executed, if any.
If this event does not occur, the time-out is 4 minutes (3). After this time, a sound notification (4) plays.
- that you want to execute:
- When you receive an event from the filter in the Execute if event occurred parameter.
- If no event from the filter occurs during the waiting time in the Execute if no event occurred parameter.
- Click the Apply button.
Configuring the Wait for event action is complete.
Example use
This macro checks if there is a connection with the IP device.
When a connection with the IP device is lost, the waiting time to restore the connection with a device is 30 seconds. The waiting stops as soon as a connection with the IP device is restored.
If this event doesn't occur, an alarm is initiated after this time elapses
...
| title | Attention! |
|---|
...
.


