Filter alarms
- Last UpdatedJul 18, 2024
- 1 minute read
You can filter current and historical alarms by using queries and filters. Queries and filters are collections of filter criteria in a logical construct.
For example, you can filter alarms by defining a query or a filter that only shows alarms with priorities larger than 500 and smaller than 750.
You can re-use the filters and queries you define for historical alarms for current alarms and vice versa. You can also re-use filters and queries you define at design time at run time and vice versa.
Important: Queries and filters for current alarms and recent alarms and events require at least a Provider and Group as filter criteria. These must use the equals sign or a message asking for those fields will appear.
When you use TimeLCT, TimeOAT, or TimeLCTOAT as filter criteria for historical alarm modes, you need make sure that the TimeSelector.StartDate and TimeSelector.EndDate properties do not limit the query. Otherwise the Alarm Control can possibly not return all alarm and event records.
Set the TimeSelector.StartDate property earlier than any time filtering requirement, and the TimeSelector.EndDate later than any time filtering requirement.