SetCurrentFilter
This is a submodule of an Alarm List widget. This function can only be used when referring to an instance of an Alarm List that you have placed on a page.
Reserved |
Optional. Set to Invalid |
TextInDescription |
Optional text. Filters for alarms with a matching description. Wild cards are allowed. |
TextInDescription_Case |
Optional Boolean. True if the text in the description filter is case-sensitive. |
TagName |
Optional text. Filter for alarms with a matching tag name. Wild cards are allowed. |
TagName_UniqueID |
Optional text. Filter for alarms with a matching unique ID value. |
TagName_Children |
Optional Boolean. Set to TRUE to include children of the tags. |
Area |
Optional text. Filter for alarms with a matching area value |
Priority |
Required numeric. Filter for alarms with a matching priority. |
Priority_orHigher |
Required Boolean. Set to TRUE to include alarms with a priority higher than that specified. |
User |
Required text. Filter for alarms handled by the matching user. |
Reserved |
Set to Invalid. |
Action |
Optional text. Filter for alarms with the matching action string (Trip, Rearm, Shelve, etc) |
DateRange_Start |
Optional timestamp. Filter for alarms later than this date and time. |
DateRange_End |
Optional timestamp. Filter for alarms earlier than this date and time. |
Units |
Optional text. Filter for alarms with the matching units. |
ShowShelved |
Optional Boolean. True to show shelved alarm records. |
ShowConfig |
Optional Boolean. True to show configuration records. |
SearchString |
Optional text. Search field string. |
Comments: |
Any property that you do not want to filter for should be set to Invalid. |
Example:
{ The variable, SelectedArea, is assumed to be set by code not shown here. } If Watch(1, MyAlarmListObj, SelectedArea); [ MyAlarmListObj.SetCurrentFilter(Invalid, Invalid, Invalid, Invalid, Invalid, Invalid, SelectedArea); ]