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)
| Parameter | Description |
| eType | Sound 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:
| Constant | Value | Description |
| hbScanNoBeep | 0 | Does not emit any sound |
| hbScanOneShortHigh | 1 | Emits a short treble sound |
| hbScanTwoShortHigh | 2 | Emits two short treble sounds |
| hbScanThreeShortHigh | 3 | Emits three short treble sounds |
| hbScanFourShortHigh | 4 | Emits four short treble sounds |
| hbScanFiveShortHigh | 5 | Emits five short treble sounds |
| hbScanOneShortLow | 6 | Emits a short bass sound. |
| hbScanTwoShortLow | 7 | Emits two short bass sounds. |
| hbScanThreeShortLow | 8 | Emits three short bass sounds |
| hbScanFourShortLow | 9 | Emits four short bass sounds |
| hbScanFiveShortLow | 10 | Emits five short bass sounds |
| hbScanOneLongHigh | 11 | Emits a long treble sound |
| hbScanTwoLongHigh | 12 | Emits two long treble sounds |
| hbScanThreeLongHigh | 13 | Emits three long treble sounds |
| hbScanFourLongHigh | 14 | Emits four long treble sounds |
| hbScanFiveLongHigh | 15 | Emits five long treble sounds |
| hbScanOneLongLow | 16 | Emits a long bass sound |
| hbScanTwoLongLow | 17 | Emits two long bass sounds |
| hbScanThreeLongLow | 18 | Emits three long bass sounds |
| hbScanFourLongLow | 19 | Emits four long bass sounds |
| hbScanFiveLongLow | 20 | Emits five long bass sounds |
| hbScanFastWarble | 21 | Emits a rapid alternation of bass and treble sounds |
| hbScanSlowWarble | 22 | Emits a slow alternation of bass and treble sounds |
| hbScanMix1 | 23 | Emits a treble and then a bass sound |
| hbScanMix2 | 24 | Emits a bass and then a treble |
| hbScanMix3 | 25 | Emits a treble, a bass, then a treble sound |
| hbScanMix4 | 26 | Emits a bass, a treble, then a bass sound |
This function is synchronous. It does not return till the sound transmission is terminated.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | Only Symbol Technologies scanners are supported. |
| Windows CE | Windows CE 3.0 | - |