WDT-01 Windows Software User Manual (Version 1.0) ---- 3
Table of Contents
1. INTRODUCTION..............................................................................................................................5
1.1 D
ISK CONTENTS.............................................................................................................................5
2. WINDOWS 95 APPLICATIONS.....................................................................................................7
2.1 C C
ALL DLLS................................................................................................................................7
2.2 MFC C
ALL DLLS..........................................................................................................................7
2.3 BC++ C
ALL DLLS.........................................................................................................................8
2.4 VB C
ALL DLLS...........................................................................................................................10
2.5 D
ELPHI CALL DLLS.....................................................................................................................12
2.6 D
EMO PROGRAM..........................................................................................................................14
3. DIO....................................................................................................................................................23
3.1 NAPDIO.V
XD INSTALLATION ....................................................................................................23
3.2 DIO.H..........................................................................................................................................24
3.3 DIO_S
HORTSUB2, DIO_FLOATSUB2..........................................................................................24
3.4 DIO_G
ETDLLVERSION................................................................................................................24
3.5 DIO_O
UTPUTBYTE......................................................................................................................25
3.6 DIO_I
NPUTBYTE.........................................................................................................................25
3.7 DIO_O
PENVXD...........................................................................................................................27
3.8 DIO_C
LOSEVXD .........................................................................................................................27
3.9 DIO_G
ETVXDVERSION...............................................................................................................28
3.10 DIO_I
NSTALLIRQ ......................................................................................................................28
3.11 DIO_R
ESETINTCOUNT ..............................................................................................................30
3.12 DIO_G
ETINTCOUNT..................................................................................................................30
3.13 DIO D
EMO PROGRAM................................................................................................................32
4. RS-232 DRIVER..............................................................................................................................36
4.1 UART.H......................................................................................................................................36
4.2 SHORT_SUB_2..........................................................................................................................37
4.3 FLOAT_SUB_2.........................................................................................................................39
4.4 G
ET_DLL_VERSION....................................................................................................................39
4.5 OPEN_COM...............................................................................................................................41
4.6 CLOSE_COM.............................................................................................................................42
4.7 SEND_CMD(
RESERVED)............................................................................................................43