次の方法で共有


Set Sample Rate Test (Compact 2013)

3/26/2014

This tests the TouchPanelSetMode function, if the function is supported by the touch-panel driver. This test uses both the TPSM_SAMPLE_RATE_LOW_ID and TPSM_SAMPLE_RATE_HIGH_ID flags. The test verifies the sample-rate settings with the TouchPanelGetDeviceCaps function. This test fails if the TouchPanelSetMode function call fails with any specified parameters. The test also fails if the TouchPanelGetDeviceCaps function call fails. This test is skipped if the touch-panel driver does not export a TouchPanelSetMode or TouchPanelGetDeviceCaps function.

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

This is a touch-panel driver level test that requires user interaction using the 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

A 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 to execute the test.

Kato.dll

Kato logging engine, required for logging test data

Ktux.dll

Tux harness library required to run the test in kernel mode

TouchFunc.dll

Library that contains 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 that you 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 -x1002

Verifying the Test

In some cases, the test requires that you select 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