beautypg.com

Stop, Sys controller, Term – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual

Page 325

background image

15A. Driver488/DRV Commands

III. COMMAND REFERENCES - 15. Command References

III-310

Personal488 User’s Manual, Rev. 3.0

STOP

SYNTAX

STOP[name]

RESPONSE

None

MODE

Any

BUS STATES

ATN (Controller)

None (Peripheral)

SEE ALSO

ENTER, OUTPUT, BUFFERED, STATUS

EXAMPLE

PRINT#1,"STOP"

The

STOP

command halts any

CONTINUE

transfer that may be in progress. If the transfer has

completed already, then

STOP

has no effect. The actual number of characters transferred is available

from the

BUFFERED

command.

SYS CONTROLLER

SYNTAX

SYS CONTROLLER [OFF|ON]

RESPONSE

None

MODE

Any

BUS STATES

IFC if System Controller

SEE ALSO

ABORT, RESET

EXAMPLES

PRINT#1”SYS CONTROLLER OFF”

The

SYS CONTROLLER

command specifies whether or not the IEEE 488 interface card is to be the

System Controller. The System Controller has ultimate control of the IEEE 488, and there may be only
one System Controller on a bus.

If Driver488 is a Peripheral (that is, not System Controller), it may still take control of bus transactions
if the Active Controller passes control to Driver488. Driver488 may then control the bus and, when it
is done, pass control back to the System Controller or other computer, which then becomes the Active
Controller.

TERM

SYNTAX

TERM[;] [devicename] [IN|OUT]term[term][EOI]

devicename

refers to an external device name.

IN

or

OUT

specifies whether the input or output terminators are being set. If

neither

IN

nor

OUT

is specified, then both terminators are set identically.

term

is one of

CR

,

LF

,

$char

, or

‘X

, specifying a terminator character.

RESPONSE

None

MODE

Any

BUS STATES

None

SEE ALSO

EOL, ENTER, OUTPUT, STATUS

EXAMPLES

PRINT#1,"TERM CR LF EOI"

Set both input and output bus terminators to

carriage return line feed, with EOI sent
on output and detected on input.

PRINT#1,"TERM OUT LF EOI"

Set output term to LF with EOI.

PRINT#1,"TERM IN ‘Z"

Set bus input term to the letter “Z”.

PRINT#1,"TERM OUT $0 EOI"

Set output term to NULL with EOI.

The

TERM

command sets the end-of-line (

EOL

) terminators for input from, and output to, the I/O

adapter devices. All output to I/O adapter devices, except

OUTPUT #count

and

OUTPUT #count BUFFER

, is terminated by the bus output terminator. All

ENTER

input from I/O

adapter devices, except

ENTER #count

and

ENTER #count BUFFER

, must be terminated by the bus

input terminator.