To build programs for WIN 9x you have to use the functions in
1276_W9x.h. Copy this file to your project directory. If you use
amother C-language you may change the in and out commands. See the
comment in 1276_W9x.h


The 1276_W9x.h offer the following functions:

unsigned char InitSSI1276  (void);
This function initializes driver and card. You have to call this
function once at the begin of the program.

unsigned char DeInitSSI1276(void);
This function deinitializes the driver and the card. You have to
call this function once at the end of the program.

void          SetAdrSSI1276(unsigned short BaseAdr);
This function is used to setup the BaseAddress of the card.
(Win9x default 0x100)

void          ConfSSI1276  (unsigned char  EncoderNumber,
		            unsigned char  Bits,
		            unsigned short Clock,
		            unsigned char  Coding);
This function is used to configure each encoder. The parameter are
as follows:
- EncoderNumber 1-4
- Bits 13-25
- Clock 50-1000 (kHz)
- Coding 0-1 (0 = gray, 1 = binary)
default for all encoders: 24Bit,100kHz,gray

long          GetSSI1276   (unsigned char  Encodernumber);
This function initiates a transfer from the encoder and
returns the value of the encoder.

unsigned char GetInputs    (void);
This function returns the status of the inputs. These inputs
are used to reset the value (getting an offset). Only one input
should be active at a time!
Bit 0 = NULL1
Bit 1 = NULL2
Bit 2 = NULL3
Bit 3 = NULL4

void          SetOutputs   (unsigned char  Flags);
This function sets the digital outputs.
Bit 0 = OUT1
Bit 1 = OUT2
Bit 2 = OUT3
Bit 3 = OUT4
Bit 4 = OUT5
Bit 5 = OUT6

long          GrayToBin    (long value);
Internally used function to convert the value from
gray to binary. You don't have to use this function.