Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_Alarms_GroupRemove

CSV_Alarms_GroupRemove

Removes an alarm group from the Alarm Group Listbox, and deletes the CitectSCADA group of the same name. The alarm group is also removed from the AlarmGrp.dbf.

Note: Alarm groups are used to filter alarms on an alarm page. When a group is selected from the list, only alarms having the associated categories are displayed on the alarm page.

Syntax

CSV_Alarms_GroupRemove(sGroupName)

sGroupName:

Unique Name/ID of alarm group (= second field (non-visible) of Alarm Group listbox, which can be retrieved by calling CSV_ListBox_GetSelectedItemID.)

Return Value

0 if successful, otherwise -1.