3M M2256PW Determining Target Areas, Calibration Setup Stage Offset Field Size Value Description

Page 23

3M™ Multi-touch Display M2256PW User Guide

23

Table 2. Calibration Setup Stage

Offset

Field

 

Size

Value

Description

 

0

bmRequestType

1

0x21

Class,H2D,Interface

1

bRequest

1

0x09

Set Report

2

wValue

2

0x0303

Msb 03 = Feature

 

 

 

 

 

Lsb 03 = Feature Report ID

4

wIndex

2

0

Always 0

6

wLength

2

8

Always 8

Table 3. Data Stage

 

 

 

 

 

 

 

 

 

 

Offset

Field

 

Size

Value

Description

0

Report ID

1

0x03

Feature report ID

1

Report Subtype

1

0x04

Indicates a calibration request

2

bCalType

1

0x01

0x01 = Extended cal (CX)

3--7

Not used

5

0

Not used

The device stalls endpoint 0 if the command cannot be processed successfully. The request cannot be processed if an invalid calibration type is given in the wValue field. The request will also fail if the 2 calibration points do not fall within certain bounds established by the firmware. These bounds require that the 2 calibration points be in opposite quadrants of the sensor.

The host should issue a GetStatus request to determine the status of this request. The status report includes a command status byte which will be set as shown below.

Table 4. Calibration Response

Command Status Byte

Description

0

Calibration Failed

1

Controller is waiting for a touch in the lower left corner.

 

Calibration software paints a target in the lower left corner.

2

Controller is waiting for a touch in the upper right corner.

 

Calibration software paints a target in the upper right corner.

3

Calibration completed successfully.

The controller does not timeout waiting for touch. Use the soft reset command to abort the calibration.

Determining Target Areas

The default calibration targets (points) are located 12.5% (1/8) inward from the corners of the video image. For example, suppose the resolution of your Windows-based display is 1680 x 1050. The Calibrate Extended command calculates the amount to move inward as follows:

Amount to move inward in the X direction: 1680 x 1/8 = 210

Amount to move inward in the Y direction: 1050 x 1/8 = 131

3M Touch Systems, Inc. Proprietary Information – 37531 Rev D

Image 23
Contents 3M Touch Systems, Inc. Proprietary Information 37531 Rev D 3M Multi-touch Display M2256PW User Guide Contents Appendix C Regulatory Information Appendix a 3M PX USB Controller CommunicationsAppendix B 3M PX Serial Controller Communications Intended Use Important Safety InformationIntroduction OverviewExplanation of Signal Word Consequences Maintaining Your Touch Display Important Notes3M Touch Systems Support Services Touch Sensor Care and CleaningContact 3M Touch Systems System Requirements Setting up Your M2256PW Multi-touch DisplayCables Included with Your M2256PW Multi-touch Display Unpacking Your Touch DisplayArm Mounting Option Connecting the Touch DisplayTesting the M2256PW Multi-touch Display Supported Video Display Modes and Refresh Rates Using the Standard Controls for the Video CardApplicable Display Mode and Refresh Rate Refresh Rate Hz Video Card RequirementsMenu/Select Down Up Auto/Exit Power LED Configuring the Display SettingsMultimedia Features Access to the Video ControlsChoices Description Adjusting the M2256PW Video DisplayAudio Tools Multitouch Application Support Enabling Your M2256PW Multi-touch DisplayWindows 7 USB Compatibility All Other PlatformsVideo Alignment Installing 3M MicroTouch Software3M Multi-touch Display M2256PW User Guide Communication Basics 3M PX USB Controller CommunicationsOverview of USB Firmware Communications HID Class Requests Command SetSet Feature Calibration Receiving Reports from the ControllerData Stage Offset Field Size Value Description Calibration Setup Stage Offset Field Size Value DescriptionCalibration Response Command Status Byte Description Determining Target AreasGet Feature GetStatus Setup Stage Offset Field Size Value Description Get Feature GetMaxCountPower On Check Bit Fields Bit Number Description Valid Command Status Field Entries Response DescriptionReset Data Stage Offset Field Size Value Description Set Feature ResetReset Setup Stage Offset Field Size Value Description Offset Field Size Value Description Set Feature -Restore DefaultsCoordinate Data MultiTouch Digitizer mode Async Report Asynchronous ReportsValue Description Touch Report Structure Offset Field3M PX Serial Controller Communications Overview of Firmware CommandsCommunication Parameters Controller Default SettingsOperating Mode Communicating with the ControllerReceiving Responses from the Controller Sending Commands to the ControllerController Initialization Firmware CommandsSOH Cxcr Command Code DescriptionCalibrate MDUCalibrate Procedure Guidelines for Calibrate CommandGet Copyright Mode Down UpMode Inactive Mode StreamOutput Identity Name CommandNull Command Soft ResetSOH Rdcr Restore DefaultsOperating Parameter Default Unit TypeData Sequence Bits Touch Data FormatBit Description Data Sequence Bits FCC-B Regulatory InformationRegulatory Agency Approvals CE Conformity for Europe FCC Warning