EasyManuals Logo
Home>Tektronix>Measuring Instruments>KEITHLEY 2600B Series

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 #389 background imageLoading...
Page #389 background image
Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-68 2600BS-901-01 Rev. F/August 2021
display.getlastkey()
This function retrieves the key code for the last pressed key.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
keyCode = display.getlastkey()
keyCode
A returned value that represents the last front-panel key pressed; see Details for
more information
Details
A history of the key code for the last pressed front-panel key is maintained by the instrument. When
the instrument is turned on, or when it is transitioning from local to remote operation, the key code is
set to 0 (display.KEY_NONE).
Pressing the EXIT (LOCAL) key normally aborts a script. To use this function with the EXIT (LOCAL)
key, you must set display.locallockout to display.LOCK.
The table below lists the keyCode value for each front-panel action.
Key codes
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
107
display.WHEEL_LEFT
81
display.KEY_RANGEDOWN
114
display.WHEEL_RIGHT
When using this function, use built-in constants such as display.KEY_RIGHT (rather than the
numeric value of 103). This allows for better forward compatibility with firmware revisions.

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