Question:
Can I filter alarms in E3Alarm by more than one area?
Solution:
Yes, you can do it either by a specific area or by multiple areas. Usually, areas whose names start with the same text specified in the filter are displayed. For example, if your filter is âBoâ, it is possible to see the alarms from the areas âBoilersâ and âBoard1â.
In addition, you can use the character â:â (colon) as a separator to apply multiple filters, as long as SimpleAreaFilter property is FALSE. Example: âArea1:Area2:Area9â.
You can also use wild cards if SimpleAreaFilter property is FALSE. Valid characters are:
â*â: accepts no or any number of characters
â?â: accepts any character
â#â: accepts any digit
â[ ]â: allows you to specify a set of characters.
Example:
- â[ab]â: accepts either âaâ or âbâ
- â[f-h]â: accepts characters between âfâ and âhâ â
- â[!cz]â: accepts all characters, except âcâ or âzâ
- â[!m-p]â: accepts no characters between âmâ and âpâ
Via E3Studio:
When inserting an E3Alarm onto screen, set up AreaFilter property with the name of the desired alarm area. Alternatively, you can also right-click the E3Alarm and access its properties on General tab, Filter by alarm area option.
At runtime:
To change the alarm area at runtime via scripts, just pass a string with the name of the desired alarm area to E3Alarmâs AreaFilter property.
Demo script (used in a button):
Sub CommandButton6_Click()  opt = Application.SelectMenu("Analog|Digital")  Select Case opt            Case 1 Screen.Item("E3Alarm1").AreaFilter = "AreaAnalog"            Case 2 Screen.Item("E3Alarm1").AreaFilter = "AreaDig"  End Select End Sub
