Measurement Computing Analyzer488 User Manual

Page 134

Advertising
background image

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

ENTER

E

3

C

B

5

6

2

F

+/-

SAVE

HELP

0

1

4

NEXT

LAST

FIRST

STAT

SETUP

ARM

ESC

A

8

9

7

VIEW

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

7

8

9

10

40

4

5

6

11

41

1

2

3

12

42

0

15

14

13

43

44

45

Advertising