Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-79
display.sendkey()
This function sends a code that simulates the action of a front-panel control.
Usage
display.sendkey(keyCode)
A parameter that specifies the key press to simulate; see Details
Details
This command simulates pressing a front-panel key or navigation wheel, or turning the navigation
wheel one click to the left or 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” in the Series 2600B User's Manual