Specifications

CARROLL TOUCH Appendix D - CTKERN Function Reference
Touch System Programmer’s Guide D-15
GetTouchSystemStatus/Configuration (17)
Description
This function returns the status and configuration information for the
touch system.
Call with
AL = 17 (function number).
CX = Segment of 64-byte buffer to hold the touch system
status/configuration data structure.
DX = Offset of 64-byte buffer to hold the touch system
status/configuration data structure.
Returns
AL = Touch system error status.
00 = The touch system reported no errors.
01 = The touch system reported some errors (see
status/configuration data structure for details),
the host received unexpected data from the touch
system, or expected data was missing.
02 = Unable to communicate with the touch system.
Touch system status/configuration data structure in the buffer pointed
to by CX and DX is:
BYTE Number of processors
BYTE Number of processor 1 errors
8 BYTES Processor 1 errors
BYTE Number of processor 2 errors
8 BYTES Processor 2 errors
WORD X frame size
WORD Y frame size
WORD Z-axis resolution
10 BYTES Firmware version report #1
10 BYTES Firmware version report #2
Notes
See the explanations for the Smart-Frame Protocol configuration, Error
Report, frame size, z-axis resolution and Firmware Version Report in
Appendix A, “Smart-Frame Protocol Command Reference.”
If the touch system has no z-axis, the z-axis resolution is reported as 0.