http://www.daqsystem.com
USB-EK01 Users Manual (Rev 1.0)
- 43 -
5.6 Application Program for PC
There are a lot of tools and methods to make application for PC, we used a way to
make it with using Visual C++ of Microsoft at this manual.
A way to be the best in case of programming, individual engineer is the best to use a
tool that it is familiar and comfortable.
If you are seen source of a device driver, EZ-USB device is registered to Host(PC)
for symbolic names of "ezusb-i”. The “i” is created according to device order
registered.
Figure 5.19 show that a programming with using Visual C, you can find a source at
“
Software/application
”
folder in CDROM.
[Figure 5.18 Programming with using Visual C++]
This application is for the purpose of operating 32bit Windows operating systems, it is
essence to use Win32 API function. Two functions to be important among Win32 API are
as follows.
(1)
CreateFile()
(2) DeviceIoControl().
The following source shows no matter how to operate at programs two above API.