User manual
Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-108 3700S-901-01 Rev. C / July 2008
display.waitkey()
Remarks
After sending this function, script execution pauses until a front panel key or the
navigation wheel is pressed, or the navigation wheel is turned to the right or left. After
pressing a control or turning the navigation wheel, the key code value for that key will
be returned. The chart shown below lists the key code value for each front panel
control. The controls are listed alphabetically.
If the EXIT key is pressed while this function is waiting for a key press, the script will
not be aborted.
A typical use for this function is to prompt the user to press the EXIT key to abort the
script or press any other key to continue. If key code value 75 is returned (EXIT key
pressed), then the exit() function can be called to abort the script.
Key List
Value
Key List
Value
display.KEY_RIGHT
103
display.KEY_INSERT
78
display.KEY_LEFT
104
display.KEY_OPENALL
79
display.WHEEL_LEFT
107
display.KEY_CONFIG
80
display.WHEEL_RIGHT
114
display.KEY_RANGEDO
WN
81
display.KEY_RANGEUP
65
display.KEY_ENTER
82
display.KEY_FUNC
66
display.KEY_REC
83
display.KEY_REL
67
display.KEY_DMM
84
display.KEY_MENU
68
display.KEY_DELETE
85
display.KEY_CLOSE
69
display.KEY_STEP
86
display.KEY_SLOT
70
display.KEY_CHAN
87
display.KEY_RUN
71
display.KEY_RATE
90
display.KEY_DISPLAY
72
display.KEY_LIMIT
91
display.KEY_AUTO
73
display.KEY_TRIG
92
display.KEY_FILTER
74
display.KEY_OPEN
93
display.KEY_EXIT
75
display.KEY_PATT
94
display.KEY_STORE
76
display.KEY_LOAD
95
display.KEY_SCAN
77
display.WHEEL_ENTER
97
The above chart lists the numeric key code values for the front panel controls. The key
code value identifiers are listed in the documentation for display.sendkey() (on page
13-105) (for example, display.KEY_RUN is the identifier for the RUN key).
Also see
display.sendkey() (on page 13-105)
display.settext() (on page 13-106)
display.getlastkey() (on page 13-96)