
CARROLL TOUCH
Appendix D - CTKERN Function Reference
Touch System Programmer’s Guide
D-23
SetCalibrationParameters (4)
Description
This function sets the calibration parameters that CTKERN uses to
calibrate the raw touch coordinates, overriding the parameters that are
in effect at the time that this function is called.
Call with
AL
=
4 (function number).
CX
=
Segment of four-word buffer that holds the calibration
data structure.
DX
=
Offset of four-word buffer that holds the calibration data
structure.
Returns
AL
=
Calibration status.
00 =
Calibration parameters set successfully.
01 =
Calibration offset and/or span out of range.
Calibration data structure in the buffer pointed to by
CX
and
DX
:
WORD Xoff
WORD Yoff
WORD Xspan
WORD Yspan
Notes
This function lets you set the calibration parameters to arbitrary values
that are not related to the calibration parameters in any calibration table
entry. The calibration mode should be set to fixed when this function is
used. If the calibration mode is set to automatic, the next video mode
change causes the calibration parameters to be overwritten by the
calibration parameters that correspond to the calibration table entry for
that video mode. If the calibration mode is set to disabled, the parameter
change has no effect, and the calibration parameters are overwritten by
calibration parameters from a calibration table entry when the
calibration mode is changed to fixed or automatic.
The sum of the offset value and the span value must be less than or
equal to the frame size in both the x- and y-axes. If this is not the case,
the calibration status is set to 01, and the function call has no effect. The
current calibration parameters are not changed.
Содержание 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 ...