EasyManuals Logo

Tektronix Keithley 2601B-PULSE Reference Manual

Tektronix Keithley 2601B-PULSE
849 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 #98 background imageLoading...
Page #98 background image
Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 3: Instrument description
2601B-PULSE-901-01A April 2020 3-27
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.
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-57).
The following programming example illustrates how to prompt the user to press the EXIT (LOCAL)
key to abort the script, or any other key to continue it:
display.clear()
display.setcursor(1, 1)
display.settext("Press EXIT to Abort")
display.setcursor(2, 1)
display.settext("or any key to continue")
key = display.waitkey()
display.clear()
display.setcursor(1, 1)
if key == 75 then
display.settext("Test Aborted")
exit()
else
display.settext("Test Continuing")
end
The above code captures the key that is pressed by the operator. The key code value for the EXIT
(LOCAL) key is 75. If the EXIT (LOCAL) key is pressed, the script aborts. If any other key is pressed,
the script continues.

Table of Contents

Other manuals for Tektronix Keithley 2601B-PULSE

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix Keithley 2601B-PULSE and is the answer not in the manual?

Tektronix Keithley 2601B-PULSE Specifications

General IconGeneral
BrandTektronix
ModelKeithley 2601B-PULSE
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals