Using the CSV_Include Project > CSV_Include Reference > CSV_Include Functions > CSV_Alarms_GroupEdit

CSV_Alarms_GroupEdit

Edits an existing alarm group in the Alarm Group Listbox, and updates 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_GroupEdit(sGroupName,sDesc,sCategories,sArea)

sGroupName:

Name/ID of alarm group (needs to be unique).

sDesc:

Text describing alarm group that will appear in listbox.

sCategories:

String listing categories represented by alarm group. To have the same format as a standard CitectSCADA group; for example, "1,5,7..9" = categories 1,5,7,8,9.

sArea:

Area the group applies to. Empty string = every area.

Return Value

0 if successful, otherwise -1.