PCI 703 User Manual Eagle Technology - Data Acquisition
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.
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, which may result from its use.
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.
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
Analog Output 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
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
Writing to the Digital Outputs 18
Counters 19
Writing the initial counter value 19
Configuring a counter 19
Controlling the counter gate 20
Analog Output 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
Analog triggering 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
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
PCI 703 User Manual Eagle Technology - Data Acquisition
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-in and analog-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:
The PCI703 can be used in the following applications:
• Vibration monitoring.
• Transducer monitoring.
• Automation and test equipment.
• Signal generation.
• Laboratory training.
• Medical applications.
Key Specifications
• 14-bit analog input @ 400 KHz.
• Fully programmable sample-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
Contact Details section.
Contact Details
Below are the contact details of Eagle Technology.
Eagle Technology
PO Box 4376
Cape Town
8000
South Africa
Telephone +27 (021) 423 4943
Fax +27 (021) 424 4637
E-Mail eagle@eagle.co.za
Website http://www.eagleda q.com
PCI 703 User Manual Eagle Technology - Data Acquisition
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
operating system will take care of all resource assignments.
Package
PCI703 package will contain the following:
• PCI703 PCI board
• Software CD -Rom
Operating System Support
PCI703 support the following operating systems
Board Type Revision Operating Systems Driver Type
PCI703-16/A Revision 1 Windows NT/2000 NT Sys
PCI703-16/A Revision 2 Windows NT/2000/98/ME NT Sys, WDM PnP
PCI703-64/A Revision 2 Windows NT/2000/98/ME NT Sys, WDM PnP
PCI703S-8/16/A Revision 1 Windows NT/2000/98/ME NT Sys, WDM PnP
Table 2-1 Operating 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
• 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.
• Replace the cover of the PC.
• Reconnect all power cables and switch the power on.
PCI 703 User Manual Eagle Technology - Data Acquisition
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.
PCI 703 User Manual Eagle Technology - Data Acquisition
Now the first part of your installation has been completed and ready to install the EDR
Enhanced Software Development Kit.
• Run edreapi.exe found on the Eagle CD -Rom and follow 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 run edrewinnt.exe on the Eagle CD-Rom. This will
automatically install the device drivers. Restart your computer when done. Open the
EagleDAQ folder 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
3
3. Interconnections
The PCI703 has got one external connector that includes connections for analog-in, analogout, 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 ma ke 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-II D -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.
PCI 703 User Manual Eagle Technology - Data Acquisition
Signal Definitions
This sections deal with all the signals abbreviations.
Signal Description
ACH0-63 Analog inputs
AIGND Analog input ground
AOGND Analog output ground
AISENSE Analog input sensing
DAC0-1 Analog outputs
DIO0-7 Digital inputs/outputs
PFI0-9 Programmable multi function digital inputs/outputs
TRIG1 Digital trigger pin
FREQ_OUT Frequency generator
SCANCLK A/D external convert
GPCTR0-1 Counter Outputs
CPCTR0-1 Counter Inputs
+5V Power output
DGND Digital ground
Table 3-2 Signal definitions
Pin Descriptions
Analog Input (ACH0-63)
This is the analog input-channels. Depending on the version there are either 16/64 single
ended input channels or 8/32 differential input channels.
Analog Input Sensing (AISENSE)
This input is used as a reference analog input ground. This is normally used where the
measurement point is v ery far from the PCI703 connector.
Analog Input Ground (AIGND)
This is the analog reference used by single ended analog inputs.
Analog Output Ground (AOGND)
This is the analog reference used by analog outputs.
Analog Outputs (DAC0-1)
The A version of the PCI703 has two analog outputs, DAC0 and DAC1.
Digital Input/Outputs (DIO0-7)
The DIO0-7 pins are the pins for the digital I/O system.
Multi Function Digital Input/Outputs (PIO0-7)
These pins are digital I/O, but can also be used for some other functions. They represent the
same function as the digital I/O pins.
TRIG1
This pin is used for digital triggering.
Frequency Output (FREQ_OUT)
This is the output pin of the frequency generator system.
ADC Scan Clock (SCANCLK)
This input is used to externally clock the ADC system.
PCI 703 User Manual Eagle Technology - Data Acquisition
Counters Output (GPCTR0-1)
These are the outputs of the two user counters.
Counters External Clock (CPCTR0 -1)
These are the external clock inputs of the two user counters.
+5V Power Pin (+5V)
This is a +5 volt fused power pin.
Digital Ground (DGND)
All digital ground signals should be connected to this pin.
Analog Input Connections
WARNING!!
All unused analog inputs must be
connected to analog ground. The
analog input system of the PCI703 can
be damaged or become unstable when
scanning cha nnels that is left floating.
Analog Input Connections - SAMPLE-AND-HOLD
WARNING!!
Don’t feed any voltage into the
PCI703S while the computer is
switched off. This will damage the
analog input cicuitry. The sample -andhold devices will be damaged
parmanently and result in
multfunctioning of the board.
Differential Input Pairing
The table below shows the differential channel pairing. This is for the PCI703-16/32/64
boards. Please note that if any channel is assigned as a differential input, the paired channel
will automatically become unavailable. The positive channel is the channel that needs to be
configured.
PCI 703 User Manual Eagle Technology - Data Acquisition
4
4. Programming Guide
The PCI703 is supplied with a complete software development kit. EDR Enhanced (EDRE
SDK) comes with drivers for many operating systems and a common application program
interface (API). The API also serves as a hardware abstraction layer (HAL) between the
control application and the hardware. The EDRE API makes it possible to write an application
that can be used on all hardware with common sub -systems.
The PCI703 can also be programmed at register level, but it is not recommended. A detailed
knowledge of the PCI703 is needed and some knowledge about programming Plug and Play
PCI devices. We recommend that you only make use of the software provided by Eagle
Technology.
EDR Enhanced API
The EDR Enhanced SDK comes with both ActiveX controls and a Windows DLL API.
Examples are provided in many different languages and serve as tutorials. EDRE is also
supplied with a software manual and user’s guide.
The EDRE API hides the complexity of the hardware and makes it really easy to program the
PCI703. It has got functions for each basic sub-system and is real easy to learn.
PCI 703 User Manual Eagle Technology - Data Acquisition
Digital Inputs/Outputs
The PCI703 has got 8 digital I/O lines and 10 multi I/O lines that can all be used for digital
control purposes. The EDRE API supports auto direction configuration. By writing to or
reading from a port, it is automatically configured as an output or input. A port is defined as a
collection of simultaneous configurable entities. Thus in the case of the PCI703 each port is
only 1-bit wide. In total the PCI703 has got 18 digital ports that can be configured in any
direction. Some of which has got more than one function when configured as an input.
Reading the Digital Inputs
A single call is necessary to read a digital I/O port.
API-CALL
Long EDRE_DioRead(ulng Sn, ulng Port, ulng *Value)
The serial number, port, and a pointer to variable to hold the result must be passed by the
calling function. A return code will indicate if any errors occurred.
ACTIVEX CALL
Long EDREDioX.Read(long Port)
Only the port-number needs to be passed and the returned value will either hold an error or
the value read. If the value is negative an error did occur.
Writing to the Digital Outputs
A single call is necessary to write to a digital I/O port.
API-CALL
Long EDRE_DioWrite(ulng Sn, ulng Port, ulng Value)
The serial number, port, and a value must be passed by the cal ling function. A return code will
indicate if any errors occurred.
ACTIVEX CALL
Long EDREDioX.Write(long Por, ulng Value)
The port number and value to be written needs to be passed and the returned value holds an
error or the value read. If the value is negative an error did occur.
PCI 703 User Manual Eagle Technology - Data Acquisition
Counters
The counter sub -system is supported by functions to Write, Configure and controlling the
gate. There are 3 counters and 1 frequency generator. Only the first two counters and the
frequency generator are available for the user. See the table below that shows the relation of
the counters and their assigned numbers.
Counter Assigned Number Description
0 0 Counter 0
1 1 Counter 1
2 <Not Used> A/D Timing
3 2 Frequency Out Counter
Table 4-1 Counter Assignment
Writing the initial counter value
A single call is necessary to write a counter’s initial load value.
API-CALL
Long EDRE_CTWrite(ulng Sn, ulng Ct, ulng Value)
The serial number, counter-number, and a value must be passed by the calling function. A
return code will indicate if any errors occurred.
ACTIVEX CALL
Long EDRECTX.Write(long Port, ulng Value)
The port number and value to be written needs to be passed and the returned value holds an
error or the value read. If the value is negative an error did occur.
Configuring a counter
A single call is necessary to configure a counter.
The serial number, counter-number, mode , type, clock source and gate source is needed to
specify a counter’s configuration. A return code will indicate if any errors occurred.
ACTIVEX CALL
Long EDRECTX.Configure(long ct, long mode, long type, ulng source, ulng gate)
The counter-number, mode, type, clock source and gate source is needed to specify a
counter’s configuration. A return code will indicate if any errors occurred.
Only the counter mode, clock source and type parameters are used by the PCI703. The table
below shows the options for each parameter.
Parameter Description
Sn Serial Number
Ct Counter Number:
Mode 0 : PULSE
Type Interrupt on TC:
Source 0 : 20MHz internal clock
0 : Counter 0
1 : Counter 1
2 : Frequency Out Counter
1 : TOGGLE
Invalid parameter for counter 2
0 : Disabled
1 : Enabled
This bit will only generate a interrupt at the interrupt sub-system. The
interrupt sub-system must also be setup to generate a PCI Bus
interrupt.
1 : 100KHz internal clock
2 : External clock on CPCTRx pin<invalid for counter 2>
PCI 703 User Manual Eagle Technology - Data Acquisition
Gate <not use>
Table 4-2 Counter Configuration
Controlling the counter gate
A single call is necessary to setup/control a counter’s gate. This function call is invalid for the
frequency generator (counter 2). Counter 2 does not have a gate.
API-CALL
Long EDRE_CTSoftGate(ulng Sn, ulng Ct, ulng Gate)
The serial number, counter-number and gate are needed to control a counter’s gate. A return
code will indicate if any errors occurred.
ACTIVEX CALL
Long EDRECTX.SoftGate(ulng Sn, ulng Ct, ulng Gate)
The counter-number and mode is needed to control a counter’s gate. A return code will
indicate if any errors occurred.
PCI 703 User Manual Eagle Technology - Data Acquisition
Analog Output
The PCI703-X/A version has got 2 DAC channels that support single write and waveform
generation. The DAC subsystem uses the onboard counters for timing and a FIFO for data
transfer. The two DAC channels are controlled independently from each other. The DAC
subsystem is control via 3 functions: SingleWrite, Control and Configure.
Writing to a DAC channel
A single call is necessary to set a voltage on a DAC channel.
API-CALL
Long EDRE_DAWrite (ulng Sn, ulng Channel, long uVoltage)
The serial number, DAC channel and micro-voltage is needed to set a DAC channel’s
voltage. A return code will indicate if any errors occurred.
ACTIVEX CALL
Long EDREDAX.Write (ulng Channel, long uVo ltage)
The DAC channel and micro -voltage is needed to set a DAC channel’s voltage. A return code
will indicate if any errors occurred.
Generating a Waveform
Generating a waveform is basically a two-step process. First configure a channel then start
and stop it. Two modes are available, FIFO non-loop mode and pattern mode. FIFO non-loop
the FIFO data only gets outputted once. The DAC output voltage will be the same as the last
value in the FIFO. In pattern mode the FIFO data is outputted continuously. Please note that
the frequency is not the total frequency of the waveform, but the update rate of the DAC
channel. This is the value written directly to the counter.
Update frequency = (Internal clock frequency) / (counter value +1)
API-CALL
Long EDRE_DAConfig (ulng Sn, ulng Channel, ulng Frequency, ulng ClkSrc, ulng
GateSrc, ulng Continuous, ulng Length, long *uVoltage)
Parameter Type Description
Sn Unsigned long Board’s serial number
Channel Unsigned long Channel
Frequency Unsigned long Actual value written to counter
ClkSrc Unsigned long Clock source
GateSrc Unsigned long Gate Source – Ignored
Continuous Unsigned long Mode
Length Unsigned long Buffer length
uVoltage Pointer to a long buffer Buffer filled with micro voltages
Return Long Error Code
ACTIVEX CALL
Long EDRDAX.Configure (long Channel, long Frequency, long ClkSrc, long GateSrc,
long Continuous, long Length, long *uVoltage)
PCI 703 User Manual Eagle Technology - Data Acquisition
Trigger Source (T0
-
T3)
2: External
–
PIN TRIG1
Analog Input
The PCI703 has got a very unique A/D subsystem and is fully configurable. Configuration
includes dynamic range, gain, reference and differential or single ended. Each of these
settings can be applied to an individual c hannel while scanning.
Please not that although the PCI703 and PCI703S is similar in operation and uses the same
functions, not all parameters apply to the PCI703S. This is because the PCI703S only
supports bipolar -differential mode. The frequency is also implemented differently. Where the
frequency is the timer tic for the ADC on the PCI703, it is the total frequency on the PCI703S.
Reading a single voltage from a channel
To read a single ADC channel you need to know the voltage range and gain.
API-CALL
Long EDRE_ADSingle (ulng Sn, ulng Channel, ulng Gain, ulng Range, plong uVoltage)
Parameter Type Description
Sn Unsigned long Board’s serial number
Channel Unsigned long ADC Channel
Gain Unsigned long Gain code. See appendix for details
Range Unsigned long Range code. See appendix for details
uVoltage Pointer to a long Voltage read from channel
Return Long Error Code
ACTIVEX CALL
Long EDREADX.SingleRead (long Channel)
Parameter Type Description
Channel Long ADC Channel
Return Long Voltage re turned from channel.
Make sure to set the Gain and Range properties of the ADC ActiveX control. This will in turn
set the range and gain when reading the ADC channel.
Configuring the ADC subsystem for scanning
This is the most complicated part of config uring the PCI703 for auto scanning. Make sure that
you use the correct format when applying the channel list configuration. There are many
loopholes and care should be taken when implementing code to configure the PCI703.
PCI 703 User Manual Eagle Technology - Data Acquisition
Specifies the analog reference.
0: analog in sense pin.
12 Trigger Mode – Only applies to the reference trigger source. (M0-M3)
Example Layout:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
M3 M2 M1 M0 T3 T2 T1 T0 C7 C6 C5 C4 C3 C2 C1 C
Burst Unsigned long Not used
Range Unsigned long Not used
ChanList Pointer to an
unsigned long
GainList Pointer to an
unsigned long
ListSize Unsigned long This parameter determines the length the two previous arrays. This is also the depth of the channel list
This is an array of unsigned longs which contains the channels to be sampled when scanning the ADC
sub-system. The max size of the channel list is half the FIFO depth.
The gain list contains an array of unsigned longs which specifies the setup for each channel according to
the previous list. The table below shows the format for each channel.
Offset (bits) Description
0 Specifies the gain of the channel. See
8 Specifies the range of the channel. See
12 Specifies the analog reference.
Example Layout:
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
F3 F2 F1 F0 R3 R2 R1 R0 G7 G6 G5 G4 G3 G2 G1 G
that is programmed to the board.
0: Positive
1: Negative
2: Rising
3: Falling
table on ADC gain codes. (G)
table on ADC range codes. (R)
0: analog in sense pin.
1: analog ground. (F)
0
0
Digital triggering
If digital triggering is used, pin TRIG1 is used. This pin is active high and will start the ADC
process when it is high. The process will continue until it is stopped via software.
Analog triggering
If analog triggering is used, the voltage on analog output channel 1 is used as reference
voltage. This voltage can be changed at set and the PCI703 will compar e the current input
voltage to the ADC system, this can be from any channel included in the channel list, with the
voltage of DAC channel 1. The trigger event can be any of the four settings.
ACTIVEX CALL
Long EDREADX.Configure (plong Channels, plong Gains, long ListSize)
Parameter Type Description
Channels Pointer to a
long
Gains Pointer to a
long
This is an array of longs that contains the channels to be sampled when scanning the ADC sub-system.
The max size of the channel list is half the FIFO depth.
The gain list contains an array of longs that specifies the setup for each channel according to the
previous list. The table below shows the format for each channel.
PCI 703 User Manual Eagle Technology - Data Acquisition
F3 F2 F1 F0 R3 R2 R1 R0 G7 G6 G5 G4 G3 G2 G1 G
ListSize Unsigned long This parameter determines the length the two previous arrays. This is also the depth of the channel list
that is programmed to the board.
The range code does not apply to the S models, for the are always differential and bipolar.
The Frequency and ClockSource ADC ActiveX control must be setup before calling the
configure function.
EDREADX.Frequency
Frequency The ADC sampling frequency
WARNING!!
î On the PCI703 the frequency is the
update rate of the A/D convert er. This
means that the board will convert the
channels at a period of equal to the
frequency and the channels in the
sequence of the channel list. The end
result is that the time between samples is
equal to 1/Frequency.
î The PCI703S-frequency relates to the
total sampling frequency. The effective
sampling frequency is the frequency
divided by the channel list length. The
channel-list holds all the channels that
need to be simultaneous-sampled-andholded. Thus the all channel in a set are
sampled at the same time but the space
between a set is the total sampling
frequency divided by the channel list
length. Also note that the sample -andhold counts as one channel. This reduces
the maximum frequency by one count
plus the channel list length. For example
the ma x for one channel is 200KHz.
Frequency Example:
Frequency = 200 000 Hz
Channel List Length = 10
Time = 5 uS
Time between channels = 5 uS
PCI703 PCI703S
Frequency = 200 000 Hz
Channel List Length = 10
Effective Frequency = 20 000 Hz
Time = 50 uS
Time between channels = 0 uS
Time between sets = 50 uS
PCI 703 User Manual Eagle Technology - Data Acquisition
Query Codes
This chapter explains query codes and their functions relating to the PCI703 series. It will
show examples of typical query codes that can make custom application allot easier to
develop and tailor made for the PCI703 boards. Please note that all examples or pseudo code
will show the API call and not the ActiveX call. Use the section below to translate between the
two different implementations.
How to use query codes
The appendix shows a list of query code that can be used. The function prototypes below
show how to implement a query code for both the EDR Enhanced API and Utility ActiveX
contr ol.
API Call
Long EDRE_Query (ulng Sn, ulng QueryCode, ulng Param)
Parameter Type Description
Sn Unsigned long Board’s serial number
QueryCode Unsigned long Query code. See appendix
Param Unsigned long Extra parameter.
Return Long Returned query code
Example:
ADUNREAD: This will tell you the number of available
samples.
ADBUSY: Is the ADC subsystem busy?
ActiveX Call
Long EDREUTLX.Query (long Code, long Param)
Parameter Type Description
Code Unsigned long Query code. See appendix
Param Unsigned long Extra parameter.
Return Long Returned query code
The above functions are used to execute query codes that can do a variety of functions. The
returned value will have the result of the query code. The query function can also execute
functions or changes settings of the driver system.
How to change the hardware FIFO depth
The hardware FIFO depth can be set with a single query call. This also relates to the interrupt
depth and data update rate. If sampling at maximum speed set this depth to max an d for
slower speeds, under a 1000 Hz to a lower level.
PSEUDO BEGIN
UI32 Sn=1000000001 /*32-bit unsigned integer - Serial Number*/
UI32 Depth=1000 /*32 -bit unsigned integer - FIFO Depth, Max is 4095*/
I32 Status /*32-bit integer*/
Status=EDRE_Query(Sn, ADIRQLEVEL /*Code 142*/,Depth)
If Status < 0 Then Error
PCI 703 User Manual Eagle Technology - Data Acquisition
5
5. Calibration
Calibrating the PCI703 is simple task. EDR Enhanced must be installed and the calibration
software. Both can be found on the Eagle Technology Software CD -Rom
(<EAGLECD>\EDRE\APPS \PCI700CAL\PCI700CALIBRATIONSOFTWARE.EXE). The latest
version will also be available on http://www.eagle.co.za.
PCI 703 User Manual Eagle Technology - Data Acquisition
A
A.Specifications
Maximum Transfer Bandwidth – PCI703/S
The ADC and DAC subsystems share a common data path to the FIFO module. This limits
the maximum data transfer between the FIFO’s, the appropriate device and across PCI. The
maximum bandwidth is 450 000 cycles per second.
Analog Input Characteristics – PCI703
Input Characteristics
Input Signal Ranges
Input Coupling
Maximum Working Voltage ± 11V relative to analog ground
Over Voltage Protection ± 25V when power is on, relative to analog ground
FIFO Buffer Size
Channel List Buffer Size
Data Transfer
Conversion Characteristics
Maximum Sampling Rate
Resolution 14 bits
Relative Accuracy ± 1 LSB max
Offset Error (Gain = 1) ± 0.4 mV max
Offset Error (Gain = 10) ± 0.6 mV max
Offset Error (Gain = 50) ± 0.1 mV max
Gain Error ± 0.02% of max reading
DC
± 35V when power is off, relative to analog ground
4096
Maximum 2048
Programmed I/O, Interrupts, BM DMA
Input Coupling
Input Impedance >1 GΩ , in parallel with 50 pF maximum
Bandwidth 120 KHz at ± 5V input voltage swing
Offset Voltage ± 500 uV
Gain Error ± 0.002% (Gain=1)
Maximum Safe Input Range ± 15V
Maximum Operating Input Range ± 5V
Sample and Hold Amplifier Characteristics (AD684)
Bandwidth 1 MHz at ± 5V input voltage swing
Hold Mode Offset Voltage ± 3 mV
Gain Error ± 0.05%
Programmable Gain Amplifier Characteristics
Bandwidth 600 KHz at ± 5V input voltage swing
Offset Voltage ± 200 uV
Gain Error ± 0.008%
Input Characteristics
Input Signal Ranges
Input Coupling
Maximum Working Voltage ± 10V relative to analog ground
Over Voltage Protection ± 25V when power is on, relative to analog ground
FIFO Buffer Size
Channel List Buffer Size
Data Transfer
DC
± 35V when power is off, relative to analog ground
4096
Maximum 2048
Programmed I/O, Interrupts, BM DMA
DC
Channel Gain Bipolar Range
0.50
1.00 ±
2.50
5.00
10.00
25.00
50.00 ± 50 mV
100.00
± 5V
2.5V
± 1V
± 500 mV
± 250 mV
±100 mV
± 25 mV
Conversion Characteristics
Maximum Sampling Rate
Resolution
Relative Accuracy ± 1 LSB max
Offset Error (Gain = 1) ± 0.4 mV max
Offset Error (Gain = 10) ± 0.6 mV max
Offset Error (Gain = 50) ± 0.1 mV max
Gain Error ± 0.02% of max reading
PCI 703 User Manual Eagle Technology - Data Acquisition
B
B.Configuration Constants
Query Codes
Please see the file <EAGLECD>\ EDRE\INCLUDE\QUERY.H for the latest query codes.
Error Codes
Please see the file <EAGLECD>\ EDRE\INCLUDE\ERRORS.H for the latest error codes.
Digital I/O Codes
DIOOUT 0 Port is an output.
DIOIN 1 Port is an input.
DIOINOROUT 2 Port can be configured as in or out.
DIOINANDOUT 3 Port is an input and an output.
Name Value Description
Analog Input Gain Codes – PCI703-16/32/64/A
GAIN 0.25 0
GAIN 0.50 1
GAIN 1.00 2
GAIN 2.50 3
GAIN 5.00 4
GAIN 10.0 5
GAIN 25.0 6
GAIN 50.0 7
Name Value Description
Gain of ¼ (±10V, NU)
Gain of ½ (±5V, 0-10V)
Gain of 1 (±2.5V, 0-5V)
Gain of 2.5 (±1V, 0-2V)
Gain 0f 5 (±500mV, 0-1V)
Gain of 10 (±250mV, 0-500mV)
Gain of 25 (±100mV, 0-200mV)
Gain of 50 (±50mV, 0-100mV)
Analog Input Gain Codes – PCI703S -8/16/A
GAIN 0.50 0
GAIN 1.00 1
GAIN 2.50 2
GAIN 5.00 3
GAIN 10.0 4
GAIN 25.0 5
GAIN 50.0 6
GAIN 100.0 7
Name Value Description
Gain of ½ (±5V)
Gain of 1 (±2.5V)
Gain of 2.5 (±1V)
Gain 0f 5 (±500mV)
Gain of 10 (±250mV)
Gain of 25 (±100mV,)
Gain of 50 (±50mV)
Gain of 100 (±25mV,)
Analog Input Range Codes – PCI703-16/32/64/A
*The range code does no apply to the S-models for they are always in differential bipolar
mode.
PCI 703 User Manual Eagle Technology - Data Acquisition
UNIPOLAR, SINGLE ENDED 0 Channel is single ended unipolar input.
BIPOLAR, SINGLE ENDED 1 Channel is single ended bipolar input.
UNIPOLAR, DIFFERENTIAL 2 Channel is differential unipolar input.
BIPOLAR, DIFFERENTIAL 3 Channel is differential bipolar input.
PCI 703 User Manual Eagle Technology - Data Acquisition
D
D.Ordering Information
For ordering information please contact Eagle Technology directly or visit our website
www.eagle.co.za. They can also be emailed at eagle@eagle.co.za.
PCI 703-16 16 Channel analog input board
PCI 703-16A 16 Channel analog input and 2 channel analog output board
PCI 703-32 32 Channel analog input board
PCI 703-32A 32 Channel analog input and 2 channel analog output board
PCI 703-64 64 Channel analog input board
PCI 703-64A 64 Channel analog input and 2 channel analog output board
PCI 703S-8 16 Channel sample-and-hold analog input board
PCI 703S-8A 16 Channel sample-and-hold analog input board and 2 channel analog
PCI 703S-16 16 Channel sample-and-hold analog input board
PCI 703S-16A 16 Channel sample-and-hold analog input board and 2 channel analog
Board Description
output board
output board
Table D-D -1 Ordering Information
Please visit our website to have a look at our wide variety of data acquisition products and
accessories.