11.2.2.1 Subroutines for Alarm

alarm.createAllCsv

Saves all the alarm messages as a CSV file.

Subroutine

alarm.createAllCsv(Storage type);

 

 

Description

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

Enter either the number or string shown 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 USB flash drive.

alarm.createAllCsv(Storage.Usb);

alarm.createCsv

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

Subroutine

alarm.createCsv(String label, Storage type)

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 either the number or string shown 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);