Create an alarm filter
Filter the alarms to display only certain alarms at runtime. Create a text box to filter the displayed alarms.
Prerequisites
- To create an alarm filter
- Place aText boxon the editor.
- InProject view, expandAlarmGrid (type)and select theAlarmsDataGridobject.
- InProperties, inQuery, selectAdd Dynamic Link
- InDynamic Links, expandAlarmGrid(type)and selectQuery.
- ChooseSelect.
- InProperties, inQuerytype the query.TIP: Type a variable right into the query such asSELECT * FROM Table1 WHERE Column1 > 5, where5is the variable. Enter a placeholder for the variable such asSELECT * FROM Table1 WHERE Column1 > {0}, where{0}is the variable. For example, in a system consisting of several machines, to filter the alarms byMachineID, the query to display the alarms for MachineID = 001 could beSELECT * FROM Model WHERE MachineID=001.
Provide Feedback