User manual

Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-16 3700S-901-01 Rev. C / July 2008
beeper functions and attributes
The beeper generates a beep tone. It is typically used to announce the start
and/or completion of a test or operation.
beeper.beep()
Function
Generates a beep tone.
Usage
beeper.beep(duration, frequency)
duration: Set from 0.1 to 100 (seconds).
frequency: Set to 453, 621, 987, or 2400 (Hz).
Remarks
There are four beeper frequencies: 453Hz, 621Hz, 987Hz, and 2400Hz. If you set
frequency to a different value, the closest supported frequency will be selected.
The beeper will not sound if it is disabled (see beeper.enable (on page 13-16)).
This function is an overlapped command. Script execution will continue and not wait
for the beep to finish. If another beep command is sent before the previous beep
finishes, the first beep is terminated. You can use the function waitcomplete() (on page
3-16) to pause script execution until the beep command finishes.
Also see
beeper.enable (on page 13-16)
Example
Enables the beeper and generates a two-second, 2400Hz beep:
beeper.enable = 1
beeper.beep(2, 2400)
beeper.enable
Attribute
Beeper control (on/off).
Usage
To read the state of the beeper:
beeperstate = beeper.enable
To write the state of the beeper:
beeper.enable = beeperstate
Set beeperstate to one of the following values:
0: Beeper disabled
1: Beeper enabled
Remarks
This attribute enables or disables the beeper. Disabling the beeper also disables front
panel key clicks.
Cycling power enables the beeper. The reset function does not affect the beeper state.
Also see
beeper.beep() (on page 13-16)
Example
Enables the beeper and generates a two-second, 2400Hz beep:
beeper.enable = 1
beeper.beep(2, 2400)