EasyManuals Logo
Home>Keithley>Multimeter>3700 Series

Keithley 3700 Series User Manual

Keithley 3700 Series
936 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 #293 background imageLoading...
Page #293 background image
Section 9: Introduction to TSP operation Series 3700A System Switch/Multimeter Reference Manual
9-20 3700AS-901-01 Rev. D/June 2018
display.getlastkey()
The display.getlastkey() function immediately returns the key code for the last pressed key.
The following programming example illustrates how to display the last key pressed:
key = display.getlastkey()
print(key)
The above code will return the key code value (see the following table). Remember that a value of 0
(display.KEY_NONE) indicates that the key code history had been cleared.
Key code values returned for display.getlastkey
Value
Key list
Value
key list
0
(display.KEY_NONE)
82
(display.KEY_ENTER)
65
(display.KEY_RANGEUP)
83
(display.KEY_MEASB)
67
(display.KEY_RELB)
84
(display.DIGITSB)
68
(display.KEY_MENU)
85
(display.KEY_RECALL)
69
(display.KEY_MODEA)
86
(display.KEY_MEASA)
70
(display.KEY_RELA)
87
(display.KEY_DIGITSA)
71
(display.KEY_RUN)
90
(display.KEY_LIMITB)
72
(display.KEY_DISPLAY)
91
(display.KEY_SPEEDB)
73
(display.KEY_AUTO)
92
(display.KEY_TRIG)
74
(display.KEY_FILTERB)
93
(display.KEY_LIMITA)
75
(display.KEY_EXIT)
94
(display.KEY_SPEEDA)
76
(display.KEY_SRCB)
95
(display.KEY_LOAD)
77
(display.KEY_FILTERA)
97
(display.WHEEL_ENTER)
78
(display.KEY_STORE)
103
(display.KEY_RIGHT)
79
(display.KEY_SRCA)
104
(display.KEY_LEFT)
80
(display.KEY_CONFIG)
114
(display.WHEEL_RIGHT)
81
(display.KEY_RANGEDOWN)
display.waitkey()
The display.waitkey() function captures the key code value for the next key press:
key = display.waitkey()
After sending the display.waitkey() function, the script pauses and waits for the operator to
press a front-panel key. For example, if the MENU key is pressed, the function returns the value 68,
which is the key code for that key. The key code values are the same as listed in display.getlastkey()
(on page 11-129).

Table of Contents

Other manuals for Keithley 3700 Series

Questions and Answers:

Question and Answer IconNeed help?

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

Keithley 3700 Series Specifications

General IconGeneral
BrandKeithley
Model3700 Series
CategoryMultimeter
LanguageEnglish

Related product manuals