Home > Language Reference > Classes > BarCode

Beep Method

Prompts emission of a beep by the bar code scanner.

Syntax

Public Sub Beep(ByVal eType As HbScanBeep)

ParameterDescription
eTypeSound type.

Remarks

The Beep method prompts emission of a predefined sound by the bar code scanner. The eType parameter indicates the sound type and can be one of the following values:

ConstantValueDescription
hbScanNoBeep0Does not emit any sound
hbScanOneShortHigh1Emits a short treble sound
hbScanTwoShortHigh2Emits two short treble sounds
hbScanThreeShortHigh3Emits three short treble sounds
hbScanFourShortHigh4Emits four short treble sounds
hbScanFiveShortHigh5Emits five short treble sounds
hbScanOneShortLow6Emits a short bass sound.
hbScanTwoShortLow7Emits two short bass sounds.
hbScanThreeShortLow8Emits three short bass sounds
hbScanFourShortLow9Emits four short bass sounds
hbScanFiveShortLow10Emits five short bass sounds
hbScanOneLongHigh11Emits a long treble sound
hbScanTwoLongHigh12Emits two long treble sounds
hbScanThreeLongHigh13Emits three long treble sounds
hbScanFourLongHigh14Emits four long treble sounds
hbScanFiveLongHigh15Emits five long treble sounds
hbScanOneLongLow16Emits a long bass sound
hbScanTwoLongLow17Emits two long bass sounds
hbScanThreeLongLow18Emits three long bass sounds
hbScanFourLongLow19Emits four long bass sounds
hbScanFiveLongLow20Emits five long bass sounds
hbScanFastWarble21Emits a rapid alternation of bass and treble sounds
hbScanSlowWarble22Emits a slow alternation of bass and treble sounds
hbScanMix123Emits a treble and then a bass sound
hbScanMix224Emits a bass and then a treble
hbScanMix325Emits a treble, a bass, then a treble sound
hbScanMix426Emits a bass, a treble, then a bass sound

This function is synchronous. It does not return till the sound transmission is terminated.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0Only Symbol Technologies scanners are supported.
Windows CEWindows CE 3.0-