Eagle Technology PCI703-16/A User manual

PCI 703 Series
PCI PnP Analog Board
User’s Manual
PCI703-16/A, PCI703-32/A PCI703-64/A
PCI703S-8/A, PCI703S-16/A
Eagle Technology –Cape Town, South Africa
Copyright © 2001-2004
www.eagledaq.com

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com i
Analog Boards
Data Acquisition and Process Control
© Eagle Technology
31-35 Hout Street •Cape Town •South Africa
Phone +27 21 423 4943 •Fax +27 21 424 4637

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com ii
Copyright
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system ,
or transmitted, in any form or any means, electronic, mechanical, by photographing,
recording, or otherwise without prior written permission.
Copyright © Eagle Technology, South Africa
July 2004
Revision 1.12
Information furnished in this manual is believed to be accurate and reliable; however no
responsibility is assumed for its use, or any infringements of patents or other rights of third
parties,whichmayresultfromitsuse.
Trademarks and Logos in this manual are the property of their respective owners.
Product Warranty
Eagle Technology, South Africa, warrants its products from defect in material and
workmanship from confirmed date of purchase for a period of one year if the conditions listed
below are met. The product warranty will call the Eagle Technology Data Acquisition Device
short as ETDAQD.
•The warranty does not apply to an ETDAQD that has been previously repaired, altered,
extended by any other company or individual outside the premises of Eagle Technology.
•That a qualified person configure and install the ETDAQD, and damages caused to a
device during installation shall make the warranty void and null.
•The warranty will not apply to conditions where the ETDAQD has been operated in a
manner exceeding its specifications.
Eagle Technology, South Africa, does not take responsibility or liability of consequential
damages, project delays, damaging of equipment or capital loss as a result of its products.
Eagle Technology, South Africa, holds the option and final decision to repair or replace any
ETDAQD. Proof of purchase must be supplied when requesting a repair.

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com iii
TABLE OF CONTENTS
1. INTRODUCTION 1
Features 1
Applications 2
KeySpecifications 2
Software Support 2
Contact Details 2
2. INSTALLATION 3
Package 3
Operating System Support 3
Hardware Installation 3
Software Installation 4
Windows 98/2000/ME 4
Post installation 7
Windows NT 9
Accessories 9
3. INTERCONNECTIONS 10
External Connectors 10
PCI703-16/A 10
Connector Pin Assignments 11
PCI703-16/A 11
PCI703-32/64/A 11
PCI703S-8/16/A 11
Cable Pin Assignments 12
Y–Cable 1 (PCI 703-16/A) Analog –DB37 F 12
Y-Cable 3 (PCI 703-64/A) Analog 13
Y–Cable 1, Y-Cable 3, Y-Cable 4 (PCI 703-16/64/S/A) Digital –DB37 F 13
Signal Definitions 14
Pin Descriptions 14
Analog Input (ACH0-63) 14
Analog Input Sensing (AISENSE) 14
Analog Input Ground (AIGND) 14
AnalogOutput Ground (AOGND) 14
Analog Outputs (DAC0-1) 14
Digital Input/Outputs (DIO0-7) 14
Multi Function Digital Input/Outputs (PIO0-7) 14
TRIG1 14

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com iv
Frequency Output (FREQ_OUT) 14
ADC Scan Clock (SCANCLK) 14
Counters (GPCTR0-1) 15
+5V Power Pin (+5V) 15
Digital Ground (DGND) 15
Analog Input Connections 15
Analog Input Connections -SAMPLE-AND-HOLD 15
Differential Input Pairing 15
4. PROGRAMMING GUIDE 17
EDR Enhanced API 17
Digital Inputs/Outputs 18
Reading the Digital Inputs 18
Writingto the Digital Outputs 18
Counters 19
Writing the initial counter value 19
Configuring a counter 19
Controlling the counter gate 20
AnalogOutput 21
Writing to a DAC channel 21
Generating a Waveform 21
Analog Input 23
Reading a single voltage from a channel 23
Configuring the ADC subsystem for scanning 23
Digital triggering 24
Analogtriggering 24
Starting and Stopping the ADC process 26
Getting data from the driver buffer 26
Querying the ADC subsystem 27
Query Codes 28
How to use query codes 28
API Call 28
ActiveX Call 28
How to change the hardware FIFO depth 28
How to check for available data 29
How to get the driver buffer size 29
How to get the number of ADC channels 29
How to check the status of the driver buffer 29
5. CALIBRATION 30
Requirements 30
A. SPECIFICATIONS 31
Maximum Transfer Bandwidth–PCI703/S 31
Analog Input Characteristics –PCI703 31
Input Characteristics 31

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com v
Conversion Characteristics 31
Differential Input Amplifier Characteristics (AD620BR) 31
Analog Input Characteristics –PCI703S 32
Differential Input Amplifier Characteristics (AD620BR) 32
Sample and Hold Amplifier Characteristics (AD684) 32
Programmable Gain Amplifier Characteristics 32
Input Characteristics 32
Conversion Characteristics 32
Analog Output Characteristics 33
Output Characteristics 33
Conversion Characteristics (Calibrated) 33
Voltage Output Characteristics 33
Digital Input/Output Characteristics 33
Multifunction Input/Output Characteristics 33
Timing Input/Output Characteristics 34
Other 34
B. CONFIGURATION CONSTANTS 35
Query Codes 35
Error Codes 35
Digital I/O Codes 35
Analog Input Gain Codes –PCI703-16/32/64/A 35
Analog Input Gain Codes –PCI703S -8/16/A 35
Analog Input Range Codes –PCI703-16/32/64/A 35
C. LAYOUTDIAGRAM 37
D. ORDERINGINFORMATION 38

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com vi
Table of Figures
Figure3-A PCI 703 Interconnections............................................................................................................10
Figure4-A EDR Enhanced Design................................................................................................................17

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com vii
Table of Tables
Table 1-1 PCI703 16/32/64 Versions..............................................................................................................1
Table 1-2 PCI703S Versions .............................................................................................................................2
Table 2-1OperatingSystemSupport.............................................................................................................3
Table 3-1 Pinouts for PCI703-16/A (External Connector–SCSI 68)................................................11
Table 3-2 Pinouts for PCI703-32/64/A (External Connector –SCSI 100) .......................................11
Table 3-3 Pinouts for PCI703S-8/16/A (External Connector –SCSI68) .........................................12
Table 3-4 Y-Cable 1 Analog Connector.......................................................................................................12
Table 3-5 Y-Cable 3 Analog Connector.......................................................................................................13
Table 3-6 Y-Cable 1,3,4 Digital Connector.................................................................................................13
Table 3-7 Differential Channel Assignment................................................................................................16
Table 4-1 Counter Assignment.......................................................................................................................19
Table 4-2CounterConfiguration....................................................................................................................20
Table 4-3GateConfiguration..........................................................................................................................20
Table D-D-1 Ordering Information.................................................................................................................38

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com 1
1
1. Introduction
The PCI703 series are 32-bit PCI bus architecture data acquisition boards. They are available
in four models, the 16, 32 and 64 channels analog input board and the sample-and-hold
version. The PCI703 contains digital input and output ports, onboard counters, a frequency
generator,analog-inandanalog-out sub-systems. The PCI703 is a multi-purpose analog
board that can be used in many applications.
Features
The PCI703 does have some very unique features and are short listed below:
•32-bitPCI bus Revision 2.2 compliantat33MHz.
•PCI Bus 3.3V compatible.
•PCI Bus Master DMA.
•Fully individually programmable analog-in channels.
•Analog-out waveform generation support.
•Sample-and-hold option.
Feature PCI703-XX PCI703-XXA
Numberofanaloginput
channels PCI703-16 PCI703-32 PCI703-64
16 32 64
PCI703-16A PCI703-32A PCI703-64A
16 32 64
Numberofanalogoutput
channels 02
A/Dresolution@400KHz 14 14
A/DFIFOdepth 4096 4096
A/Dchannellistdepth 4096 4096
D/Aresolution@100KHz -14
D/AFIFOdepth -4096
D/A waveform generation
capability -YES
Triggeringcapability Internal,External.
Analog&Digital.
Post&Pre-Trigger
Internal,External.
Analog&Digital.
Post&Pre-Trigger
Counters 33
Frequencygeneration 11
Numberofdigitalinput/output
lines 88
Numberofmultifunctiondigital
I/Olines 10 10
Table 1-1PCI703 16/32/64 Versions

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com 2
Feature PCI 703S-8PCI703S-8A PCI 703S-16 PCI 703S-16A
Numberofanaloginputchannels 816 16 16
Numberofanalogoutputchannels 0202
A/Dresolution@400KHz 14 14 14
A/DFIFOdepth 4096 4096 4096 4096
A/Dchannellistdepth 4096 4096 4096 4096
D/Aresolution@ 100 KHz -14 -14
D/AFIFOdepth -4096 -4096
D/Awaveformgenerationcapability -YES -YES
Triggeringcapability Internal,External.
Analog&Digital.
Post&Pre-Trigger
Internal,External.
Analog&Digital.
Post&Pre-Trigger
Internal,External.
Analog&Digital.
Post&Pre-Trigger
Internal,External.
Analog&Digital.
Post&Pre-Trigger
Counters 3333
Frequencygeneration 1211
Numberofdigitalinput/outputlines 8888
NumberofmultifunctiondigitalI/Olines 10 10 10 10
Table 1-2PCI703S Versions
Applications
The PCI703 can be used in the following applications:
•Vibrationmonitoring.
•Transducermonitoring.
•Automationand testequipment.
•Signal generation.
•Laboratory training.
•Medical applications.
Key Specifications
•14-bit analog input @ 400 KHz.
•Fullyprogrammablesample-and-hold analog input system with triggering.
•14-bit analog output @ 400 KHz.
•Independent waveform generation capability.
Software Support
The PCI703 is supported by EDR Enhanced and comes with an extensive range of examples.
The software will help you to get your hardware going very quickly. It also makes it easy to
develop complicated control applications quickly. All operating system drivers, utility and test
software are supplied on the Eagle Technology CD-Rom. The latest drivers can also be
downloaded from the Eagle Technology website. For further support information see the
ContactDetailssection.
Contact Details
Below are the contact details of EagleTechnology.
Eagle Technology
PO Box 4376
Cape Town
8000
South Africa
Telephone +27 (021) 423 4943
Fax +27 (021) 424 4637
E-Mail [email protected]
Website http://www.eagledaq.com

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com 3
2
2. Installation
This chapter describes how to install and configure the PCI703 for the first time. Minimal
configuration is necessary; almost all settings are done through software. The PCI BIOS or
operatingsystem will take care ofallresource assignments.
Package
PCI703 package will contain the following:
•PCI703 PCI board
•Software CD-Rom
Operating System Support
PCI703 support the following operating systems
BoardType Revision OperatingSystems DriverType
PCI703-16/A Revision1 WindowsNT/2000 NTSys
PCI703-16/A Revision2 WindowsNT/2000/98/ME NTSys,WDMPnP
PCI703-64/A Revision2 WindowsNT/2000/98/ME NTSys,WDMPnP
PCI703S-8/16/A Revision1 WindowsNT/2000/98/ME NTSys,WDMPnP
Table 2-1Operating System Support
Hardware Installation
This section will describe how to install your PCI board into your computer.
•Switch off the computer and disconnect from power socket.
Failure to disconnect all power cables
can result in hazardous conditions, as
there may be dangerous voltage levels
present in externally connected
cables.
•Remove the cover of the PC.
•Choose any open PCI slot and insert PCI board
•Insert bracket screw and ensure that the board sits firmly in the PCI socket.
•Replacethe cover of the PC.
•Reconnect all power cables and switch the power on.
•The hardware installation is now completed.

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com 4
Software Installation
Windows 98/2000/ME
Installing the Windows 98/2000 device driver is a very straightforward task. Because it is plug
and play Windows will auto detect the PCI board as soon as it is installed. No setup is
necessary. You simply have to supply Windows with a device driver.
Wait until Windows detects the new hardware
Select Next

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com 5
Select “Search for a suitable driver for my device…” and select next
Make sure only “Specify a location” is selected and select next

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com 6
Select the browse button and search for the PCI703.inf file on the Eagle CD-Rom.
The driver is normally located in the <CDROM>:\EDRE\DRIVERS\WDM\PCI703
directory.
The PCI703/16/64 use the same driver.
However the PCI703S has a different
driver. Please sure that you use the
appropriate driver for your board.

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com 7
Select next when found.
Select next again.
When done you might have to restart yourcomputer.
Post installation
When done with the driver installation the device manager can be open to make sure the
installation was a success.

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com 8
•First make sure that the driver is working properly by opening theDevice Manager.
•Check under the Eagle Data Acquisition list if your board is listed and working
properly. See picture below.
•Clearly you can see that the PCI device is listed and working properly.
•Further open the control panel and then the EagleDAQfolder. This dialog should list
all installed hardware. Verify your board’s properties on this dialog. See picture below

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com 9
Now the first part of your installation has been completed and ready to install the EDR
Enhanced Software Development Kit.
•Runedreapi.exe found on the Eagle CD-Romandfollow the on screen instructions
Windows NT
Windows NT does not require any special setup procedure. The Windows NT driver does not
support plug and play. If Windows 2000 detects a new device simply install a default driver, or
so called placeholder. This will disable the device in the plug and play manager.
To install the Windows NT drivers simply runedrewinnt.exe on the Eagle CD-Rom. This will
automatically install the device drivers. Restart your computer when done. Open the
EagleDAQfolder in the control panel to check if your installation was successful.
Accessories
The PCI703 has got a wide variety of accessories that it can be connected too. See the Eagle
Technology catalog for more information.

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com 10
3
3. Interconnections
The PCI703 has got one external connector that includes connections for analog-in,analog-
out, digital I/O, counters and power. All connections are made through this connector situated
on the card’s bracket.
A wide variety of genuine accessories available from Eagle Technology also make interfacing
to the PCI703 very easy. Accessories are available in the form of cables, screw terminals and
application modules.
External Connectors
PCI703-16/A
The PCI703-16/A has a SCSI male centronics 68-way connector. Two types of cables are
available, 68-way SCSI-II D-Sub (F) to (M) screened cable connecting to an adaptor
ADPT6868 and a Y-Cable 68-way SCSI-IID -Sub (F) to 2 x DB37 (F) connection to
application modules and adaptors. Application modules include the PC43A4 and PC52A1.
Adaptors would be the ADPT3740. See diagram below.
Figure 3-APCI 703 Interconnections

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com 11
Connector Pin Assignments
PCI703-16/A
Pin Name Pin Name Pin Name Pin Name
1FREQ_OUT 18 DGND 35 DGND 52 DIO0
2GPCTR0 19 DIO436 DGND 53 DGND
3PFI9 20 RESERVED 37 PFI8/CPCTR1 54 AOGND
4DGND 21 DAC1 38 PFI7 55 AOGND
5PFI6 22 DAC0 39 DGND 56 AIGND
6PFI5 23 ACH15 40 GPCTR1 57 ACH7
7DGND 24 AIGND 41 PFI4 58 ACH14
8+5V 25 ACH6 42 PFI3/CPCTR0 59 AIGND
9DGND 26 ACH13 43 PFI2/CONVERT 60 ACH5
10 PFI1 27 AIGND 44 DGND 61 ACH12
11 PFI0/TRIG1 28 ACH4 45 RESERVED 62 AISENSE
12 DGND 29 AIGND 46 SCANCLK 63 ACH11
13 DGND 30 ACH3 47 DIO3 64 AIGND
14 +5V 31 ACH10 48 DIO7 65 ACH2
15 DGND 32 AIGND 49 DIO2 66 ACH9
16 DIO6 33 ACH1 50 DGND 67 AIGND
17 DIO1 34 ACH8 51 DIO5 68 ACH0
Table 3-1Pinouts for PCI703-16/A (External Connector–SCSI 68)
The following cables can be used with this connector.
•Y-Cable 1
•SCSI D-Sub68M/F
PCI703-32/64/A
Pin Name Pin Name Pin Name Pin Name
1AIGND 26 DIO4 51 ACH16 76 AIGND
2AIGND 27 DIO1 52 ACH24 77 ACH36
3ACH0 28 DIO5 53 ACH17 78 ACH44
4ACH8 29 DIO2 54 ACH25 79 ACH37
5ACH1 30 DIO6 55 ACH18 80 ACH45
6ACH9 31 DIO3 56 ACH26 81 ACH38
7ACH2 32 DIO7 57 ACH19 82 ACH46
8ACH10 33 DGND 58 ACH27 83 ACH39
9ACH3 34 +5V 59 ACH20 84 ACH47
10 ACH11 35 +5V 60 ACH28 85 ACH48
11 ACH4 36 SCANCLK 61 ACH21 86 ACH56
12 ACH12 37 EXTSTROBE 62 ACH29 87 ACH49
13 ACH5 38 PFI0/TRIG1 63 ACH22 88 ACH57
14 ACH13 39 PFI1 64 ACH30 89 ACH50
15 ACH6 40 PFI2/CONVERT 65 ACH23 90 ACH58
16 ACH14 41 PFI3/CPCTR0 66 ACH31 91 ACH51
17 ACH7 42 PFI4 67 ACH32 92 ACH59
18 ACH15 43 GPCTR1 68 ACH40 93 ACH52
19 AISENSE 44 PFI5/UPDATE 69 ACH33 94 ACH60
20 DAC0OUT 45 PFI6/WFTRIG 70 ACH41 95 ACH53
21 DAC1OUT 46 PFI7/STARTSCAN 71 ACH34 96 ACH61
22 EXTREF 47 PFI8/CPCTR1 72 ACH42 97 ACH54
23 AOGND 48 PFI9 73 ACH35 98 ACH62
24 DGND 49 GPCTR0 74 ACH43 99 ACH55
25 DIO0 50 FREQ_OUT 75 AISENSE 100 ACH63
Table 3-2Pinouts for PCI703-32/64/A (External Connector–SCSI 100)
The following cable can be used with this connector
•Y-Cable 3
•SCSI D-Sub100M/M
PCI703S-8/16/A
Pin Name Pin Name Pin Name Pin Name
1AIGND 18 ACH0+ 35 AIGND 52 ACH1+
2ACH14-19 DAC0 36 ACH15-53 DAC1
3ACH14+ 20 AOGND 37 ACH15+ 54 AOGND
4ACH12-21 DGND 38 ACH13-55 DGND

