beautypg.com

Output (peripheral mode) – Measurement Computing Micro 488/EX rev.2.1 User Manual

Page 125

background image

Section 5

Command Descriptions

5.55

OUTPUT (Peripheral mode)

In Peripheral mode the OUTPUT command sends data to the IEEE bus under

control of the Active Controller. The Active Controller must put the Micro488/EX into
the Talk state and configure some bus device to accept the transferred data. The Talk
state can be checked with the STATUS 1 command, can cause a reported condition via
the ARM command or force execution of a Macro with the ON TALK DOMACRO
command. A time-out error will occur, if enabled, if no bus device accepts the data
within the time out period after issuing the OUTPUT command.

If the character count, count, is specified then exactly that number of characters

will be sent to the bus devices. Otherwise, OUTPUT terminates data transfer upon
detection of the serial CR of LF terminator(s) from the serial input. The serial
terminator(s) are replaced with the bus output terminator(s) before being sent to the bus
devices.

The number of characters that can be set to a bus device is limited by the

available USER heap. The exception to this is OUTPUT #count, in which the number
of bytes is limited to 65,535.

The IEEE bus output terminators can be modified with the TERM command.

Refer to this command description for complete information.

Even as a Peripheral, the Micro488/EX might be the System Controller. If it is,

then it will assert Remote Enable before sending any data.

SYNTAX

OUTPUT [#count];data
or
OU [#count];data

count

is the number of characters to OUTPUT.

data

is a string of characters to OUTPUT terminated by the serial

output terminator(s) unless count is specified.

RESPONSE

None