November 1985
National Instruments
eos Change/Disable GPIB EOS Termination
Mode
eos: Initialization function
Syntax: eos [[R][X][B]
or
eos
Purpose: You use eos at the beginning of your program if you
wish to use an eos mode when you transfer data to and
from the GPIB. eos tells the GPIB-MAC when to stop
reading information from the
eos also enables
the GPIB-MAC to tell other devices that it is finished
writing information to the GPIB. eos defines a specific
character, end-of-string
to be recognized as a
string terminator.
Remarks: The arguments
R, X, B,
and
D
specify GPIB termin-
ation methods. They enable or disable the corresponding
eos mode. If a particular letter is specified, the corres-
ponding eos mode is enabled. If it is not specified, the
corresponding eos mode is disabled.
eoschar is a numeric string which represents a single
ASCII character. For example, 10 represents the ASCII
character.
DATA TRANSFER TERMINATION METHODS
Letter
REOS terminate read when EOS is detected.
R
XEOS set EOI with EOS on write functions.
X
BIN compare all 8 bits of EOS byte rather than
B
low 7 bits (all read and write functions).
DISABLE disable all eos modes.
D
39
SECTIONFOUR-FUNCTIONS