
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-9
beeper.enable
Also see
beeper.beep
(on page 9-9)
Example
Enables the beeper and generates a two second, 2400Hz beep:
beeper.enable = 1
beeper.beep(2, 2400)
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 9-8)).
This function is an overlapped command. Script execution will continue and not wait for
the beep to finish. If another beep command is issued before the previous beep
finishes, the first beep will be terminated. The function
waitcomplete
(on page 9-222)
can be used to hold up script execution until the beep command finishes.
Also see
beeper.enable
(on page 9-8)
Example
Enables the beeper and generates a two-second, 2400Hz beep:
beeper.enable = 1
beeper.beep(2, 2400)
bit functions
Logic and bit operations
The bit functions are used to perform bitwise logic operations on two given numbers, and bit
operations on one given number. Logic and bit operations truncate the fractional part of given
numbers to make them integers.
NOTE
The TSP stores all numbers internally as single precision IEEE-754 floating point
values. The internal number representation only stores 24 bits of numeric data. The
logic operations will work correctly for all integer values between 0 and 4294967295.
However, only the 24 most significant bits will be stored for the return value.
Logic operations: