Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 12 of 23

VRC 4000 Software Driver Manual: Chapter 2 TBDriver Touchscreen Driver for DOS, pages 103 to 112

Pages 103 to 112 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 103

Chapter 2: TBDriver Touchscreen Driver for DOS

Hard Calibrate Invites you to touch the bottom left, then the top right corners of the screen, in order to perform hard calibration. Note that whenever you hard calibrate you should also perform the soft calibration procedure(s), because the soft calibrations are relative to the hard calibration.

Options 1 - 9 Sets the system into a video mode with the resolution shown, then invites you to touch a point near the bottom left corner of the screen, followed by a point near the top right corner of the screen. These points are actually 20% in from the true edges, in order to obtain the best linearity. For example:

TOUCH THE CENTRE OF THE CROSSES Calibration registers when you release

Press any key to abort

XX XX

Video Mode:

80 x 25 text

2-61

Page 104

VRC 4000 Software Driver Manual

Options U and V These options allow you to calibrate in any two other resolutions not shown on the menu. Before using either of these options, you must define the video mode to be used using the Customize video mode mappings option.

Option X Option X terminates TBcal, and updates TBdriver and the TBcalib file.

Option F Option F displays the contents of the TBcalib file. This may be used to see which resolutions have been calibrated.

2-62

Page 105

Chapter 2: TBDriver Touchscreen Driver for DOS

Test Menu

1 2 3 4 5 6 7 8 9 U V X

-

40 x 25 text 80 x 25 text 320 x 200 graphics 640 x 200 graphics 640 x 350 graphics 640 x 480 graphics 640 x 400 graphics 800 x 600 graphics 1024 x 768 graphics User defined (1) User defined (2) Exit Test Menu Touch the screen to test calibration

X = Y = Current BIOS video mode: 03 80 x 25 text TBdriver calibration mode: 0 Hard Calibration

In this example, the system is currently in an 80 x 25 text mode, but TBdriver is using its hard calibration because no soft calibration has been defined for 80 x 25 text. You can now test how accurately your touches match the video image by observing the touch cursor as you touch the screen. The menu options allow you to do the same for the other resolutions. Advanced users may also press M to enter a hexadecimal BIOS mode number. Note that if the visual image is larger than the touch sensitive area, you may not be able to invoke a response right up to the edges of the image.

2-63

Page 106

VRC 4000 Software Driver Manual

Customize Video Mode Mappings TBdriver constantly monitors the system for video mode changes. When a mode change occurs, TBdriver switches over to using the most appropriate calibration coordinates for the new mode. The mapping of video mode numbers to TBcalib modes is straightforward for the standard IBM defined video modes, but less well defined for higher resolution modes. On the Customize Video Mode Mappings screen, the top table controls TBdriver's mapping of BIOS video modes to calibrations for every BIOS video mode from 0 through 7F and 100 through 10F (the VESA modes). Modes 0 to 13h are IBM defined standards, but for higher resolutions each video card manufacturer uses different BIOS mode numbers. The default settings correctly handle VESA modes and non-VESA modes for Paradise, Tseng, Video-7, and Trident chip-sets up to 1024 x 768. If you are using high resolution graphics modes on video cards other than these, you may need to alter the mapping of BIOS video modes to calibration modes. The lower table controls the video modes used by TBcal to perform and test calibration for each resolution. Again, the IBM standards are used for resolutions up to 640 x 480. The zero values for the Super VGA modes invoke TBcal's auto-detection of VESA, Paradise, Tseng, Video-7, and Trident, for which suitable video modes are defaulted at run-time. The zero value for hard calibration causes TBcal not to change video modes when hard calibrating. The user defined calibration modes may be used to handle any two other resolutions you may be using. In this case, you must define the video mode to be used for calibration/testing, and the BIOS video modes which TBdriver should map to the user defined calibrations. Changes to the mode mapping table take effect the next time TBdriver is unloaded and reloaded. Changes to the calibration mode table are effected by TBcal immediately.

