Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Beep

  • Last UpdatedJul 18, 2023
  • 1 minute read

Beeps the internal speaker or sound card (installed in the computer). If you use the internal speaker on your computer, the function does not return until the sound has completed. If you use a sound card, the function returns immediately and the sound plays in the background.

Use the Windows Control Panel to set up waveforms.

Syntax

Beep(nSound)

nSound:

The type of sound:

-1 - Standard beep

0 - Default beep waveform

1 - Critical stop waveform

2 - Question waveform

3 - Exclamation waveform

4 - Asterisk waveform

Return Value

0 (zero) if successful, otherwise an error code is returned.

DspPlaySound

Example

/* Beeps the speaker with the default waveform. */
Beep(0);

See Also

Miscellaneous Functions

In This Topic
TitleResults for “How to create a CRG?”Also Available in