Enter – Measurement Computing Analyzer488 User Manual
Page 124

Section 4
Serial Controller
4.30
ENTER
The ENTER command reads data from the IEEE 488 bus.
If a device address (with optional secondary address) is specified, that device
will be addressed to talk. If no address is specified, the Analyzer488 must already be
configured to receive data, either as a result of an immediately preceding ENTER and
ADDRESS
command, or as a result of a SEND sub-command.
If time-out is enabled, a time-out error will occur if the Analyzer488 does not
receive a data byte within the time-out period.
If character count, count, is specified, then exactly count characters will be
read from the device. If count is not specified, ENTER terminates reception on
detection of the first line feed (LF) terminator character. Serial output terminators are
appended after count characters are read. The terminator may be overridden by
specifying a different terminator, term, in the ENTER command.
If a terminator, term, option is specified, all CR and LF characters in the input
data are unconditionally discarded. When the specified terminator is detected, it is
discarded and replaced with serial output terminator(s) before control is returned to
the serial host. The optional terminator applies ONLY to the ENTER command it is
sent with. The terminator returns to a Line Feed on subsequent ENTER commands.
If the EOI option is specified, all characters are returned to the host until the
EOI
line is detected. The character sent with EOI asserted is also returned followed
by the serial output terminator(s).
This command does not have a query option.
TYPE
High Level Controller command
SYNTAX
ENTER[addr][#count|term|EOI|;count|;term|;EOI]
addr
is an IEEE 488 bus device address.
count
is the number of characters to ENTER.
term
and EOI override the normal IEEE bus input LF terminator.