120 C1553M-B (4/05)
Create a Custom Pattern as the Reset Pattern to Match
Note that you only need to complete these steps if the access control device sends a reset string to indicate that the alarm condition is no longer
in place.
Figure 149. Create a Custom Reset Pattern to Match
1. Click the Supports Reset Pattern field.
2. Click the Reset Pattern To Match tab.
3. Click Custom.
4. Type a description of the pattern.
5. Type the pattern. Refer to Pattern Syntax for information on creating patterns.
6. (Optional) Click Make Pre-defined to the pattern to the Predefined Patterns list.
Pattern Syntax
A pattern is a regular expression that is used to match patterns of text in access control alarm strings. Patterns are written using special
symbols, each of which describes one or more text strings.
Note that you can only define one Pattern To Match per access control device, so the pattern must be general enough to match every alarm string
you want VMX300(-E) to manage.
Table C describes the symbols you can use to define patterns.
Point Number Placeholder: The point number placeholder is the symbol that matches the point number within the alarm string. The symbol for
the point number placeholder is %ALNum%. Every Pattern To Match and Reset Pattern To Match must contain a single instance of the point
number placeholder. To insert the point number placeholder into a pattern quickly and easily, click “Insert point number placeholder” in the
Pattern matching Dialog box. You can also type in the point number placeholder.

Syntax in Predefined Patterns

Pelco ASCII Protocol Switch Pattern: [0-9]+Ma%ALNum%#a
This pattern matches a string that contains a number made up of one or more digits, followed by the literal Ma, followed by the point
number, followed by the literal number sign (#), followed by the termination literal a.
Pelco ASCII Protocol Alarm Pattern: ALNum%Ea
This pattern matches a string that contains the point number, followed by the literal E, followed by the termination literal a.
Default Generic Pattern: <CC%ALNum%>
This pattern matches a string that contains the literal <CC, followed by the point number, followed by the literal >.