Data Transfer Termination Methods - National Instruments GPIB-MAC User Manual

Table of Contents

Advertisement

November 1985
eos - Change/Disable GPIB EOS Termination
Mode
eos: Initialization function
Syntax: eos [[R][X][B] eoschar]<CR>
eos D<CR>
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 GPIB. 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 (EOS), 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
REOS - terminate read when EOS is detected.
XEOS - set EOI with EOS on write functions.
BIN - compare all 8 bits of EOS byte rather than
DISABLE - disable all eos modes.
39
SECTIONFOUR-FUNCTIONS
or

DATA TRANSFER TERMINATION METHODS

low 7 bits (all read and write functions).
Letter
R
X
B
D

Advertisement

Table of Contents
loading

Table of Contents