The text of a manual · part 23 of 23
VRC 4000 Software Driver Manual: Appendix E TWDriver Application Programming Interface, pages 198 to 206
Pages 198 to 206 of 206, from VRC 4000 Software Driver Manual
The original document is the PDF (1.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol VRC-4000
Page 198
VRC 4000 Software Driver Manual
Touchscreen Type Numbers 08 17 29 04 34 35 19 33 02 14 11 05 20 12 03 28 07 22 10 09 01 06 16 21 27 36 13 18 25 26 32 30 15 24
E-28
AFE Safetouch (AFE protocol) AFE Safetouch (Carroll protocol) Brady TSD-SI Carroll Touch Smart-Frame Carroll Touch HBC bus controller Carroll Touch SBC bus controller Dale Dynapro Ellinor Personal Touch Elographics Accutouch, CRC Elographics Accutouch, Bus Elographics AccuTouch, Serial Elographics DuraTouch Elographics Intellitouch, Bus Elographics Intellitouch, Serial ExZec SureTouch Intasolve Touch ISI Crystal Clear Gunze/TST, Bus Gunze/TST, Serial MicroTouch Microvitec Touchtech Mors matrix Capacitive Quick Analogue Resistive Quick Analogue Resistive Rev 1.2 SwacTouch 3D Touch Technology TekTouch Touch Technology AR5000/Digitouch Touch Technology PC2000 Bus Touch Technology RS2000 Serial Touch Technology PC5000 Bus Vivid TST2900 Wasp TSI 5000/3 Wasp TSI 5000/4 BC (Bus Controller)
Page 199
Appendix E: TWDriver Application Programming Interface
Multiple Touchscreens Versions of TWdriver are available to drive multiple touchscreens attached to the same PC, for use with video cards which are capable of dividing the Windows desktop across multiple monitors. A full API set is available for each touchscreen independently. In a multi-screen TWdriver, the standard API calls apply to the first (primary) screen. The TWGetInfo call returns the number of screens configured, in the NumScreens byte. When NumScreens is greater than one, a set of API calls is available for each additional touchscreen, with the touchscreen number appended to the call names. So, for example, in a three screen configuration, there are three TWGetInfo calls available as follows: TWGetInfo
For the primary screen
TWGetInfo2
For the second screen
TWGetInfo3
For the third screen
Similarly, there are three TWcalib calibration files: TWcalib
For the primary screen
TWcalib2
For the second screen
TWcalib3
For the third screen
E-29
Page 200
VRC 4000 Software Driver Manual
E-30
Page 201
Index
Index
E
Activating . . . . . . . . . . . . . . . . . . . . . . . . . 1-24 Alternative . . . . . . . . . . . . . . . . . . . . . . . . . 1-7 API . . . . . . . . . . . . . . . . . . . 2-3, 2-8, 2-17, 2-82 Application . . . . . . . . . . . . . . . . . . . . . . . . 2-8 Automatic . . . . . . . . . . . . . . . . . . . 1-23, A-10 Automatic Re-initialisation. . . . . . 2-49, B-3 Automatic re-initialisation 1-23, 2-47, A-10, B-3
F
A
B Before . . . . . . . . . . . . . . . . . . . . . . . . 1-30, E-6 Brady . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4 Buffering . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10 Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24 Button . . . . . . . . . . . . . . . . . . 1-11, 1-12, 1-17
C Calibration 1-9, 2-11, 2-26, 2-62, 2-68, E-26 Carroll . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4 ClickTime . . . . . . . . . . . . . . . . . . . . . . . . 1-17 Co . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-26 Communications . . . . . . . . . . . . . . . . . . 1-23 CompuAdd . . . . . . . . . . . . . . . . . . . . . . . A-4 Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8 Configuration . . . . . . . . . . . . . . . . . . . . . . 1-9 Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-27
D Dale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5 Difficulties . . . . . . . . . . . . . . . . . . . . . . . . 1-28 Dinosaur Adventure . . . . . . . . . . . . . . . 2-87 DoubleClickSpeed . . . . . . . . . . . . . . . . . . 1-18 Dynapro. . . . . . . . . . . . . . . . . . . . . . . . . . . A-5
Ellinor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5 Elographics . . . . . . . . . . . . . . . A-5, A-6, A-7 Environment Variables . . . . . . . . . . . . . 2-51 Environment variables . . . . . . . . . . . . . . C-3 Errorlevel . . . . . . . . . . . . . . . . . . . . 2-55, 2-81
First touch . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
G Genesis . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-87 Getting . . . . . . . . . . . . . . . . . . . . . . . . .1-4, 2-5 Global Rearm . . . . . . . . . . . . . . . . . . . . . 2-51 Global rearm . . . . . . . . . . . . . . . . . .2-47, 2-69
H Hard Calibration . . . . . . . . . . . . . .2-11, 2-30 Hard calibration . . . . . . . . . . . . . . . . . . . 2-61 Hardware . . . . . . . . . . . . . . . . . . . . .1-9, 1-20
I IBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8 Installation . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 Intasolve . . . . . . . . . . . . . . . . . . . . . . . . . .A-8 Interrupt vector . . . . . . . . . . . . . . . 2-17, 2-51 Introduction . . . . . . . . . . . . . . . . . . . .1-3, 2-3 IRQ . . . . . . . . . . . . . . . . . . . . . . 2-48, A-3, B-3 IRQ sharing . . . . . . . . . . . . . . . . . . .2-47, 2-50 ISI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8
J Jitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
K Keyboard emulation . . . . . . . . . . . . . . . 2-88
Index-1
Page 202
VRC 4000 Software Driver Manual
L
R l 1-3, 1-4, 1-7, 1-8, 1-9, 1-11, 1-12, 1-17, 1-18, 119, 1-20, 1-21, 1-23, 1-24, 1-26, 1-27, 1-28, 1-30, 2-3, 2-5, 2-8, A-4, A-5, A6, A-7, A-8, A-9, A-10, E-4, E-6, E-8, E-12, E-13, E-14, E-15, E-16, E-17, E18, E-19, E-21, E-22, E-23, E-24, E-26, E-29, E-30 LabWindows . . . . . . . . . . . . . . . . . . . . . . 2-87 Last touch . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
Raw coordinates . .2-9, 2-11, 2-12, 2-13, 2-34 Repeat touch . . . . . . . . . . . . . . . . . . . . . . . 2-9
M MA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9 Matrix touchscreens. . . . . . . . . . . . . . . . . C-5 Messages . . . . . . . . . . . . . . . . . . . . . 2-53, 2-79 MetaWindows . . . . . . . . . . . . . . . . . . . . . 2-77 Mickey to pixel ratio . . . . . . . . . . . . . . . 2-75 Mickeys . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-75 Mouse . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-72 Multiple . . . . . . . . . . . . . . . . . . . . . . . . . . E-30 Multiple touchscreens . . . . . . . . . . . . . . . C-3
N No . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-27 No touch . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9 Non. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21
O Origin 2-10
P Pad . . . . . . . . . . . . . . . . 2-18, 2-21, 2-22, 2-27 Pads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14 PASCAL . . . . . . . . . . . . . . . . . . . . . . . . . . .E-4 Port address . . . . . . . . . . . . . . . . . . . . . . 2-48
Q Quick . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9
Index-2
S Scale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10 Sensitivity . . . . . . . . . . . . . . . . . . . .1-18, 2-14 service . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-31 Shared . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-23 Sliding . . . . . . . . . . . . . . . . . . . . . . .2-14, 2-37 Soft Calibration . . . . . . . . . . . . . . . 2-12, 2-33 Soft calibration . . . . . . . . . . . 2-19, 2-20, 2-61 Sound . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19 Stabilization . . . . . . . . . . . . . . . . . . 1-19,2-38 Stack . . . . . . . . . . . . . . . . . . . . 2-16, 2-39, 2-40 Standard . . . . . . . . . . . . . . . . . . . . . . . . . 1-21 Support Center . . . . . . . . . . . . . . . . . . . . 1-31 Switch settings . . . . . . . . . . . . . . . . . A-3, B-3 System . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-28
T TBcalib . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-51 TBdcom . . . . . . . . . . . . . . . . . . . . . . . . . . 2-51 TBdiag . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-28 TBdint . . . . . . . . . . . . . . . . . . . . . . . 2-51, C-3 TBDPATH . . . . . . . . . . . . . . . . . . . . . . . . . C-3 TBdpath . . . . . . . . . . . . . . . . . .2-51, 2-52, C-3 Technical Support . . . . . . . . . . . . . . . . . 1-31 THE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-8 The . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-24 Time Axis . . . . . . . . . . . . . . . . . . . .2-16, 2-34 Time axis. . . . . . . . . . . . . . . . . . . . . . . . . . 2-39 Touch . . . . . . . . . . . . . . . 1-17, 2-8, A-9, A-10 Touch ahead . . . . . . . . . . . . . . . . . . . . . . 2-10 Touch types . . . . . . . . . . . . . . . . . . . . . . . . 2-9 Touchscreen . . . . . . . . . . . . . . . . . . . . . . E-29 Troubleshooting . . . . . . . . . . . . . . . . . . . 1-27 TWGetInfo . . . . . . . . . . . . . . . . . . . . . . . . . E-8 TWReadCalibration1 . . . . . . . . . . . . . . . E-19 TWReceiveData . . . . . . . . . . . . . . . . . . . E-23
Page 203
Index
Index TWSendData . . . . . . . . . . . . . . . . . . . . . .E-22 TWSetButton . . . . . . . . . . . . . . . . . . . . . .E-16 TWSetButtonMode . . . . . . . . . . . . . . . . E-12 TWSetClickTime . . . . . . . . . . . . . . . . . . E-13 TWSetSensitivity . . . . . . . . . . . . . . . . . . .E-14 TWSetSound . . . . . . . . . . . . . . . . . . . . . .E-18 TWSetStabilisation . . . . . . . . . . . . . . . . .E-15 TWSetTouchOffset . . . . . . . . . . . . . . . . .E-17 TWUpdateCalibration . . . . . . . . . . . . . .E-21
U Unload . . . . . . . . . 2-45, 2-46, 2-52, 2-79, 2-86
V VESA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-65 Video mode. . . . . . . . . . . . . . . . . . . . . . . 2-19 Video modes . . . . . . . . . . . . . . . . . 2-12, 2-65
W Wasp . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-10 WIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24 Windows . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Z Z axis . . . . . . . . . . . . . . . 2-16, 2-34, 2-39, D-1
Index-3
Page 204
VRC 4000 Software Driver Manual
Index-4
Page 205
Tell Us What You Think... We’d like to know what you think about this Manual. Please take a moment to fill out this questionaire and fax this form to: (516) 738-3318, or mail to: Symbol Technologies, Inc. One Symbol Plaza M/S B-4 Holtsville, NY 11742-1300 Attn: Technical Publications Manager IMPORTANT: If you need product support, please call the appropriate customer support number provided. Unfortunately, we cannot provide customer support at the fax number above. User’s Manual Title: (please include revision level) How familiar were you with this product before using this manual? Very familiar
Slightly familiar
Not at all familiar
Did this manual meet your needs? If not, please explain.
What topics need to be added to the index?, if applicable What topics do you feel need to be better discussed? Please be specific. What can we do to further improve our manuals?
Thank you for your input - We value your comments.
Page 206
VRC 4000 Software Driver Manual