Measurement-computing Micro 488/EX rev.2.1 Manual de usuario Pagina 154

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 218
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 153
Section 5 Command Descriptions
5.84
TERM
The TERM command sets the end-of-line terminators for output to IEEE bus
devices. All output to IEEE bus devices, except
OUTPUT
#count
, is terminated by
the IEEE bus output terminator. All
ENTER
input from IEEE bus devices is terminated
on a Line Feed (LF) or optionally specified with the
ENTER
command.
During
OUTPUT
, the Micro488/EX 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 bus output terminator before sending it to the IEEE bus device. The
default terminators for output are set by internal DIP switches and 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
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.
SYNTAX TERM[;]{term[term][EOI]|[EOI]|[NONE]}
or
TE[;]{term[term][EOI]|[EOI]|[NONE]}
term is one of
CR
,
LF
,
$char
, or
'X
, specifying a terminator
character.
RESPONSE None
MODE Any
BUS STATES None
EXAMPLES PRINT#1,"TERM CR LF EOI"
Set output bus terminators to carriage-return line-feed,
with EOI asserted on line-feed.
Vista de pagina 153
1 2 ... 149 150 151 152 153 154 155 156 157 158 159 ... 217 218

Comentarios a estos manuales

Sin comentarios