2-64

Page 107

Chapter 2: TBDriver Touchscreen Driver for DOS

BIOS video modes: 001 107 200 30A 011 118 210 310 022 128 220 320 032 135 230 330 045 140 240 340 055 150 253 350 066 160 263 360 072 170 273 370 080 180 280 38B 095 190 29A 390 0A6 1A0 2A0 3A0 0B0 1B0 2B0 3B0 0C0 1C0 2C0 3C0 0D5 1D0 2D7 3D0 0E6 1E0 2E8 3E0 0F7 1F0 2F9 3F0 Calibration modes: 0: Hard calibration 00 1: 40 x 25 text 01 2: 80 x 25 text 03 3: User defined (1) 25

400 410 420 430 440 450 460 470 480 490 4A0 4B0 4C0 4D0 4E0 4F0

500 510 520 530 540 550 560 570 58A 59A 5A0 5B0 5C0 5D0 5E9 5F8

600 610 62A 63B 64B 65B 669 678 680 69A 6AB 6B0 6C0 6D0 6E0 6F0

700 710 720 730 740 750 760 770 780 790 7A0 7B0 7C0 7D0 7E0 7F0

4: User defined (2) 00 5: 320 x 200 graphics 04 6: 640 x 200 graphics 06 7: 640 x 350 graphics 10

1009 1018 102A 103A 104B 105B 1060 1070 1080 1090 10A0 10B0 10C0 10D0 10E0 10F0 8: 640 X 480 graphics 12 9: 640 x 400 graphics 00 A: 800 x 600 graphics 00 B: 1024 x 678 graphics 00

Enter the calibration mode activated for BIOS video mode 00 F1: Help F2: Restore defaults F10: Save & exit Escape: Exit without saving

In the example screen above, BIOS video modes 25, 26 and 27 have been mapped to User defined calibration mode 1, which performs and tests calibration in BIOS video mode 25. The Arrow keys, Tab, and Enter move the cursor around the table. Home moves to the first field. End moves to the last field. F1 displays a help screen. F10 updates the tables in the TBcalib file, and exits back to the main menu. F2 restores the default values. Escape exits back to the main menu without updating TBcalib.

2-65

Page 108

VRC 4000 Software Driver Manual

Application Controlled Calibration The Hard Calibrate and Soft Calibrate API calls should be used by applications requiring their own calibration routines. Using these calls, there is no requirement for applications to update the TBcalib file directly. However, the format of the TBcalib file is available on request.

2-66

Page 109

Chapter 2: TBDriver Touchscreen Driver for DOS

Troubleshooting and Technical Support In case of difficulty, the following checks should be made before calling technical support:

No cursor movement when touchscreen touched • Check that the touchscreen has power, and that its communication cable is connected to the computer. • Check that the switch settings, if any, are set as specified in Appendix B. • Check that you selected the correct driver for your touchscreen during installation. • Check that the TBdriver hardware configuration is set up correctly. For serial touchscreens check that TBdriver is configured for the correct serial port number. For COM3, COM4, and bus controller touchscreens, check that the port address and IRQ are configured to match the hardware switch or jumper settings. Also check for port address or IRQ conflicts with other cards in the system.

Cursor moves but incorrectly • Check that you have calibrated, and that TBdriver still has access to the

TBcalib calibration file, either in the current directory, or via the environment variable TBdpath. • If you have re-installed TBdriver for a different type of touchscreen, you will need to re-calibrate.

System performance • If your touchscreen requires software initialization, and is powered off,

TBdriver will attempt to re-initialise it every ten seconds, which may degrade system performance. This can be prevented by specifying /D when loading the driver.

2-67

Page 110

VRC 4000 Software Driver Manual

