Go to documentation repository
Page History
Section | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
General information
This action allows executing different actions depending on whether an event has occurred or not after a certain time interval.
Configuring an action
To configure the occurrence of an event, do the following:
- Go to the Programming tab.
- In the Event rules or Cycle rules list, click Create... (see Configuring macros).
- Select a start condition that triggers a macro (see Configuring start conditions).
- Click the button below 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 if you want to add an event filter. You can specify one or more events, if any event is received, the waiting stops. If you don't select any 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
- that must be executed:
- 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.
- the filter is received in the Execute if event occurred parameter.
- If no event from the filter has occurred during the wait time in the Execute if no event occurred parameter.
- Click the Apply button.
Configuration of the Wait for event action is complete.
Example use
This macro checks if there is connection with an IP device.
When connection with an IP device is lost, the waiting time to restore connection with a device is 30 seconds. The waiting time is terminated as soon as connection with an IP device is restored.
If this event doesn't occur, an alarm is initiated after this time has elapsed
...
title | Attention! |
---|
...
.