4. Alarm Tools

The Program Editor provides tools to facilitate working with alarms in a script, as follows.

  1.  

1

Generate

The Generate tool in the Program Editor is available for $CIMBASIC alarms.

  1. Place the insertion point in the script where the selected alarm will be inserted.

  2. Click Tools>Alarms>Generate on the Program Editor menu bar.

A Generate Alarm dialog box opens.

  1. Fill in the fields for a $CIMBASIC alarm in the Generate Alarm dialog box.

Note: The fields in the Generate Alarm dialog box correspond to the AlarmGenerate (method) syntax.

  1. Click OK.

Result: The Program Editor inserts the specified AlarmGenerate (method) code at the location of the insertion point in the script.

2

Update

The Update tool in the Program Editor is available for any CIMPLICITY alarm.

  1. Place the insertion point in the script where the selected alarm will be inserted.

  2. Click Tools>Alarms>Update on the Program Editor menu bar.

An Update Alarm dialog box opens.

  1. Fill in the fields in the Update Alarm dialog box.

Note: The fields in the Update Alarm dialog box correspond to the AlarmUpdate (method) syntax.

  1. Click OK.

Result: The Program Editor inserts the specified AlarmUpdate (method) code at the location of the insertion point in the script.

More information

Edit programs.