TBDIAG - The Touchscreen Diagnostic Program TBdiag is designed to assist in locating communications problems with serially connected touchscreens. If, on loading TBdriver, no data is received from the touchscreen, or if TBdriver refuses to load, try running TBdiag. Its monitor screen shows data sent to and received from the touchscreen, allowing you to see if it is responding to the initialization sequence, and if it is sending any coordinate data at all. You can re-try the initialization sequence at any time by pressing 'I', switch to hex display mode by pressing 'H', and exit by pressing 'X'. TBdiag takes several optional parameters:

The TBdiag Command Line TBdiag

[Port] [/C:bbbb,p,d,s] [/A:address] [/I:irq] [/NI] [/G]

Port /C:bbbb,p,d,s

Specifies a serial port (1 .. 8) Communications parameters: bbbb Baud rate (1200, 2400, 4800, 9600) p Parity (N, O, E) d Databits (7, 8) s Stopbits (1, 2)

/A:address /I:irq /NI /G TBdiag /?

Port address (hexadecimal) Interrupt request number (0 .. 15) No initialization. Do not initialize touchscreen. Perform Global rearming Prints the above summary

Most of these options are only rarely required. In most cases all that is required is simply: TBdiag 1 TBdiag 2

Example.

2-68

For a touchscreen on COM1, or: For a touchscreen on COM2.

Page 111

Chapter 2: TBDriver Touchscreen Driver for DOS

TBdiag /C:4800,e,7,2 /A:748 /I:10 /NI

Load TBdiag on a COM port at address 748 hex, using irq 10, at 4800 baud, even parity, 7 data bits, 2 stop bits. Do not perform touchscreen initialization. A large window shows data sent to and received from the touchscreen, while the lower window shows the status, mainly of the serial port. For example:

Touchscreen Diagnostic Program V4.07

(c) Touch-Base Ltd. 1989 - 1994

Send Recv 41 26 OF 41 26 OF 41 26 OF 41 26 OF 41 26 OF 41 26 OF 41 26 OF 41 26 OF Send Recv 41 26 OF 41 26 OF 41 26 OF 41 26 OF 41 26 OF 41 26 OF 41 26 OF 41 26 OF Send Recv 41 26 OF 41 26 OF 41 26 OF 41 26 OF 41 26 OF 41 26 OF 41 26 OF 41 26 OF Send Recv 41 26 OF 41 26 10 41 20 1C 41 20 1C 41 20 1C 41 22 1A 41 22 1C 41 22 1C Send Recv 41 22 1C 41 22 1C 41 22 1C 41 22 1C 41 22 1C 41 22 1C 41 22 1C 41 22 1C Send Recv 41 22 1C 41 22 1C 41 23 1C 41 23 1C 41 22 1C 41 22 1E 41 22 1E 41 24 1B Send Recv 41 24 1C 41 24 1C 41 24 1C 41 24 1C 41 24 1C 41 24 1C 41 24 1C 41 24 1C Send Recv 41 24 1C 41 24 1C 41 24 1C Touchscreen: xxxx

Initialisation:

COM2, Base 02F8, Irq 3, Type 8250A/16450:9600, N, 8, 1 CTS:

DSR:

DCD:

RI:

Breaks: 0

Unknown

Bytes/second: 0.0

Send Timeouts: 0

Hex mode

Overrun errors:0 Parity errors:0 Framing errors:0 FIFO errs:0 I:Initialise H:Toggle Hex mode S:Send C:Clear P:Prnt Esc:Exit

Interpretation of much of the information given by TBdiag requires specialist knowledge of serial ports and the touchscreen data stream. However, a working touchscreen should always show a data stream of some kind when touched, and no errors should be reported.

2-69

Page 112

VRC 4000 Software Driver Manual

How To Contact Technical Support If you are still unable to resolve your problem, please collect together the following information, and FAX it to us. • Your name, company name, telephone number and fax number • Where you purchased the software from • TBdriver version number • Touchscreen manufacturer and type • Touchscreen switch or jumper settings, if any • DOS version number • Description of computer (make, model, architecture, processor, speed, adapters, peripherals etc.) • Detailed description of the problem • The exact text of any error messages

A support engineer will contact you.

2-70