The 'AlarmListDelete' function comfirms a alarm of selected position in Alarm Window.
void @AlarmListConfirm(string class_name, int pos);
Parameters
string class_name : Class name of Alarm Window.
int pos : Position of the alarm that you want to confirm. If this variable is '-1', all alarms are corfirmed.
Return Value
None
Example 1
@AlarmListConfirm("Alarm1", -1);
Description : All alarms are confirmed in Alarm Window named 'Alarm1'.
Example 2
@AlarmListConfirm("Alarm1", 0);
Description : The first alarm is confirmed 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'.
@AlarmListConfirm("Alarm1",pos);
// The alarm of selected position(= value of 'pos') is confirmed in Alarm Window.
Relate items)