En - enter – Measurement Computing Micro488/p User Manual
Page 29

Command Descriptions
09-27-02
3-11
EN
ENTER
The ENTER command reads data from the IEEE bus. If a device address is specified, that
device is addressed to talk. If no address is specified, the Micro488/p must already be
configured to receive data as a result of an immediately preceding ENTER command. The
Micro488/p hangs the bus if no device is present to provide the data. From either mode
(addressed or unaddressed), the Micro488/p inputs data from the IEEE bus and sends it to
serial port until one of the following conditions is met:
1.
A terminator character is received from the IEEE device that is talking.
2.
An EOI is received with the data from the IEEE device that is talking.
3.
An Escape command is received from the host computer via the serial port.
SYNTAX
EN[;addr]
addr is the IEEE bus device address.
RESPONSE
Device-dependent data. The response ends when the IEEE bus
input terminator is detected and the serial output terminators are
appended to the returned data.
BUS STATES
ATN,UNL,TAG,*ATN
Micro488/p is in the listener active state, and IEEE device is in
the talker active state.
EXAMPLES
PRINT#1,"EN;16"
Read data from device 16.
INPUT#1,A$
PRINT#1,"EN;16"
LINE INPUT#1,A$
Read an entire line of data
from device 16 even if it
contains commas or other
punctuation.