Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-139
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 for more
information
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 operation (on page 3-1)