|
Protocol capture procedure Revision 1.1 –
7th Mar 2011 |
|||||||||||||||||
|
This document describes
the procedure we have built in to the calibration program to capture the
touch data generated from a pointer device and store it in a log file for
further analysis. The data is captured from a series of 5 screens, each
displaying a different pattern to capture the data when a stylus is used the
trace the pattern on the touch surface. Running the
calibration program with the ‘diag’ parameter will initiate the
sequence that will display five line patterns to be traced. The data
generated by the touch screen is captured and saved to a log file. When using
this command please consider the following requirements:
2. The diag
function captures data being delivered from the com port or USB device. USB
data is captured using
interrupt transfers. Under Windows this data is captured on USB via the first
‘in’ endpoint on interface
0. Under Linux or Mac OS X the data is captured on endpoint 1, interface 0. 3. If executed on
a multi touch device system only the first device is tested, or you can pass
Device=n to define a UPDD device handle. 4. The log file is written to the current
directory so the user must have write access 5. On windows systems ensure that you run
the program as an administrator. 6. On non-windows systems ensure that you
run the program from a writeable directory, e.g. “~” (home). One way to run the tbcalib command is via a command/terminal dialog as shown:
If, after running the protocol capture procedure, no file is created it is likely that the command prompt is not running as Administrator. This is particularly true in Windows 7 with UAC enabled. In this case, right click on the Command Prompt task bar entry and right click on the Command Prompt menu item and select Run as administrator. This should work in most cases:
Linux – Applications/accessories/terminal (location dependant on distribution)
Screen sequenceThe sequence below shows the screens that are displayed to capture touch packet information
|
|||||||||||||||||