User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-105
display.screen
Example
Selects the user display:
display.screen = display.USER
display.sendkey()
Function
Send key code that simulates the action of a front panel control being pressed.
Usage
display.sendkey(keycode)
Set key code to one of the values shown below:
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
NOTE When using this function, send built-in defines such as
display.KEY_RIGHT (rather than the numeric value of 103). This will
allow for greater forward compatibility with respect to firmware revisions.
For example, use display.KEY_ENTER instead of 82.
Also see
Front panel keys for key functions.
Example
To use a bus command to simulate the action of a front panel RUN key being pressed:
display.sendkey(display.KEY_RUN)