S Mode Functions
Chapter 5
GPIB-SCSI-A User Manual
5-30
© National Instruments Corp.
eos - Change/Disable GPIB EOS Termination
Mode
Type:
Initialization function
Purpose:
Use
eos
at the beginning of your program if you want to use
an End-Of-String (EOS) mode when you transfer data to and
from the GPIB.
eos
tells the GPIB-SCSI-A when to stop
reading information from the GPIB.
eos
also enables the
GPIB-SCSI-A to tell other devices that it is finished writing
information to the GPIB.
eos
defines a specific EOS
character to be recognized as a string terminator.
Format:
Bit
7
6
5
4
3
2
1
0
Byte
0
Opcode = C5H
1
Reserved
2
Reserved
3
EOS Mode
4
ASCII value of EOS Character
5
Reserved
Remarks:
EOS Mode indicates GPIB termination methods. See
Table 5-2 for proper values of the EOS Mode and a
description of each bit.
The ASCII value of an EOS character represents a single
ASCII character. For example, 10 represents the ASCII
linefeed character.