SilenceAlarmHorn Method

Silences the alarm horn.

Syntax

AlarmHornSilence ([intErrorMode])

Properties

The SilenceAlarmHorn method syntax has this part:

Part

Description

intErrMode

Integer. (Optional). The error mode.

0 (default) = Errors are displayed in the form of a message box.

1 = Errors are not handled so that they can be handled in the calling routine.

2 = Errors are dispatched to the alarm typers using SendOperatorMessage.

Remarks

The alarm horn must be enabled for this method to work. If you call this method and the alarm horn is disabled, no error will be reported.

 

Example

Applies To