The 'AlarmListDelete' function deletes a alarm of selected position in Alarm Window.
void @AlarmListDelete(string class_name, int pos);
Parameters
string class_name : Class name of Alarm Window.
int pos : Position of the alarm that you want to delete. If this variable is '-1', all alarms are deleted.
Return Value
None
Example 1
@AlarmListDelete("Alarm1", -1);
Description : All alarms are deleted in Alarm Window named 'Alarm1'.
Example 2
@AlarmListDelete("Alarm1", 0);
Description : The first alarm is deleted in Alarm Window named 'Alarm1'.
Example 3
pos = @AlarmListGetCursor("Alarm1");
// The value of the currently selected position in Alarm Window is stored in the variable named 'pos'.
@AlarmListDelete("Alarm1",pos);
// The alarm of selected position(= value of 'pos') is deleted in Alarm Window.
Relate items)