Serial poll response sn – Measurement Computing Analyzer488 User Manual

Page 232

Advertising
background image

Section 6

Instrument Simulator

6.22

Serial Poll Response Sn

The Serial Poll Response command, Sn, is used to set the eight-bit serial poll

register to any value from 0 to 255. The value in the serial poll register will be returned
when the IEEE controller issues a serial poll command (SPOLL) on the bus. All data
sent to the serial poll register replaces any previous register data. If the seventh data
line is set true (x1xxxxxx), the Analyzer488 will assert the Service Request (SRQ) bus
line. After the Analyzer488 is serial polled, bit 7 of the serial poll response register
will be cleared.

SYNTAX:

S0

Clear the serial poll register (default)

Sn

Set the serial poll register to n. n = 0 to 255
(new data replaces any previous data)

S?

Returns current Serial Poll register contents

EXAMPLES: PRINT#1,"OUTPUT10;S65X" set the serial poll register to 65, the

Analyzer488 will generate an SRQ

PRINT#1,"SPOLL10"

serial poll the Analyzer488

INPUT#2,C$
PRINT C$

display shows 65

PRINT#1,"SPOLL10"

serial poll the Analyzer488 again

INPUT#2,C$
PRINT C$

display shows 1 since the
Analyzer488 was Serial Polled
above which cleared bit 7

Advertising