EasyManuals Logo

Keithley SourceMeter 2600 Series User Manual

Keithley SourceMeter 2600 Series
594 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #314 background imageLoading...
Page #314 background image
12-40 Instrument Control Library Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006 Return to Section 12 topics
display.waitkey
Function Captures the keycode value for the next key press.
Usage
key = display.waitkey()
Remarks
After sending this function, script execution will hold up until a front panel key or the
wheel is pressed, or the wheel is turned to the right or left. After pressing a control or
turning the wheel, the keycode value for that key will be returned. The chart shown
below lists the keycode value for each front panel control. The controls are listed
alphabetically.
If the EXIT key is pressed while this function is waiting for a keypress, the script will
not be aborted.
A typical use for this function is to prompt the user to press EXIT to abort the script
or press any other key to continue. If keycode value 75 is returned (EXIT key
pressed), then the
exit() function can be called to abort the script. Sample code
for this process is provided in “
Capturing key-press codes” on page 14-17.
Control Keycode Control Keycode Control Keycode
AUTO 73 LIMIT (B) 90 REL (A) 70
CONFIG 80 LOAD 95 REL (B) 67
CURSOR (left) 104 MEAS (A) 86 RUN 71
CURSOR (right) 103 MEAS (B) 83 SPEED (A) 94
DIGITS (A) 87 MENU 68 SPEED (B) 91
DIGITS (B) 84 MODE (A) 69 SRC (A) 79
DISPLAY 72 MODE (B) 66 SRC (B) 76
ENTER 82 OUTPUT (A) 88 STORE 78
EXIT 75 OUTPUT (B) 96 TRIG 92
FILTER (A) 77 RANGE (down) 81 Wheel (press) 97
FILTER (B) 74 RANGE (up) 65 Wheel (left) 107
LIMIT (A) 93 RECALL 85 Wheel (right) 114
The above chart lists the numeric keycode values for the front panel controls. The
keycode value identifiers are listed in the documentation for
display.sendkey (e.g.,
display.KEY_RUN is the identifier for the RUN key)
Details See “Capturing key-press codes” on Section 14.
Also see display.sendkey, display.settext, display.getlastkey
Example The following code will hold up script execution and wait for the operator to press a key
or the wheel, or rotate the wheel:
key = display.waitkey()
print(key)
Output: 8.600000e+01
The above output (86) indicates that the MEAS (A) key was pressed.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley SourceMeter 2600 Series and is the answer not in the manual?

Keithley SourceMeter 2600 Series Specifications

General IconGeneral
BrandKeithley
ModelSourceMeter 2600 Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals