4: Digitizer Driver Preference

Digitizer driver allows users to work with any kind of digitizer that sends ASCII reports. Most digitizers can send ASCII reports, but a few can only send binary reports.

Parameter Extraction

Extracting the digitizer parameters:

The digitizer must be set up in point mode, i.e. it must send the report only but not a continuous stream of reports when a button is released on the digitizer cursor.

The user must use a telecommunication program, such as HyperTerminal (Windows) / MacTerminal (Macintosh). These programs allow you to see the report format sent by the digitizer to the computer.

In the telecommunication program, set up the communication parameters, i.e. baud rate, data bit, stop bit, parity and communication port (Modem or Printer for Mac/Com1, Com2, Com3 or Com4 for PC).

The values for these communication parameters must be the same for the digitizer and the telecommunication program. Often, it is necessary to try many values to discover the correct parameter values for the digitizer.

  • The most frequent values used for the baud rate are 9600, 2400 and 1200.
  • The most frequent values used for the stop bits are 1 and 2.

Press any button on the digitizer cursor to test the communication parameters. For example, the digitizer Summagrid has sent these 16 valid reports by using a 16- button cursor.

Cursor button pressed Report sent by the digitizer to the terminal
1 +1179.550,+0489.475,01,0
2 +1179.575,+0489.475,02,0
3 +1179.550,+0489.475,03,0
4 +1179.550,+0489.475,04,0
5 +1179.550,+0489.475,05,0
6 +1179.550,+0489.475,06,0
7 +1179.575,+0489.475,07,0
8 +1179.550,+0489.475,08,0
9 +1179.575,+0489.475,09,0
0 +1179.250,+0489.475,16,0
A +1179.275,+0489.475,10,0
B +1179.250,+0489.475,11,0
C +1179.250,+0489.475,12,0
D +1179.250,+0489.475,13,0
E +1179.250,+0489.475,14,0
F +1179.225,+0489.475,15,0

Problem: The terminal is receiving continuous information from the digitizer.

Solution: This means that the digitizer is not set up to point mode. Switch the digitizer to point mode.

Problem: Information received from the digitizer is not readable.

Solution: The digitizer is set up in binary mode, i.e. not in ASCII mode. Switch the digitizer to ASCII mode.

Problem: The communication parameters of the telecommunication software are not properly set up for your digitizer.

Solution: Check the settings of the telecommunication software. If you do not receive any information from the digitizer, then the communication parameters of the telecommunication software are not properly set up for your digitizer. Check the settings of the telecommunication software, i.e. baud rate, data bit, stop bit, parity.

Problem: Using the wrong serial port.

Solution: Use the serial port the digitizer is connected to.

Problem: There is another application using the same serial port.

Solution: Close this application.

Problem: The digitizer is not sending any information.

Solution: The digitizer needs to be repaired.

Problem: Using the wrong cable.

Solution: Contact the service department to obtain a proper cable.

Identifying a similar driver

Once the terminal receives a correct report from the digitizer, look in the list of PAD System digitizer drivers to find a driver that uses similar parameters.

If you find a perfect match, select the driver from the PAD System digitizer drivers’ list in the Device Configurations dialog box in the Option menu.

If there is no perfect match, set and use the generic digitizer driver for 4 or 16 buttons.

Setting up the generic digitizer driver:

  • Communication Parameters

    Set the communication parameters, i.e. the baud rate, the data bits, the parity and the stop bits. The values must be the same as the values used in the terminal.

  • Resolution

    Set the resolution, i.e. the resolution value and the resolution unit. The resolution is often very difficult to calculate precisely. You will need to set up the driver, digitize a perfect square and verify if the size of the square is good.

    If the square is too big, increase the resolution value or change the resolution unit. If the square is too small, decrease the resolution value or change the resolution unit.

  • Report

    Set the report values, i.e. the report length and the report format. Be careful when calculating the report length, because you may have to count one or two invisible characters at the end of the report, i.e. the carriage return and the line feed. You must set a valid report format.

  • BUTTON NUMBER:

    —— Minimum 1 character

    —— Maximum 3 characters

    —— Consecutive characters only

  • X AND Y COORDINATES:

    —— Minimum 1 character

    —— The same number of characters is required

    —— Consecutive characters or separated by one decimal point

    —— If sign, then only before the coordinate

    —— If decimal point, then NOT before the coordinate

  • SIGN AND DECIMAL POINT:

    —— Minimum 0 character

    —— Maximum 2 characters

  • CARRIAGE RETURN AND LINE FEED

    ——Minimum 0 character

    ——Maximum 1 character

DO NOT FORGET TO COUNT THE CARRIAGE RETURN AND THE LINE FEED CHARACTERS WHEN CALCULATE THE REPORT LENGTH.

THE PRESENCE OF THESE TWO CHARACTERS CAN BE IDENTIFIED BY THE WAY THE REPORT (STRING) WILL APPEAR ON SCREEN.

Carriage return + Line feed Carriage return ONLY
AAAAA CCCC
BBBBB  
CCCCC The previous string is overwritten by the current string.
Line feed ONLY Carriage return ONLY
AAAAA CCCCC
BBBBB  
CCCCC The previous string is overwritten by the current string.
  • Button Values

    Each button value must be unique. The number of characters used for each button value must be the same as the number of characters used in the report format of the generic digitizer driver for button values.