
Section 4 Serial Controller
4.40
KEY
The
KEY
command is used to read the Analyzer488 keyboard. Upon receipt of
the
KEY
command, the Analyzer488 waits for the current
TIMEOUT
period for a
keypress. If a key is pressed before the
TIMEOUT
period, a three-digit key number
from 000 to 046 will be returned. If no key is pressed before
TIMEOUT
, the number
255 will be returned. If another command is sent before a key is pressed or a
TIMEOUT
has occurred, the new command will not be executed until after a key is
pressed or the
TIMEOUT
period has passed.
The query option,
KEY?,
is used to check if a key is pressed on the Analyzer488
keyboard. If a key is pressed, the Analyzer488 returns a three-digit key number, from
000 to 046. If no key is pressed, 255 is returned. The response to the
KEY?
command
is immediate since timeouts are not used.
TYPE System command
SYNTAX KEY[?]
RESPONSE Three digit key number, from 000 to 046, or 255 if no key is pressed.
The following illustration shows the key numbers for the
Analyzer488 front panel keyboard:
RATE NONE
ERASE ZERO
SET REL
+TRIGGER -TRIGGER FIND
DISPLAY MEASURE
HEX
BIN
PRINT
HANDSHAKE
MEMORY
SEARCH
TRIGGER
SOURCE
SHIFT
CURSOR
CONTROL
DATA ENTRY
FAST SLOW STEP LISTEN TALK EOI ATN SRQ REN IFC
EXIT
D ENTERE
3C
B56
2
F
+/-
SAVEHELP
0
1
4
NEXTLASTFIRST
STAT SETUP ARM
ESCA897VIEW REC REL
16 17 18
26 27
28
29 30 31
32 33 34
36
39
37 38
35
19 20 21 22 23 24 25
7891040
4 5 6 11 41
1231242
0151413
43 44 45
Comentarios a estos manuales