Section 7: TSP command reference Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-74 2657A-901-01 Rev. B/December 2012
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 Key list
Value Key list
0
display.KEY_NONE
82
display.KEY_ENTER
65
display.KEY_RANGEUP
85
display.KEY_RECALL
68
display.KEY_MENU
86
display.KEY_MEASA
69
display.KEY_MODEA
87
display.KEY_DIGITSA
70
display.KEY_RELA
88
display.KEY_OUTPUTA
71
display.KEY_RUN
92
display.KEY_TRIG
72
display.KEY_DISPLAY
93
display.KEY_LIMITA
73
display.KEY_AUTO
94
display.KEY_SPEEDA
75
display.KEY_EXIT
95
display.KEY_LOAD
77
display.KEY_FILTERA
97
display.WHEEL_ENTER
78
display.KEY_STORE
103
display.KEY_RIGHT
79
display.KEY_SRCA
104
display.KEY_LEFT
80
display.KEY_CONFIG
107
display.WHEEL_LEFT
81
display.KEY_RANGEDOWN
114
display.WHEEL_RIGHT
When using this function, use built-in constants, such as display.KEY_RIGHT, rather than the
numeric value, such as 103. This allows for better forward compatibility with firmware revisions.
Example
display.sendkey(display.KEY_RUN)
Simulates pressing the RUN key.
Also see
Front panel (on page 2-2)
display.setcursor()
This function sets the position of the cursor.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
display.setcursor(row, column)
display.setcursor(row, column, style)
row
The row number for the cursor (1 or 2)
column
The active column position to set; row 1 has columns 1 to 20, row 2 has columns 1
to 32
style
Set the cursor to invisible (0, default) or blinking (1)
NOTE