
2600AS-901-01 Rev. B / September 2008
Return to
19-23
Series 2600A System SourceMeter® Instruments Reference Manual
Section 19: Remote Commands
beeper
The beeper generates a beep tone. It is typically used to announce the start and/or completion of a
test or operation.
bit
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.
Logic operations:
The
bit.bitand
,
bit.bitor
and
bit.bitxor
functions in this group perform
logic operations on two numbers. The TSP will perform the indicated logic operation on the binary
equivalents of the two integers. Logic operations are performed bitwise. That is, Bit 1 of the first
number is AND’ed, OR’ed, or XOR’ed with bit 1 of the second number. Bit 2 of the first number is
AND’ed, OR’ed or XOR’ed with Bit 2 of the second number. This bitwise logic operation is
performed on all corresponding bits of the two numbers. The result of a logic operation will be
returned as an integer.
beeper.beep
Function
Generates a beep tone.
TSP-Link
accessibility
This function can be accessed from a remote TSP-Link node.
Usage
beeper.beep(duration, frequency)
duration
Set from 0.1 to 100 (seconds).
frequency
Specifies the frequency the beeper should beep.
Remarks
• The beeper will not sound if it is disabled (see
attribute).
Also see
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).
Default
1 (enabled)
TSP-Link
accessibility
This attribute can be accessed from a remote TSP-Link node.
Usage
beeperstate = beeper.enable
-- Reads beeper state.
beeper.enable = beeperstate
-- Writes beeper state.
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.
Also see
Example
Enables the beeper and generates a two-second, 2400Hz beep:
beeper.enable = 1
beeper.beep(2, 2400)