Advantech PCI-1718 Series User Manual

Page of 94
PCI-1718 Series User Manual
38
Chapter 4  Programming Guide
4.1  Overview
The PCI-1718 cards are delivered with an easy-to-use 32-bit Device 
Driver for user programming under the Windows 98/2000/XP operating 
systems.
At the Windows driver level, PCI-1718 cards are fully compatible with 
the PCL-818 series so you can easily use older applications of the PCL-
818 series with PCI-1718 cards.We also advise users to program the PCI-
1718 cards using the 32-bit Device Drivers provided by Advantech to 
avoid the complexity of low- level registry programming.
4.2  Programming with the Driver
Your program can perform A/D by writing all the I/O port instructions 
directly, or you can take advantage of the PCI-1718 driver. We suggest 
that you make use of the driver functions in your program. This will make 
you programming job easier and improve your program’s performance.
See the Software Driver User’s Manual for more information.
Start/Advantech Automation/Device Manager/Device Driver’s Manual
4.3  Register Programming.
The most important consideration in programming the PCI-1718 cards at 
register level is to understand the function of the card's registers and the 
process of programming. The information in the following sections is 
provided only for users who would like to do their own low- level pro-
gramming.
Without the driver you would do the following: perform software trigger, 
pacer trigger with interrupt, pacer trigger with interrupt and FIFO, and 
program a controlled data transfer.