5-68 SCPI Command Reference
:KEY <NRf> command
:SYSTem:KEY <NRf> Simulate key-press
Parameters <NRf> = 1 SHIFT key <NRf> = 17 LOCAL key
2 DCV key 18 EX TRIG key
3 ACV key 19 TRIG key
4 DCI key 20 STORE key
5 ACI 21 RECALL key
6 Ω2 key 22 FILTER key
7 Ω4 key 23 REL key
8 FREQ key 24 left arrow key
9 — 25 —
10 — 26 OPEN key
11 up arrow key 27 CLOSE key
12 AUTO key 28 STEP key
13 down arrow key 29 SCAN key
14 ENTER key 30 DIGITS key
15 right arrow key 31 RATE key
16 TEMP key 32 EXIT key
Query :KEY? Query last “pressed” key.
Description This command is used to simulate front panel key presses. For example, to
select DCV you can send the following command to simulate pressing the
DCV key:
:syst:key 2
The parameter listing provides the key-press code in numeric order.
Figure 5-10 also illustrates the key-press codes.
The queue for the :KEY? query command can only hold one key-press.
When :KEY? is sent over the bus, and the Model 2010 is addressed to talk,
the key-press code number for the last key pressed (either physically or with
:KEY) is sent to the computer.