
Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-68
Document Number: 3700S-901-01 Rev. A / August 2007
display.waitkey
Remarks
After sending this function, script execution pauses until a front panel key or the
wheel is pressed, or the wheel is turned to the right or left. After pressing a control
or turning the wheel, the keycode value for that key will be returned. The chart
shown below lists the keycode value for each front panel control. The controls are
listed alphabetically.
If the
EXIT key
is pressed while this function is waiting for a keypress, 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 keycode 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_RANGEDOWN
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
Keycode
values for the front panel controls. The
Keycode
value identifiers are listed in the documentation for See display.sendkey. (for
example, display.KEY_RUN is the identifier for the
RUN
key).
Also see
display.sendkey
(on page 9-65)
display.settext
(on page 9-66)
display.getlastkey
(on page 9-56)