/
Script Functions for Alarms

Script Functions for Alarms

Function Information

  • All functions must be used with parenthesis.

 

alarm.createAllCsv

Saves all the alarm messages as a CSV file.

Function

alarm.createAllCsv(enum storageType);

 

 

Description

Saves all the messages at the assigned Storage type as a CSV.

Enter the number or string below as the user’s declared Storage type.

1: Storage.Local

2: Storage.Usb

3: Storage.SdCard

 

Examples

Saves all alarm contents in SD/MMC.

alarm.createAllCsv(3);

Saves all alarm contents in a USB flash drive.

alarm.createAllCsv(Storage.Usb);

 

alarm.createCsv

Saves all the alarm messages associated with the String label parameter as a CSV file.

Function

alarm.createCsv(String label, enum storageType);

Description

Saves all the alarm messages associated with the String label at the assigned Storage type as a CSV.

String label refers to one of the following labels in the below image. Users can create their own labels or use a preset label.

Enter the number or string below as the user’s declared Storage type.

1: Storage.Local

2: Storage.Usb

3: Storage.SdCard

Example

Saves all alarm contents associated with Level 4 in SD/MMC.

alarm.createCsv(Level 4, 3);

Saves all alarm contents associated with Group J in USB flash drive.

alarm.createCsv(Group J, Storage.Usb);

 

 

Related content