Programmer’s Guide 8-3
Front Panel Keycodes
Front Panel Keycodes
The SCPI query SYSTem:KEY:TYPE? returns a string indicating the
type of key press event:
Table 8-1 Key Press Return Values
The SCPI query SYSTem:KEY[:VALue]? returns a number describing
the type of key press. The meaning of the number depends on the key
type returned by the SYSTem:KEY:TYPE? query:
Table 8-2 Key Press Types
Return Value Meaning
NONE
KEY
RPG
ASC
No key has been pressed.
A front panel key has been pressed.
The analyzer's knob has been turned.
A key on the ASCII PC DIN keyboard has been pressed.
SYST:KEY:TYPE SYST:KEY:VALUE Meaning
NONE
KEY
RPG
ASC
No meaning. Returns −1.
A number from 0 to 56 representing the "key code" of
the front panel key. See following table for list.
The number of knob "ticks." Positive values indicate
a clock-wise turn; negative numbers indicate
counter-clockwise. Larger numbers indicate the
knob has been turned faster or further.
The ASCII value of the pressed key.