
2606B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2606B-901-01 Rev. B / May 2018
7-75
Key codes
Value
Key list
Value
Key list
0
display.KEY_NONE
82
display.KEY_ENTER
65
display.KEY_RANGEUP
83
display.KEY_MEASB
66
display.KEY_MODEB
84
display.KEY_DIGITSB
67
display.KEY_RELB
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
90
display.KEY_LIMITB
72
display.KEY_DISPLAY
91
display.KEY_SPEEDB
73
display.KEY_AUTO
92
display.KEY_TRIG
74
display.KEY_FILTERB
93
display.KEY_LIMITA
75
display.KEY_EXIT
94
display.KEY_SPEEDA
76
display.KEY_SRCB
95
display.KEY_LOAD
77
display.KEY_FILTERA
96
display.KEY_OUTPUTB
78
display.KEY_STORE
97
display.WHEEL_ENTER
79
display.KEY_SRCA
103
display.KEY_RIGHT
80
display.KEY_CONFIG
104
display.KEY_LEFT
81
display.KEY_RANGEDOWN
107
display.WHEEL_LEFT
114
display.WHEEL_RIGHT
When using this function, send 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
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)