Measurement Computing Analyzer488 User Manual

Page 125

Advertising
background image

Section 4

Serial Controller

4.31

RESPONSE

Device-dependent data. If count is specified, then count
characters will be returned followed by the serial output terminators.
Otherwise the response ends when the IEEE bus input terminator is
detected. The serial output terminators are then appended to the
returned data.

MODE

High Level Controller

BUS STATES ATN•UNL,MLA,TAG,*ATN,data…,ATN

(With addr)

*ATN, data…, ATN

(Without addr)

QUERY

None

RESPONSE

EXAMPLES

PRINT#1,"ENTER16"

Read data from device

16.
INPUT#1,A$

PRINT#1,"ENTER16"

Read an entire line of

data from
LINE INPUT#1,A$

device 16 even if it contains
commas or other punctuation.

PRINT#1,"ENTER16;CR"

Read data from device 16 until

INPUT#1,A$

CR is encountered.

PRINT#1,"ENTER16 EOI"

Read data until EOI is detected.

INPUT#1,A$

PRINT#1,"ENTER 0702"

Read data from device 7,

INPUT#1,A$

secondary address 2.

PRINT#1,"ENTER #20"

Read 20 more bytes.

A$=INPUT$(20,#1)

PRINT#1,"ENTER ;20"

Read 20 more bytes.

A$=INPUT$(20,#1)

Advertising