Section 7: TSP command reference Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-8 2657A-901-01 Rev. B/December 2012
TSP commands
beeper.beep()
This command generates an audible tone.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
beeper.beep(duration, frequency)
duration
The amount of time to play the tone in seconds (0.1 to 100)
frequency
The frequency of the tone in Hertz (Hz)
Details
You can use the beeper of the Model 2657A to provide an audible signal at a specified frequency and time
duration. For example, you can use the beeper to signal the end of a lengthy sweep.
The beeper will not sound if it is disabled. It can be disabled or enabled with the beeper enable command, or
through the front panel.
Example
beeper.enable = beeper.ON
beeper.beep(2, 2400)
Enables the beeper and generates a
two-second, 2400 Hz tone.
Also see
beeper.enable (on page 7-8)
beeper.enable
This command allows you to turn the beeper on or off.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes Recall setup
Instrument reset
Saved setup 1 (beeper.ON)
Usage
state = beeper.enable
beeper.enable = state
state
Disable the beeper (beeper.OFF or 0)
Enable the beeper (beeper.ON or 1)
Details
This command enables or disables the beeper. When enabled, a beep signals that a front-panel key has been
pressed. Disabling the beeper also disables front-panel key clicks.