Appendix C - TAPI Function Reference
CARROLL TOUCH
C-12
Touch System Programmer’s Guide
Returns
AX
= 5 (function number).
CX
= Status.
00H = Communication parameters accepted.
01H = Invalid driver type.
02H = Invalid interrupt number.
04H = Invalid I/O address.
08H = Invalid parity.
10H = Invalid baud rate.
Note
Multiple invalid parameter status codes may be returned
in the
CX
register. For example, if both the baud rate and
parity parameters were invalid, 18H would be returned in
register
CX
. This is equivalent to the “Invalid Baud Rate”
and “Invalid Parity” status codes or’ed together. The
application should interpret these codes on a bitwise
basis.
Notes
This function is very similar to GetCommunicationParameters, except
that register
BL
does not contain a value representing the RS-232 comm
port being used.
Note that sending the SetCommunicationParameters function only
changes the communication parameters for commands that are
subsequently sent to the touch system by the TAPI driver. The touch
system communication parameters must also be set to the same
communication parameters for proper communication to take place. If
an SBC or HBC is being used, for example, the jumpers on the SBC or
HBC circuit board that control the interrupt number and I/O address
must be changed to match the new interrupt number and I/O address.
If an RS-232-based touch system is being used with a fixed baud rate
and parity, the jumpers on the touch system would have to be changed
to match the new baud rate and parity. If an RS-232-based touch system
is being used that uses autobaud/autoparity, the touch system must be
reset using Reset (0) for proper communication to take place.
Summary of Contents for TouchSystems CarrollTouch Prog
Page 1: ...CARROLL TOUCH TOUCH PRODUCTS an company AMP Touch System Programmer s Guide ...
Page 11: ...Table of Contents CARROLL TOUCH viii ...
Page 13: ...Table of Contents CARROLL TOUCH x ...
Page 17: ...Welcome CARROLL TOUCH xiv Touch System Programmer s Guide ...
Page 41: ...Chapter 3 General Programming Issues CARROLL TOUCH 3 12 Touch System Programmer s Guide ...
Page 57: ...Chapter 4 Smart Frame Protocol CARROLL TOUCH 4 16 Touch System Programmer s Guide ...
Page 237: ...Appendix D CTKERN Function Reference CARROLL TOUCH D 42 Touch System Programmer s Guide ...