
Appendix D - CTKERN Function Reference
CARROLL TOUCH
D-34
Touch System Programmer’s Guide
SetTemporalFilterParameters (15)
Description
This function sets the temporal filter parameters.
Call with
AL
= 15 (function number).
CL
= Spatial filter box size.
DX
= Temporal filter time.
Returns
AL
= Temporal filter status.
00 =
Temporal filter parameters valid.
01 =
Spatial filter box size out of range.
02 =
Temporal filter time out of range.
Notes
The Spatial Filter Box Size is specified as a percentage of the full screen
size. The valid range for this parameter is from 0% to 100% and the
default is 10%. This parameter specifies the width of the box. The
spatial filter box size is specified as a percentage rather than as an
absolute touch coordinate value because if it were specified as an
absolute value, the absolute size of the spatial filter box would vary if
the display resolution changed as a result of a change in the BIOS video
mode. Note that while the same percentage is used for both the x- and
y-axes, the absolute size of the box is not necessarily square. The box
instead has the same aspect ratio as the display. No correction for
display aspect ratio is performed.
The absolute pixel value is derived by taking a percentage of either the
scaled or raw touch coordinate range, depending on whether scaling is
enabled.
This approach ensures that the spatial filter box size remains constant
for a given monitor. However, if a touch application that uses the
temporal filter is run on several monitors of differing sizes, the absolute
size of the spatial filter box will vary and may need to be adjusted.
The temporal filter time is specified in milliseconds. The valid range for
this parameter is between 0 ms and 2000 ms and the default is 500 ms.
The actual filter time that is used, however, is restricted to multiples of
55 ms. The actual formula used is as follows:
Содержание 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 ...