Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-56
Term
Syntax
INT WINAPI Term(DevHandleT devHandle, TermT *term,
DWORD termFlag);
devHandle
refers to either an interface or an external device.
term
is a pointer to the terminator structure.
termFlag
can be either
TERMIN
,
TERMOUT
, or
TERMOUT
, specifying whether
input, output, or both are being set.
Returns
-1
if error
Bus States
None
Example
term.EOI = TRUE;
term.nChar = 1;
term.EightBits = TRUE;
term.termChar[0] = 13;
errorcode = Term(ieee,&term,TERMIN);
See Also
TermQuery, EnterX, OutputX, Status
The
Term
command sets the end-of-line (
EOL
) terminators for input from, and output to, I/O adapter
devices. These terminators are sent at the end of output data and expected at the end of input data, in the
manner of
CR LF
as used with printer data.
During output,
Term
appends the bus output terminator to the data before sending it to the I/O adapter
device. Conversely, when Driver488 receives the bus input terminator, it recognizes the end of a transfer
and returns the data to the calling application. The terminators never appear in the data transferred to or
from the calling application. The default terminators for both input and output are set by the startup
configuration and are normally
CR LF EOI
, which is appropriate for most bus devices.
End-Or-Identify (
EOI
) has a different meaning when it is specified for input than when it is specified for
output. During input,
EOI
specifies that input is terminated on detection of the
EOI
bus signal, regardless
of which characters have been received. During output,
EOI
specifies that the
EOI
bus signal is to be
asserted during the last byte transferred.
Содержание Personal488
Страница 2: ...ii Personal488 User s Manual for Windows95 98 Me NT 2000...
Страница 6: ...vi 04 10 01 Personal488 User s Manual for Windows95 98 Me NT 2000...
Страница 12: ...3 2 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 18: ...Windows 95 3 8 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 24: ...Windows 98 3 14 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 30: ...Windows Me 3 20 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 38: ...Windows 2000 3 28 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 40: ...Windows 2000 3 30 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 42: ...4 2 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 46: ...4 6 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 50: ...4 10 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 54: ...4 14 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 68: ...5 14 Using IEEE 488 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 132: ...Personal488 for Windows 95 98 Me NT 2000 04 10 01 API Reference 6 64...
Страница 137: ...Personal488 for Windows 95 98 Me NT 2000 03 16 01 IEEE488 ASCII Code Maps B 1 Appendix B ASCII Codes...
Страница 138: ...B 2 IEEE488 ASCII Code Maps 03 16 01 Personal488 for Windows 95 98 Me NT 2000...