Keithley 2601 Reference Manual page 285

System sourcemeter 2600 series (smu)
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Series 2600 System SourceMeter® Instruments Reference Manual
display.getlastkey
Function
Retrieves the keycode for the last pressed key.
Usage
key = display.getlastkey()
Remarks
• This read-only function returns the keycode for the last pressed key. key
the following values:
0
(display.KEY_NONE)82
65 (display.KEY_RANGEUP)83
67 (display.KEY_RELB)84
68 (display.KEY_MENU)85
69 (display.KEY_MODEA)86
70 (display.KEY_RELA)87
71 (display.KEY_RUN)90
72 (display.KEY_DISPLAY)91
73 (display.KEY_AUTO)92
74 (display.KEY_FILTERB)93
75 (display.KEY_EXIT)94
76 (display.KEY_SRCB)95
77 (display.KEY_FILTERA)97
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)
• A history of the keycode for the last pressed front panel key is maintained by the Series
2600. When the instrument is powered-on, (or when transitioning from local to remote),
the keycode is set to 0 (display.KEY_NONE).
• The OUTPUT ON/OFF keys for SMU A and SMU B cannot be tracked by this function.
• Pressing the EXIT/LOCAL key normally aborts a script. In order to use this function with
the EXIT key, display.locallockout must be used.
Details
See
"Sending
Also see
display.sendkey,
On the front panel, press the MENU key and then send the following code:
Example
key = display.getlastkey()
print(key)
Output: 6.800000e+01
2600S-901-01 Rev. C / January 2008
(display.KEY_ENTER)
(display.KEY_MEASB)
(display.KEY_DIGITSB)
(display.KEY_RECALL)
(display.KEY_MEASA)
(display.KEY_DIGITSA)
(display.KEY_LIMITB)
(display.KEY_SPEEDB)
(display.KEY_TRIG)
(display.KEY_LIMITA)
(display.KEY_SPEEDA)
(display.KEY_LOAD)
(display.WHEEL_ENTER)
keycodes" in
Section
14.
display.locallockout
Return to
Section Topics
Section 12: Instrument Control Library
returns one of
12-25

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents