Output (peripheral mode) – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual
Page 314

III. COMMAND REFERENCES - 15. Command References
15A. Driver488/DRV Commands
Personal488 User’s Manual, Rev. 3.0
III-299
EXAMPLES
PRINT#1,"OUTPUT22;R0C0T1X"
Send “R0C0T1X” to device 22.
PRINT#1,"OUTPUT;XYZ"
And send it “XYZ”.
PRINT#1,"OUTPUT0602;DEF"
Send “DEF” to device 6, secondary address 2.
PRINT#1,"OUTPUT06#26;
abcdefghijklmnopqrstuvwxyz"
Send the 26 letters of the alphabet without
terminators to device 6.
PRINT#1,"OUTPUT DMM;DC VOLTS"
Send “DCVOLTS” to device DMM.
The
OUTPUT
command sends data to the I/O adapter. The Remote Enable (
REN
) line is first asserted if
Driver488 is the System Controller and
AUTO REMOTE
is enabled. Then, if a device address (with
optional secondary address) is specified, Driver488 is addressed to Talk and that device is addressed to
Listen. If no address is specified, Driver488 must already be configured to send data, either as a result
of an immediately preceding
OUTPUT
command or as the result of a
SEND
command. If the character
count
count
is specified, that exact number of characters is sent to the bus devices. Otherwise,
OUTPUT
terminates data transfer upon detection of the
EOL
output terminator from the user’s program.
The
EOL
output terminator is replaced with the bus output terminator before being sent to the bus
devices.
OUTPUT (Peripheral Mode)
SYNTAX
OUTPUT [#count][term][term][EOI];data
count
is the number of characters to
OUTPUT
.
term
and
EOI
override the normal IEEE 488 bus output terminators.
data
is a string of characters to
OUTPUT
terminated by the
EOL
output terminator
unless
count
is specified.
RESPONSE
None
MODE
*CA
BUS STATES
Determined by the Controller.
REN asserted if SYS CONTROLLER and AUTO REMOTE are enabled.
SEE ALSO
ENTER, TERM, TIME OUT, BUFFERED
EXAMPLES
PRINT#1,"OUTPUT;DCVOLTS"
Send “DC VOLTS”
PRINT#1,"OUTPUT#5;ABCDE"
Send “ABCDE” without bus terminators.
In Peripheral mode, the
OUTPUT
command sends data to the I/O adapter under control of the Active
Controller. The Active Controller must put Driver488 into the
Talk
state and configure some bus
device to accept the transferred data. The
Talk
state can be checked with the
STATUS
command, or
can cause an interrupt via the
ARM
command. A time-out error occurs, 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, that exact number of characters is sent to the bus device. Otherwise,
OUTPUT
terminates data transfer upon detection of the
EOL
output terminator from the user’s program. The
EOL
output terminator is replaced with the bus output terminator before being sent to the bus devices. Even
as a Peripheral, Driver488 might be the System Controller. If it is and
AUTO REMOTE
is enabled, it
asserts Remote Enable (
REN
) before sending any data.