Table of Contents  MOBOTIX Online Help

Message Events

Table of Contents
Message Events
General Settings
Description of Event Sensor Types

The Message Events dialog contains all event sensors that can trigger a camera action based on incoming messages.

Using Meta Events to Avoid False Alarms

In order to filter events, the camera provides an Event Logic: This dialog allows linking events to create logic events only if the linked events occur in a certain sequence and within the specified time frame. Another possibility to filter events is the Event Counter: It creates an event only if a certain number of events occurs within the specified time frame.

General Settings

Option

Description

Event Dead Time

The event dead time defines a period of time (0..3600 s) after an event, during which no new events from the same profile are recognized.

By defining an event dead time you can avoid, for example, that a complex action (person walks through the active image area) triggers multiple events.

Description of Event Sensor Types

Event Sensor Type

Description

Network Message

The camera can trigger an event when it receives an IP notification via TCP/IP:

  • Set the port at which you expect the notification.

  • Select the type of check:

    String Compare

    The event is triggered if the received text is identical to the text entered here.

    Regular Expression

    The event is triggered if the received text matches the regular expression entered here.

  • Enter the text or the regular expression.

  • Set the list of IP addresses of valid senders (separated by spaces). Use the following regular expression syntax to check the port number of the sender: /^10.1.0.123:42000/

MxMessageSystem

The camera can trigger events when it receives a message via the MxMessageSystem from the MxBus or the network. Set the MxMessageSystem Name that is used to trigger the event. Note that you can define several message events for the same MxMessageSystem name. A valid MxMessageSystem-Name must start with a letter, it must not contain spaces, tabs or the characters "/", "%" or ".", the name is case-sensitive and the maximum length is 31 characters.

Serial COM In

The camera can trigger an event when it receives a message via the serial interface (RS232).

  • Select the type of check:

    String Compare

    The event is triggered if the received text is identical to the text entered here.

    Regular Expression

    The event is triggered if the received text matches the regular expression entered here.

    Binary Compare

    The event is triggered if the received text is identical to the binary value entered here.

  • Enter the text or the regular expression.

Note

If you perform a binary comparison, you need to enter special characters as hex notations of the ASCII code.

If you have selected a timestamp when setting up the serial interface, this timestamp is part of the message and will also be analyzed. If you want to filter according to the actual contents of the message, you can use the following regular expressions:

Filtering according to any part of the message

^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2} .*<expression>

Filtering according to the start of the message

^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2} <expression>

Filtering according to the end of the message

^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2} .*<expression>$

Remember to replace <expression> by the expression you want to use for filtering.

Example 1. Filtering According to Any Part of The Message

Message contains "rror"

^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2} .*rror

Message starts with one or more letters, followed by a digit

^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2} [A-Za-z]+[0-9]

Message ends on "Error!"

^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2} Error!$


Storing the Configuration

Click on the Set button to activate your settings and to save them until the next reboot of the camera.

Click on the Factory button to load the factory defaults for this dialog (this button may not be present in all dialogs).

Click on the Restore button to undo your most recent changes that have not been stored in the camera permanently.

Click on the Close button to close the dialog. While closing the dialog, the system checks the entire configuration for changes. If changes are detected, you will be asked if you would like to store the entire configuration permanently.


© 2001-2024 MOBOTIX · https://www.mobotix.com