StartSound

Description: This subroutine is used to start a sound for an alarm if alarm sound is enabled and the alarm priority is higher than currently sounding alarm.

 

Format:        StartSound(AlarmObject [, Restart]);

 

Parameters: AlarmObject is the alarm object value or the name of an alarm that may start a sound.

          Restart is true when the system is restarting.

 

Comments:   As of VTS 8.0, this module is called by ActiveMonitor.  Your code should not need to call it directly.

            The StartSound subroutine always returns "0".

          The alarm may not cause a sound, depending on the priority rules of the PlaySound module.

 

See Also:      Beep | PlaySound