Models 2510 and 2510-AT User’s Manual SCPI Command Reference 10-51
:CLEar
:SYSTem:CLEar Clear Error Queue
Description This action command is used to clear the Error Queue of messages.
Simulate key presses
:KEY <NRf>
:SYSTem:KEY <NRf> Simulate key-press
Parameters <NRf> = 4 Right arrow key
5V
6 CONFIG
12 I
13 MENU
14 EXIT
16 TOGGLE
19 R
20 Up arrow key
21 ENTER
24 OUTPUT
27 Down arrow key
28 Left arrow key
29 T
Query :KEY? Query last “pressed” key.
Description This command is used to simulate front panel key presses. For example,
to select the MENU key you can send the following command to simu-
late pressing the menu key:
:syst:key 21
The parameter listing above provides the key-press code in numeric
order.
The queue for the :KEY? query command can only hold one key-press.
When :KEY? is sent over the bus, and the Model 2510 is addressed to
talk, the key-press code number for the last key pressed (either physi-
cally or with :KEY) is sent to the computer.
The key-press code number for the last key pressed (either physically or
with :key) is sent to the computer.