Display.waitkey() - Keithley 2601B Reference Manual

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Series 2600B System SourceMeter® Instrument Reference Manual

display.waitkey()

This function captures the key code value for the next front-panel action.
Type
TSP-Link accessible
Function
Yes
Usage
keyCode = display.waitkey()
keyCode
Details
After you send this function, script execution pauses until a front-panel action (for example, pressing a key or the
navigation wheel
returned.
If the EXIT (LOCAL) key is pressed while this function is waiting for a front-panel action, the script is not aborted.
A typical use for this function is to prompt the user to press the EXIT (LOCAL) key to abort the script or press any
other key to continue. For example, if the keyCode value 75 is returned (the EXIT (LOCAL) key was pressed),
the exit() function can be called to abort the script.
The table below lists the keyCode value for each front panel action.
Key codes
Value
0
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
When using this function, use built-in constants such as display.KEY_RIGHT (rather than the
numeric value of 103). This will allow for better forward compatibility with firmware revisions.
2600BS-901-01 Rev. B / May 2013
Affected by
See Details for more information
, or turning the navigation wheel
Key (or action)
display.KEY_NONE
display.KEY_RANGEUP
display.KEY_MODEB
display.KEY_RELB
display.KEY_MENU
display.KEY_MODEA
display.KEY_RELA
display.KEY_RUN
display.KEY_DISPLAY
display.KEY_AUTO
display.KEY_FILTERB
display.KEY_EXIT
display.KEY_SRCB
display.KEY_FILTERA
display.KEY_STORE
display.KEY_SRCA
display.KEY_CONFIG
display.KEY_RANGEDOWN
display.KEY_ENTER
Where saved
Default value
). After the action, the value of the key (or action) is
Value
Key (or action)
83
display.KEY_MEASB
84
display.KEY_DIGITSB
85
display.KEY_RECALL
86
display.KEY_MEASA
87
display.KEY_DIGITSA
88
display.KEY_OUTPUTA
90
display.KEY_LIMITB
91
display.KEY_SPEEDB
92
display.KEY_TRIG
93
display.KEY_LIMITA
94
display.KEY_SPEEDA
95
display.KEY_LOAD
96
display.KEY_OUTPUTB
97
display.WHEEL_ENTER
103
display.KEY_RIGHT
104
display.KEY_LEFT
107
display.WHEEL_LEFT
114
display.WHEEL_RIGHT
Section 7: TSP command reference
7-81

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents