User`s guide

Chapter 7 - Debug CARROLL TOUCH
7-6 Touch System Diagnostics (CTDIAG) User’s Guide
Reports
An SFP report has the format:
The trailer is always FF. An example of a report returned from the
Get_Error_Report
command is:
F8 is the header and 00 indicates no errors. An example of a touch
coordinate report is:
FE is the header and 35 and 2D are the x, y touch coordinates.
Transmit Window
When you type a command number, it is echoed in the Tx window.
Receive Window
Press CTRL + F2 to toggle the window mode between formatted and
unformatted. In
Unformatted Mode
, commands and corresponding
reports fill a line, then wrap around to the next line, while
Formatted
Mode
puts each command and associated report on a separate line for
easier viewing.
Commands appear in gray and reports in white.
The current format for the screen display (ASCII or hexadecimal) is
noted in the upper right corner of the receive window; press ALT + F2
to toggle the format between the two.
Debug Example
This example demonstrates how to use Debug to initialize a touch
system and to send and receive touch coordinates, using standard SFP
commands. This example uses an infrared system with an HBC in the
direct interface method.
1. Select Debug from the Test Menu. The Debug screen appears,
similar to the one shown in Figure 7-1. Both the transmit and
receive windows are empty and set to display data in hexadecimal
format.
header report bytes trailer
F8 00 FF
FE 35 2D FF