Term – Measurement Computing Analyzer488 User Manual

Page 179

Advertising
background image

Section 4

Serial Controller

4.85

TERM

The TERM command sets the end-of-line terminators for output from the

Analyzer488 to IEEE 488 bus devices. All output to bus devices, except OUTPUT
#count

, is terminated by the IEEE 488 bus output terminator. All ENTER input

from bus devices is terminated on a Line Feed (LF) or optionally specified with the
ENTER

command.

During OUTPUT, the Analyzer488 takes the data it receives from the user's

program, strips all CR and LF characters from it (except OUTPUT #count) and
appends the IEEE 488 bus output terminator before sending it to the bus device. The
default terminators for output are factory set to CR LF, which is appropriate for most
bus devices.

EOI

has a different meaning when specified for input than when it is specified

for output. During input, EOI specifies that input will be terminated upon detection
of the End Or Identify (EOI) bus signal, regardless of which characters have been
received. During output, EOI specifies that the EOI bus signal is to be asserted during
the last byte transferred.

The query command TERM? returns the current IEEE 488 bus terminators.

TYPE

High Level Controller command

SYNTAX

TERM[;]{[?]|[term[term][EOI]|[EOI]|[NONE]]}

term

is one of CR, LF, $char, or 'X, specifying a terminator

character.

RESPONSE

None

MODE

High Level Controller

BUS STATES

None

QUERY

The string TERM followed by the current IEEE 488 bus

RESPONSE

terminators.

Advertising