PCI 703 User Manual Eagle Technology -Data Acquisition
Eagle Technology © Copyright 2001-2004–www.eagledaq.com 12
5ACH12+ 22 FREQ_OUT 39 ACH13+ 56 NC
6ACH10-23 GPCTR0 40 ACH11-57 GPCTR1
7ACH10+ 24 PFI8/CPCTR1 41 ACH11+ 58 PFI9
8ACH8-25 PFI6 42 ACH9-59 PFI7/STARTSCAN
9ACH8+ 26 PFI4 43 ACH9+ 60 PFI5
10 AIGND 27 PFI2/CONVERT 44 AIGND 61 PFI3/CPCTR0
11 ACH6-28 PFI0/TRIG1 45 ACH7-62 PFI1
12 ACH6+ 29 +5V 46 ACH7+ 63 +5V
13 ACH4-30 DGND 47 ACH5-64 DGND
14 ACH4+ 31 DIO6 48 ACH5+ 65 DIO7
15 ACH2-32 DIO4 49 ACH3-66 DIO5
16 ACH2+ 33 DIO2 50 ACH3+ 67 DIO3
17 ACH0-34 DIO0 51 ACH1-68 DIO1
Table 3-3Pinouts for PCI703S-8/16/A (External Connector–SCSI 68)
The following cable can be used with this connector.
•SCSI D-SubM/F-S
•Y-Cable 4
Cable Pin Assignments
Y–Cable 1 (PCI 703-16/A) Analog –DB37 F
Pin Name Pin Name
1AIGND 20 ACH0
2ACH1 21 AIGND
3ACH2 22 ACH3
4AIGND 23 ACH4
5ACH5 24 AIGND
6ACH6 25 ACH7
7AIGND 26 ACH8
8ACH9 27 AIGND
9ACH10 28 ACH11
10 AIGND 29 ACH12
11 ACH13 30 AIGND
12 ACH14 31 ACH15
13 AIGND 32 AISENSE
14 AIGND 33 NC
15 NC 34 NC
16 AOGND 35 EXTREF
17 AOGND 36 DAC0
18 AOGND 37 DAC1
19 AOGND
Table 3-4Y-Cable 1 Analog Connector
This manual suits for next models
5
Table of contents