15-20 Additional SCPI Commands
:KEY <NRf> command
:KEY
:SYSTem:KEY <NRf> Simulate key-press
Parameters
Description
This command is used to simulate front panel key presses. For example, to select RATIO you
can send the following command to simulate pressing the RATIO key:
:syst:key 4
The parameter listing provides the key-press code in numeric order. Figure 15-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 2182 is addressed to talk, the key-press code number for the last key
pressed (either physically or with :KEY) is sent to the computer.
NOTE :SYST:KEY should not be used to put the Model 2182 into the local mode; use GTL
instead.
<NRf> = 1 SHIFT key <NRf> = 17 LOCAL key
2 DCV1 key 18 EX-TRIG key
3 DCV2 key 19 TRIG key
4 RATIO key 20 STORE key
5 ACAL key 21 RECALL key
6 FILT key 22 VALUE key
7 REL key 23 ON/OFF key
8 TEMP1 key 24 left arrow key
9 — 25 —
10 — 26 STEP key
11 up arrow key 27 SCAN key
12 AUTO key 28 SAVE
13 down arrow key 29 RESTORE key
14 ENTER key 30 DIGITS key
15 right arrow key 31 RATE key
16 TEMP2 key 32 EXIT key