beautypg.com

Listen – Measurement Computing Analyzer488 User Manual

Page 136

background image

Section 4

Serial Controller

4.42

LISTEN

The LISTEN command sets the Analyzer488 to the Listen State when in the

Low Level Controller Mode (CONTROLLER OFF). Once the LISTEN command has
been executed, the READ command may be used to accept data from the bus, one
event at a time.

The query option, LISTEN?, returns the current Listen or Talk State of the

Analyzer488. LISTEN is returned if it is functioning in the Listen State, TALK is
returned if functioning in the Talk State.

TYPE

Low Level Controller command

SYNTAX

LISTEN[?]

RESPONSE

None

MODE

Low Level Controller

BUS STATES

Dependent on data sent from active talker

QUERY

LISTEN

if in Listen State, TALK if in Talk State.

RESPONSE

EXAMPLES

PRINT#1,"CONTROLLER OFF"
PRINT#1,"ASSERT IFC ATN REN"
PRINT#1,"UNASSERT IFC"
PRINT#1,"TALK"
PRINT#1,"HANDSHAKE STEP"
PRINT#1,"WRITE &H54"
PRINT#1,"UNASSERT ATN"
PRINT#1,"LISTEN"
PRINT#1,"READ"
INPUT#1,A$;PRINT A$
...
...