################################################################################
#  Digitizer file for the Altek DataTab series digitizing tablets.
#  This is for an Altek Model 30 in format 8 (binary) with a 16
#  button puck.  The following switch settings will allow LTPlus to   
#  interface with the Altek 30.  
#    DIP   LEFT             RIGHT
#     1    On               Not Used
#     2    On               Not Used
#     3    On               Off
#     4    On               Off
#     5    Off              On
#     6    Off              On
#     7    Off              Off
#     8    Off              Off
#
# NOTE:  jumpers AB and DE must be set (not BC or EF) to enable handshaking.
# NOTE:  The SB (status bit) is read in as part of button presses
# NOTE:  the '\#' combinations are decimal representations of ascii characters
# Good luck and happy digitizing!
################################################################################

format = binary
baud = 9600
digcursor = al30f8_16

#start=\27\13
# the following command sets digitizer to "run" mode
start=S2\13
# the following command sets digitizer to .001 resolution
start=M1\13
# the following command selects format 8
start=F8\13
# the following command sets reporting rate to 100 coord pairs per second
start=R8\13
# the following command turns off the linefeed feature
start=l2\13
#stop=\27\13

x_begin = 1
x_end   = 3
xmask1 = 00000011
xmask2 = 01111111
xmask3 = 01111111

hi_x_col = 4
hi_xmask = 00001000

y_begin = 4
y_end   = 6
ymask1 = 00000111
ymask2 = 01111111
ymask3 = 01111111

button  = 1
button_mask = 01111100

length = 6
sync_mask = 10000000
sync_col  = 1

debounce= 15
units_per_inch = 1000.0
