Chapter4: Peek and Poke Driver
Manual Number: 00431-024-14
Page 4-1
Chapter 4: Peek and Poke Driver
The Peek and Poke driver for Windows 95/NT allows developers to write Win32 programs that
access hardware I/O ports and physical memory on Industrial Computer Source products. This
driver simplifies the testing of hardware components because they can be accessed without using a
specific driver for each product.
CAUTION!
The Peek and Poke driver gives application-level access to areas of the hardware and memory that
can crash the operating system or corrupt data. Take care to access only known memory or I/O
ports.
Using the Library
Two static libraries and two dynamic linked libraries are used to access the Peek and Poke driver
under Windows 95 or Windows NT:
pplib95.lib and pplibnt.lib
pplib95.dll, pplibnt.dll.
To use a library, add pplib95.lib or pplibnt.lib to your link, whichever is appropriate for the target
operating system. Include pplib95.h or pplibnt.h in the C/C++ file from which you will be accessing
the functions.
For Visual Basic, add pplib95.dll or pplibnt.dll to your external function declarations (refer to
Visual Basic Declaration Syntax, later in this section). These libraries are compatible with all
Microsoft compilers.
Note:
To make sure that libraries are thread safe, you must use the ics_pp_open() call in your initial
thread, before creating any other threads. Then make sure that all other threads are terminated
before calling ics_pp_close().
Table 4-1 lists the functions of the Peek and Poke library.
Содержание DIO24-P
Страница 1: ...Model DIO24 P Product Manual MANUAL NUMBER 00431 024 14B...
Страница 3: ...Page iv This page intentionally left blank...
Страница 7: ...Page viii This page intentionally left blank...
Страница 27: ...Appendix B Pinout Drawing Manual Number 00431 024 14 Page B 1 Appendix B Pinout Drawing...