User`s guide

84
Sample Programs
7.1 Sample Programs Development Environment
7.1.1 Visual Basic Sample Programs
There are several Visual Basic sample programs provided for each card in this
software package. The following files are included in each sample program
(Using VB9112DMA as an example):
l VB project file --- VB9112D.VBP
l VB form files --- VB9112D.FRM
l Executable file --- VB9112D.EXE
You must have 32-bit Microsoft Visual Basic 4.0 Professional Edition or above
to deal with these sample programs. Please refer to Visual Basic Manual or
related reference books to get the information about how to use Visual Basic
4.0.
If you dont install 32-bit Microsoft Visual Basic 4.0, but want to execute the VB
sample programs, please install VB4 Runtime package first. The VB4
Runtime package includes the required library and DLL files to run the VB
sample programs. You can find this package in the root directory of ADLink
All-In-One Compact Disc CD or from the setup main window of this CD. After
the installation of VB4 Runtime package, the VB4 samples can be executed on
the system with no VB4 installed.
PCIS-DASK includes another kind of samples, Microsoft C/C++ sample
programs, which will be described in the next section. The C/C++ samples
provide the similar functions as those provided by VB samples. Preferably,
they can be run directly and dont need to install any additional package. So, if
you just want to test the PCIS-DASK package, please use Microsoft C/C++
sample programs.
7.1.2 Microsoft C/C++ Sample Programs
We provide several Microsoft C/C++ sample programs for each card in this
package. The following files are included in each sample program (Using
SDK7200WAV as an example):
l C source file --- 7200WAV.C
l Workspace file --- 7200WAV.MDP
l Resource script file --- 7200WAV.RC, RESOURCE.H
l Make file --- 7200WAV.MAK
l Executable file --- 7200WAV.EXE