Step – Measurement Computing Analyzer488 User Manual

Page 175

Advertising
background image

Section 4

Serial Controller

4.81

STEP

The STEP command causes the Analyzer488 to perform one source or acceptor

handshake when STEP handshake is selected. The STEP command is used to
complete a handshake and allow new data to be placed on the bus (in Talk State), or
received from the bus (in Listen State).

The query option, STEP?, returns 1 (True) if there is data on the bus to be read

or if a bus device is waiting for data. STEP? returns 0 (False) otherwise.

TYPE

Low Level Controller command

SYNTAX

STEP [?]

RESPONSE

None

MODE

Low Level Controller

BUS STATES

Dependent on data on the bus

QUERY

Returns 1 (True) if there is data on the bus to be read or if a bus

RESPONSE

device is waiting for data. Returns 0 (False) otherwise.

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"

Send TAG20 command

PRINT#1,"UNASSERT ATN"
PRINT#1,"LISTEN"
PRINT#1,"VIEW BUS"

View data from device 20

INPUT#1,A$:PRINT A$

one byte at a time

PRINT#1,"STEP"
PRINT#1,"VIEW BUS"
INPUT#1,A$:PRINT A$
PRINT#1,"STEP"
PRINT#1,"VIEW BUS"

Advertising