EasyManuals Logo

Tektronix KEITHLEY 2600B Series User Manual

Tektronix KEITHLEY 2600B Series
834 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 #256 background imageLoading...
Page #256 background image
Series 2600B System SourceMeter® instrument Reference Manual Section 8: Instrument programming
2600BS-901-01 Rev. F/August 2021 8-35
Capturing key-press codes
A history of the key code for the last pressed front-panel key is maintained by the 2600B. When the
instrument is turned on (or when transitioning from local to remote operation), the key code is set to 0
(display.KEY_NONE).
When a front-panel key is pressed, the key code value for that key can be captured and returned.
There are two functions associated with the capture of key-press codes: display.getlastkey()
and display.waitkey().
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 returns the key code value (see the following table). A value of
0 (display.KEY_NONE) indicates that the key code history had been cleared.
Key codes
Value
Key list
Value
Key list
0
display.KEY_NONE
82
display.KEY_ENTER
65
display.KEY_RANGEUP
85
display.KEY_RECALL
68
display.KEY_MENU
86
display.KEY_MEASA
69
display.KEY_MODEA
87
display.KEY_DIGITSA
70
display.KEY_RELA
92
display.KEY_TRIG
71
display.KEY_RUN
93
display.KEY_LIMITA
72
display.KEY_DISPLAY
94
display.KEY_SPEEDA
73
display.KEY_AUTO
95
display.KEY_LOAD
75
display.KEY_EXIT
97
display.WHEEL_ENTER
77
display.KEY_FILTERA
103
display.KEY_RIGHT
78
display.KEY_STORE
104
display.KEY_LEFT
79
display.KEY_SRCA
107
display.WHEEL_LEFT
80
display.KEY_CONFIG
114
display.WHEEL_RIGHT
81
display.KEY_RANGEDOWN
You cannot track the OUTPUT ON/OFF control for a source-measure unit (SMU) using this function.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix KEITHLEY 2600B Series and is the answer not in the manual?

Tektronix KEITHLEY 2600B Series Specifications

General IconGeneral
BrandTektronix
ModelKEITHLEY 2600B Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals