beautypg.com

Measurement Computing Micro 488/EX rev.2.1 User Manual

Page 103

background image

Section 5

Command Descriptions

5.33

MODE

*CA

BUS STATES Determined by the Active Controller

EXAMPLES

PRINT#1,"ENTER"

Read data into A$ until the default

INPUT#1,A$

bus input terminator is

detected.

PRINT#1,"ENTER CR"

Read data until CR is

INPUT#1,A$

encountered.

PRINT#1,"EN $000"

Read data until a NULL

is

INPUT#1,A$

encountered.

PRINT#1,"ENTER EOI"

Read data until EOI is detected.

INPUT#1,A$

PRINT#1,"ENTER #5"

Read 5 bytes.

A$=INPUT$(5,#1)

INPUT$

gets 5 bytes from file #1