Pen Up and Down Test (Compact 2013)
3/26/2014
The functional test, Pen Up/Down Test, tests the ability of the touch panel driver to properly detect tap and release events on the touch panel. This test requires you to tap and release the touch panel when prompted. The test relies on the callback routine successfully receiving the TOUCH_PANEL_SAMPLE_FLAGS data type. This test fails if you do not properly tap and release the touch panel when prompted. If you do not respond to the tap or release instructions, the test times out after approximately 10 seconds and fails.
This is test 2001 in 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 the 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 -x2001
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.