Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width50%
Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:

Table of Contents

 

Column


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:

  1. Go to the Programming tab.
  2. In the Event rules or Cycle rules list, click Create... (see Configuring macros).
  3. Select a start condition that triggers a macro (see Configuring start conditions).
  4. Click the Image Added button below start conditions.
  5. From the drop-down list, select Programming: Wait for event.
    Image Added
  6. In the Timeout parameter, set the time to wait for the event to occur in HH:MM:SS format.
  7. 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 must configure the conditions to start a macro beforehand (see Configuring filters for event-driven macros).

You can enter the following parameters in the Awaiting command:

  1. The time-out format is HH:MM:SS (1).
    Image Removed
  2. Break commandhere you enter one or more events that override the Awaiting command (2). If you do not specify events, the time-out applies
  3. .
  4. If necessary, select and configure the action
  5. to perform when
  6. that must be executed:
    1. When an event from
  7. Break Command occurs. A new Awaiting instance is also an option (3).
  8. If necessary, select and configure the action to perform if none of the events that were set in Break Command occurred during the 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).

Image Removed

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.

    1. the filter is received in the Execute if event occurred parameter.
    2. If no event from the filter has occurred during the wait time in the Execute if no event occurred parameter.
  1. Click the Apply Image Added button.

Configuration of the Wait for event action is complete.

Example use

This macro checks if there is connection with an IP device.

Image Added

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

...

titleAttention!

...

.