AXIOMTEK DAC Device Driver - (AX5412H/H+)
======================================
1. General Description:
-----------------------
The AXIOMTEK DAC Device Driver(AXDDR) provides a set of easy-to-use function
calls for our customers to set up their systems more easily with all the
AXIOMTEK's data acquisition and control devices. With almost all the source
codes in C language provided, it will help you best tunning up and debugging
with your own applications under DOS environment as well as best
understanding about the low level register I/O with those devices.
The AXDDR is a part of the AXIOMTEK DAC Device Utility(DevUtil), which is known
as a diagnostic utility for users to diagnose and test the basic functions of
the AXIOMTEK's data acquisition and control devices provides without having to
coding by themselves.
In addition to the AXDDR, there are also some simple demo programs available.
These demo programs shows how to call the AXDDR in a correct manner to make
the AXIOMTEK's data acquisition and control devices working properly.
Following are lists of files, which you'll find in your driver CD:
==========================================================================
(DAC\HARDWARE\)
..\AX5412H>
readme.txt --> Readme text file for information about
the disk content.
cntdemo.c --> Event Counting Demo program in C language.
cntdemo.prj --> Project file for the demo program.
diodemo.c --> DI/DO Demo program in C language.
diodemo.prj --> Project file for the demo program.
aiodemo.c --> AI/AO Demo program in C language.
aiodemo.prj --> Project file for the demo program.
aiidemo.c --> AI with IRQ Demo program in C language.
aiidemo.prj --> Project file for the demo program.
aiddemo.c --> AI with DMA Demo program in C language.
aiddemo.prj --> Project file for the demo program.
tcconfig.tc
turboc.cfg
makemsc.bat --> Command line batch file for MSC compiler.
(DAC\SOFTWARE\AS59060\)
..\DEVUTIL\ISA_BUS\AXDDR\AX5412H>
ax5412h.h --> AX5412H device driver header file.
ax5412h.c --> AX5412H device driver source file.
ax5412h.txt --> AX5412H device driver reference.
playtc.bat --> Command line batch file for TC compiler.
playmsc.bat --> Command line batch file for MSC compiler.
turboc.cfg
..\DEVUTIL\ISA_BUS\AXDDR\AX5412H\TC>
5412h_h.obj --> Huge mode object file for TC user.
5412h_l.obj --> Large mode object file for TC user.
5412h_s.obj --> Small mode object file for TC user.
5412h_t.obj --> Tiny mode object file for TC user.
..\DEVUTIL\ISA_BUS\AXDDR\AX5412H\MSC>
5412h_h.obj --> Huge mode object file for MSC user.
5412h_l.obj --> Large mode object file for MSC user.
5412h_s.obj --> Small mode object file for MSC user.
5412h_t.obj --> Tiny mode object file for MSC user.
..\DEVUTIL\ISA_BUS\AXDDR\MISC>
misc.h --> Additional header file used by AXDDR.
..\DEVUTIL\ISA_BUS\AXDDR\MISC\TC>
misc_h.obj --> Huge mode object file for TC user.
misc_l.obj --> Large mode object file for TC user.
misc_s.obj --> Small mode object file for TC user.
misc_t.obj --> Tiny mode object file for TC user.
..\DEVUTIL\ISA_BUS\AXDDR\MISC\MSC>
misc_h.obj --> Huge mode object file for MSC user.
misc_l.obj --> Large mode object file for MSC user.
misc_s.obj --> Small mode object file for MSC user.
misc_t.obj --> Tiny mode object file for MSC user.
tc2msc_h.obj --> Huge mode object file for MSC user.
tc2msc_l.obj --> Large mode object file for MSC user.
tc2msc_s.obj --> Small mode object file for TC user.
tc2msc_t.obj --> Tiny mode object file for TC user.
==========================================================================
2. Programming Technique:
-------------------------
There are pre-compiled object files available in AXDDR for both TC and MSC
users. If you would like to make your own object files, setting up your
compiler's environment, making sure that you have install the driver disk
correctly, and use the project file to include all the necessay object or
library files. For difference between TC and MSC users, refer to the
following section.
1.TC 2.0
All the AXDDR are developed under TC 2.0 within it's IDE(Integrated
Development Environment). The config files(*.cfg and *.tc) are for the TC
users' convenience. The pre-compiled object files by TC 2.0 compiler will
be found under the subdirectory "..\TC". If your TC compiler's version does
not compatible with the pre-compiled one, or you want to re-compile your
own object file, use the command line batch file, "playtc.bat".
You can make your own application that calls the driver functions of AXDDR.
Simply prepare a project file that contains the source file of the
application as well as the object file of your device driver with the same
memory model as your application. Don't forget to add the additional object
files, "misc_*.obj", to your project file, when use with AXDDR.
For users of TC 3.0, both the config and project files are not compatible
with what TC 2.0 used. To convert the project file of TC 2.0 to TC 3.0,
use the utility provided by TC 3.0, "prjcnvt.exe", or you can manually open
a new project file and add new items you need into that project file. Also
check for your program's memory model and the directories of your TC
compiler.
The detail of using both the compiler and linker of TC is not intended to
be descirbed here. Please refer to the command line batch file,
"playtc.bat", or the programmer's guide of TC for more detailed
information.
2.MSC 7.0
The pre-compiled object files by MSC compiler will be found under the
subdirectory "..\MSC". Use the command line batch file, "playmsc.bat", if
you want to make your own object file.
You can make your own application that calls the driver functions of AXDDR.
After you produce an object file of the application, link with the object
file of your device driver and all the other necessary object and library
files with the same memory model of that application. Don't forget to add
two additional object files, "misc_*.obj" and "tc2msc_*.obj", when use with
AXDDR.
The detail of using both the compiler and linker of MSC is not intended to
be descirbed here. Please refer to the command line batch file,
"playmsc.bat", or the programmer's guide of MSC for more detailed
information.
3. Function Reference:
----------------------
To understand and make the most use of AXDDR, the driver function reference
file, "ax5412h.txt", will be found under the same directory as the device
driver source file,"ax5412h.c". Please refer to the reference file before
you can make any use of them.
4. More About the AXIOMTEK DAC Device Utility(AS59060):
----------------------------------------------------
The AXIOMTEK DAC Device Utility(DevUtil), as mentioned above, is an easy-to-use
diagnostic utility as well as a demo program which also shows how to call
the AXDDR in sequence, and is now available in this driver CD.
5. Installation
---------------
To build the demo programs of the I/O device, please install the DevUtil
first. (\DAC\SOFTWARE\AS59060\INSTALL\INSTALL.EXE -d)
Then, copy all the sample files of the I/O device under the same directory as
AXDDR,
COPY <source files> <target files>
for example,
COPY E:\DAC\HARDWARE\AX5412H\*.* c:\DEVUTIL\ISA_BUS\DEMO\*.*
Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.