About Icl Commands; Beeper Functions And Attributes; Bit Functions - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Section 5: Remote commands

About ICL commands

This section contains an overview of the ICL commands organized into to groups, with a brief
description of each group and links to the detailed command descriptions in the
Library (ICL) command reference

beeper functions and attributes

The beeper commands allow you to enable or disable the instrument beeper and set the frequency. When
enabled, you can set the duration of the beep.
beeper.beep()
beeper.enable

bit functions

The bit functions 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 Test Script Processor (TSP) performs the indicated logic operation
on the binary equivalents of the two integers. Bitwise logic operations are performed. This means that
the logical AND, OR, or XOR operation is performed on Bit 1 of the first number and Bit 1 of the
second number. The logical AND, OR, or XOR operation is performed on Bit 2 of the first number and
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 is returned as an integer.
Bit operations
The rest of the functions in this group are used for operations on the bits of a given number. These
functions can be used to:
Clear a bit
Toggle a bit
Test a bit
Set a bit or bit field
Retrieve the weighted value of a bit or field value
All of these functions use an index parameter to specify the bit position of the given number. The least
significant bit of a given number has an index of 1, and the most significant bit has an index of 32.
5-4
(on page 7-8) in this manual.
(on page 7-9)
Models 707B and 708B Switching Matrix Reference Manual
707B-901-01 Rev. A / August 2010
Instrument Control

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents