CARROLL TOUCH
Chapter 4 - Smart-Frame Protocol
Touch System Programmer’s Guide
4-9
sequence to allow the touch system to establish baud rate and parity that
is used by the host.
To perform the autobaud/autoparity sequence, the host must send five
ASCII carriage returns (CR - 0DH) followed by a delay of at least
100ms after each carriage return. The touch system uses these carriage
returns to determine the baud rate used by the host. When the touch
system has determined the baud rate of the host, it stops sending breaks
to the host; the host need not send additional carriage returns after this
occurs. The simplest method, however, is for the host to send five
carriage returns with delays and ignore the breaks sent by the touch
system. This is the recommended method.
Regardless of whether or not the touch system uses autobaud/
autoparity, the host must send a Software_Reset (3CH) command
followed by a delay of at least 100ms. This clears the touch system
buffers and resets the touch system parameters listed in Table 4-6 to
their defaults. If autobaud/autoparity is being used, this also establishes
the parity being used by the host.
Checking for Touch System Errors
To confirm that the initialization sequence was successful, determine
the status of the touch system by sending the Get_Error_Report (32H)
command. The Error Report that is returned lists any errors detected by
the touch system. Since report transfer has not been enabled yet, the
host must enable it so that the touch system can transmit the Error
Report. This is accomplished by sending the Report_Transfer_On
(44H) command to the touch system before sending the
Get_Error_Report (32H) command.
Table 4-6. SFP Default Settings
System Parameters
Default Setting
Touch Scanning
Off
Reporting Method
Coordinate reporting
Touch Mode
Tracking Mode
Add Exit Point Modifier
Off
Report Transfer
Off
Hardware Flow Control
Off
Содержание TouchSystems CarrollTouch Prog
Страница 1: ...CARROLL TOUCH TOUCH PRODUCTS an company AMP Touch System Programmer s Guide ...
Страница 11: ...Table of Contents CARROLL TOUCH viii ...
Страница 13: ...Table of Contents CARROLL TOUCH x ...
Страница 17: ...Welcome CARROLL TOUCH xiv Touch System Programmer s Guide ...
Страница 25: ...Chapter 1 Introduction to Infrared Touch Systems CARROLL TOUCH 1 8 Touch System Programmer s Guide ...
Страница 29: ...Chapter 2 Introduction to Guided Wave Touch Systems CARROLL TOUCH 2 4 Touch System Programmer s Guide ...
Страница 41: ...Chapter 3 General Programming Issues CARROLL TOUCH 3 12 Touch System Programmer s Guide ...
Страница 57: ...Chapter 4 Smart Frame Protocol CARROLL TOUCH 4 16 Touch System Programmer s Guide ...
Страница 87: ...Chapter 6 Touch Application Program Interface TAPI CARROLL TOUCH 6 10 Touch System Programmer s Guide ...
Страница 149: ...Appendix A Smart Frame Protocol Command Reference CARROLL TOUCH A 40 Touch System Programmer s Guide ...
Страница 179: ...Appendix B Smart Frame Protocol II Function Reference CARROLL TOUCH B 30 Touch System Programmer s Guide ...
Страница 237: ...Appendix D CTKERN Function Reference CARROLL TOUCH D 42 Touch System Programmer s Guide ...