Display.sendkey() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Section 7: Command reference
Also see
display.settext()

display.sendkey()

This function sends a code that simulates the action of a front panel control.
Type
TSP-Link accessible
Function
Yes
Usage
display.sendkey(keyCode)
keyCode
Details
This command simulates the pressing of a front panel key or navigation wheel, or the turning the navigation
wheel one click to the left or right.
Key codes
Value
0
65
68
69
70
71
72
73
75
77
78
79
80
81
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.
Example
display.sendkey(display.KEY_RUN)
Also see
Front panel
(on page 2-1)
7-68
Model 2651A High Power System SourceMeter® Instrument Reference Manual
(on page 7-70)
Affected by
A parameter that specifies the key to virtually press. See Details for more
information
Key list
display.KEY_NONE
display.KEY_RANGEUP
display.KEY_MENU
display.KEY_MODEA
display.KEY_RELA
display.KEY_RUN
display.KEY_DISPLAY
display.KEY_AUTO
display.KEY_EXIT
display.KEY_FILTERA
display.KEY_STORE
display.KEY_SRCA
display.KEY_CONFIG
display.KEY_RANGEDOWN
Where saved
Default value
Value
Key list
82
display.KEY_ENTER
85
display.KEY_RECALL
86
display.KEY_MEASA
87
display.KEY_DIGITSA
88
display.KEY_OUTPUTA
92
display.KEY_TRIG
93
display.KEY_LIMITA
94
display.KEY_SPEEDA
95
display.KEY_LOAD
97
display.WHEEL_ENTER
103
display.KEY_RIGHT
104
display.KEY_LEFT
107
display.WHEEL_LEFT
114
display.WHEEL_RIGHT
NOTE
Simulates pressing the RUN key.
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents