Skip to content

Script Functions for Alarms

Alarm Function Information

All functions must be used with parenthesis.

alarm.createAllCsvSaves all the alarm messages as a CSV file.
Functionalarm.createAllCsv(enum storageType);
DescriptionSaves 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
4: Storage.Ftp
The return value is undefined.
ExamplesSaves all alarm contents in SD/MMC.
alarm.createAllCsv(3);
Saves all alarm contents in a USB flash drive.
alarm.createAllCsv(Storage.Usb);
alarm.createCsvSaves all the alarm messages associated with the String label parameter as a CSV file.
Functionalarm.createCsv(String label, enum storageType);
DescriptionSaves 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.
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
4: Storage.Ftp
The return value is undefined.
ExamplesSaves all alarm contents associateed 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);