Bit Functions; Logic And Bit Operations - Keithley 3700 series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Series 3700 System Switch/Multimeter Reference Manual
beeper.enable
Also see
Example
beeper.beep
Function
Usage
Remarks
Also see
Example

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
Logic operations:
Document Number: 3700S-901-01 Rev. A / August 2007
beeper.beep
(on page 9-9)
Enables the beeper and generates a two second, 2400Hz beep:
beeper.enable = 1
beeper.beep(2, 2400)
Generates a beep tone.
beeper.beep(duration, frequency)
duration: Set from 0.1 to 100 (seconds).
frequency: Set to 453, 621, 987 or 2400 (Hz).
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
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
can be used to hold up script execution until the beep command finishes.
beeper.enable
(on page 9-8)
Enables the beeper and generates a two-second, 2400Hz beep:
beeper.enable = 1
beeper.beep(2, 2400)
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.
Section 9: Instrument Control Library (ICL)
beeper.enable
(on page 9-8)).
waitcomplete
(on page 9-222)
9-9

Advertisement

Table of Contents
loading

Table of Contents