Compartilhar via


Calibration Test (Compact 2013)

3/26/2014

The Calibration Test tests the TouchPanelCalibrateAPoint function. The test calibrates the touch panel if it is not already calibrated, and then calls the TouchPanelCalibrateAPoint function with a range of point values to verify success. This test fails if calibration fails for any reason or if the TouchPanelCalibrateAPoint function call fails on any value. This test is skipped if the touch panel driver does not export a TouchPanelCalibrateAPoint function.

This is test 1006 of the touchfunc.dll test suite.

NOTE: Touch panel driver-level test. Requires user interaction using touch pen on the touch panel for most tests. After the test is complete, the OS loses control of the touch panel. Download a new image before running any more tests.

Test Prerequisites

Your device must meet the following requirements before you run this test.

The following table shows the hardware requirements for this test.

Requirement

Description

Touch Panel

Touch screen with or without cursor support.

The following table shows the software requirements for the Touch Driver Test.

Requirements

Description

Tux.exe

Tux test harness, required for executing the test

Kato.dll

Kato logging engine, required for logging test data

Ktux.dll

Tux harness library required to run tests in kernel mode

TouchFunc.dll

Library containing test files

Subtests

This test has no subtests.

Setting Up the Test

This test has no additional setup requirements beyond the standard test environment setup.

Running the Test

This test requires you to interact with the touch panel. You must follow the instructions on the display to run the test correctly. When the test prompts you, you must perform the requested action. If you do not complete the action, the test times out and fails. The test times out after approximately 15 seconds.

The default command line is:

tux -o -n -d touchfunc -x1006

Verifying the Test

In some cases, the test requires you to choose Yes or No in response to a question. To respond, you must tap the part of the touch panel that contains the appropriate response.

Troubleshooting the Test

When you complete the test, the operating system does not regain control of the touch panel. You must reset the touch panel to restore normal operation.

See Also

Other Resources

Input - Touch Tests