ADLINK Technology NuDAQ PCI-9812 User manual

Type
User manual

This manual is also suitable for

Advance Technologies; Automate the World.
Manual Rev. 3.00
Revision Date: March 10, 2005
Part No: 51-11116-202
NuDAQ PCI-9812/10
20MHz Simultaneous 4-CH
Analog Input Card
User’s Manual
Copyright 2005 ADLINK TECHNOLOGY INC.
All Rights Reserved.
The information in this document is subject to change without prior
notice in order to improve reliability, design, and function and does
not represent a commitment on the part of the manufacturer.
In no event will the manufacturer be liable for direct, indirect,
special, incidental, or consequential damages arising out of the
use or inability to use the product or documentation, even if
advised of the possibility of such damages.
This document contains proprietary information protected by
copyright. All rights are reserved. No part of this manual may be
reproduced by any mechanical, electronic, or other means in any
form without prior written permission of the manufacturer.
Trademarks
NuDAQ, PCI-9812, DAQBench, PCIS-DASK are registered
trademarks of ADLINK Technology Inc. Other product names
mentioned herein are used for identification purposes only and
may be trademarks and/or registered trademarks of their
respective companies.
Getting Service from ADLINK
Customer Satisfaction is top priority for ADLINK Technology Inc.
Please contact us should you require any service or assistance.
ADLINK TECHNOLOGY INC.
Web Site: http://www.adlinktech.com
Sales & Service: [email protected]
TEL: +886-2-82265877
FAX: +886-2-82265717
Address: 9F, No. 166, Jian Yi Road, Chungho City,
Taipei, 235 Taiwan
Please email or FAX this completed service form for prompt and
satisfactory service.
Company Information
Company/Organization
Contact Person
E-mail Address
Address
Country
TEL FAX:
Web Site
Product Information
Product Model
Environment
OS:
M/B: CPU:
Chipset: BIOS:
Please give a detailed description of the problem(s):
Table of Contents i
Table of Contents
List of Tables.......................................................................... iv
List of Figures ......................................................................... v
1 Introduction ........................................................................ 1
1.1 Features............................................................................... 1
1.2 Applications ......................................................................... 1
1.3 Specifications....................................................................... 2
Analog Input (A/D) .......................................................... 2
Digital Input ..................................................................... 3
General Specifications .................................................... 3
1.4 Software Support ................................................................. 4
Programming Library ...................................................... 4
PCIS-LVIEW: LabVIEW® Driver .................................... 5
PCIS-VEE: HP-VEE Driver ............................................. 5
DAQBenchTM: ActiveX Controls .................................... 5
DASYLabTM PRO .......................................................... 6
2 Installation .......................................................................... 7
2.1 Checklist .............................................................................. 7
2.2 Unpacking............................................................................ 8
2.3 PCI-9812/10's Layout .......................................................... 9
2.4 Hardware Installation Outline............................................. 10
PCI configuration .......................................................... 10
PCI slot selection .......................................................... 10
Installation Instructions ................................................. 10
2.5 Device Installation for Windows Systems .......................... 11
3 Signal Connection............................................................ 13
3.1 Connectors ........................................................................ 13
3.2 Analog Input Impedance Setting........................................ 15
Analog Input ................................................................. 15
External Clock 0 ............................................................ 17
External Clock 1 ............................................................ 17
Digital Input ................................................................... 18
4 Registers........................................................................... 19
4.1 I/O Port Address ................................................................ 19
ii Table of Contents
4.2 ADC Channel Enable Register .......................................... 20
4.3 ADC Clock Divisor Register............................................... 21
4.4 Trigger Mode Register ....................................................... 22
4.5 Trigger Level Register........................................................ 23
4.6 Trigger Source Register..................................................... 24
4.7 Post Trigger Counter Register ........................................... 25
4.8 FIFO Status Register ......................................................... 26
4.9 FIFO Control Register........................................................ 27
4.10 Acquisition Enable Register ............................................... 28
4.11 Clock Source Register ....................................................... 28
4.12 High Level Programming ................................................... 29
4.13 Low Level Programming .................................................... 29
5 Operation Theory .............................................................. 31
5.1 A/D Conversion Procedure ................................................ 31
5.2 A/D Signal Source Control ................................................. 32
5.3 A/D Trigger Source Control................................................ 32
Trigger Sources ............................................................ 33
Simultaneous Trigger for Multiple Cards ...................... 34
Trigger Modes ............................................................... 35
5.4 A/D Clock Source Control.................................................. 37
A/D Clock Sources ........................................................ 37
Internal Pacer Clock ..................................................... 37
External Pacer Clock .................................................... 38
Multiple Cards Operation .............................................. 38
5.5 A/D Data Transfer .............................................................. 39
AD Data Transfer .......................................................... 39
Simultaneous Sampling of four AD Channels ............... 39
Total Data Throughput .................................................. 40
Maximum Acquiring Data Length .................................. 40
Bus-mastering Data Transfer ........................................ 41
Host Memory Operation ................................................ 41
Summary ...................................................................... 42
5.6 AD Data Format ................................................................. 43
6 C/C++ Library .................................................................... 45
6.1 Libraries Installation ........................................................... 45
6.2 Programming Guide........................................................... 45
Naming Convention ...................................................... 45
Data Types ................................................................... 46
Table of Contents iii
6.3 _9812_Initial ...................................................................... 47
6.4 _9812_Close...................................................................... 48
6.5 _9812_AD_DMA_Start ...................................................... 49
6.6 _9812_AD_DMA_Status.................................................... 51
6.7 _9812_AD_DMA_Stop ...................................................... 53
6.8 _9812_Set_Clk_Src........................................................... 54
6.9 _9812_Set_Clk_Rate......................................................... 55
6.10 _9812_Set_Trig ................................................................. 56
6.11 W_9812_Alloc_DMA_Mem................................................ 58
6.12 W_9812_Free_DMA_Mem ................................................ 59
6.13 W_9812_Get_Sample ....................................................... 60
7 Calibration......................................................................... 61
7.1 What you need................................................................... 61
7.2 VR Assignment .................................................................. 61
7.3 A/D Calibration................................................................... 62
AD Calibration for Channel 0 ........................................ 62
AD Calibration for Channels 1,2,3 ................................ 62
8 Software Utility ................................................................. 63
8.1 Running 9812util.exe ......................................................... 63
8.2 System Configuration ........................................................ 64
8.3 Calibration.......................................................................... 64
8.4 Functional Testing ............................................................. 66
Warranty Policy..................................................................... 69
iv List of Tables
List of Tables
Table 3-1: Pin-out of JP1 ......................................................... 14
Table 3-2: Pin-out of JP1 connected to 9-pin D-type
connector ................................................................ 14
Table 3-3: Analog Input ........................................................... 15
Table 3-4: Switches and Resistors .......................................... 17
Table 4-1: I/O Address ............................................................. 19
Table 4-2: Five Trigger Modes ................................................. 22
Table 4-3: Relationship between 8-bit trigger level
and trigger voltage .................................................. 23
Table 6-1: Data Types ............................................................. 46
Table 7-1: Functions of VRs .................................................... 61
Table 7-2: AD Calibration for Channels 1,2,3 .......................... 62
List of Figures v
List of Figures
Figure 2-1: PCB Layout of the PCI-9812/10 ................................ 9
Figure 3-1: Location of connectors ............................................ 13
Figure 5-1: Post-Trigger Acquisition .......................................... 35
Figure 5-2: Pre-Trigger Acquisition ............................................ 36
Figure 5-3: Middle-Trigger Acquisition ....................................... 36
Figure 5-4: Delay Trigger Acquisition......................................... 37
Figure 5-5: Block Diagram of PCI-9812 ..................................... 39
vi
Introduction 1
1 Introduction
PCI-9812/10 is an advanced performance data acquisition card
based on the 32-bit PCI Bus architecture. The maximum sampling
rate of PCI-9812/10 is up to 20M samples per second, with an
emphasis on continuous, non-stop, high-speed, and streaming of
A/D samples to host memory. The high performance design and
state-of-the-art technology makes this card ideal for DSP, FFT,
digital filtering, and image processing applications.
1.1 Features
PCI-9812 PCI Bus Advanced Data Acquisition Card is designed
with the following advanced features:
X 32-bit PCI-Bus, Bus Mastering DMA data transfer
X 12-bit (9812) or 10-bit (9810) analog input resolution
X Onboard 32K words (samples) A/D FIFO memory
X Up to 20MHz A/D sampling rate
X Four single-ended analog input channels
X Bipolar input signals
X Four A/D converters simultaneously sampling
X Five A/D trigger modes: software trigger, pre-trigger, Post-
trigger, middle trigger, and delay trigger
1.2 Applications
X IF and BASEBAND Digitization
X Ultrasound Imaging
X Gamma Cameras
X Test Instrument
X CCD Imaging
X Video Digitizing
2Introduction
1.3 Specifications
Analog Input (A/D)
X Converters: B.B. ADS800 series
X Input Channels: four single-ended
X Resolution: 12-bit (9812), 10-bit (9810)
X Input Range: Bipolar: ±1V, or ±5V by soldering selection
X Over Voltage Protection:
Z Bipolar ±2V, or ±10V regarding the input range
X Max. Sampling Rate: 20MHz samples/sec
X Accuracy: Gain Error ±1.5% at 25°C
X Input Impedance of Analog Input: (soldering selectable)
Z 50 (±1V and ±5V)
Z 1.25K (±5V only)
Z 15M (±1V only)
X Dynamic Characteristic:
Z Differential Linearity Error: ±0.4 LSB (Typ.) ±1.0 LSB
(Max.) at 25
°C
Z Integral Linearity Error: ±1.9 LSB at 25°C
X A/D Clock Sources:
Z Internal clock, Continuous external digital clock and
Note: For single channel enabled, the maximum sampling
rate is 20MHz. For two channels enabled, the 20MHz
sampling rate can be reached only when the number
of samples accessed for each channel is smaller than
16K. For four channels enabled, the 20MHz sampling
rate can be reached only when the number of samples
accessed for each channel is smaller than 8K. Please
refer to section 5.5 for more information on sampling
rate and data length limitation.
Introduction 3
Continuous external sine wave.
X Input Impedance of External Clock Source: 50
X Trigger Sources:
Z Software, Analog threshold comparator using internal D/
A to set trigger level, and External digital trigger
X Trigger Modes:
Z Software-trigger, Pre-trigger, Post-trigger, Middle-trigger,
and Delay-trigger
X AD Data Transfer Method: DMA (Bus mastering)
Digital Input
X Number of channels:
Z Three TTL compatible inputs with 10K pull down
resistor
X Input Voltage:
Z Low: Min. 0V; Max. 0.8V
Z High: Min. +2.0V Max. 5.5V
Input Load:
Z Low: ±1uA @0V
Z 0.5mA@ 5V
Z High: +2.7V min.@20mA max.
General Specifications
X Connectors: 5 BNC-type, one 10-pin header
X Operating Temperature: 0°C to 40°C
X Storage Temperature: -20°C to 80°C
X Humidity: 5 to 85%, non-condensing
X Power Consumption: +5V @ 2.5A (maximum)
X Dimension: 101mm(H) X 173mm(L)
4Introduction
1.4 Software Support
ADLINK provides versatile software drivers and packages for
users’ different approach to building a system. ADLINK not only
provides programming libraries such as DLL for most Windows
based systems, but also provide drivers for many software
packages such as LabVIEW®, HP VEETM, DASYLabTM,
InTouchTM, InControlTM, and ISaGRAFTM.
All software options are included in the ADLINK CD. Some
software drivers are protected by licensing codes. Without the
software code, the demo version can still be installed and used for
two hours for trial/demonstration purposes. Please contact
ADLINK dealers to purchase the formal license.
Programming Library
For customers writing their own programs, we provide function
libraries for many different operating systems, including:
DOS Library:
Borland C/C++ and Microsoft C++, the functions descriptions
are included in this user’s guide.
Windows 95 DLL:
For VB, VC++, Delphi, and BC5 the functions descriptions are
included in this user’s guide.
PCIS-DASK:
Include device drivers and DLL for Windows 98, Windows NT
and Windows 2000. DLL is binary compatible across Windows
98, Windows NT, and Windows 2000. That means all
applications developed with PCIS-DASK are compatible across
Windows 98, Windows NT, and Windows 2000. The developing
environment can be VB, VC++, Delphi, BC5, or any Windows
programming language that allows calls to a DLL. The user’s
guide and function reference manual of PCIS-DASK are in the
CD. (\\Manual_PDF\Software\PCIS-DASK)
Introduction 5
PCIS-DASK/X:
Include device drivers and shared library for Linux. The
developing environment can be Gnu C/C++ or any
programming language that allows linking to a shared library.
The user's guide and function reference manual of PCIS-
DASK/X are in the CD. (\Manual_PDF\Software\PCIS-DASK-
X.)
The software drivers above are shipped with the board. Please
refer to the “Software Installation Guide” to install these drivers.
PCIS-LVIEW: LabVIEW® Driver
PCIS-LVIEW contains the VIs which are used to interface with NI’s
PCIS-LVIEW, which contains the VIs, which are used to interface
with NI’s LabVIEW® software package. PCIS-LVIEW supports
Windows 95/98/NT/2000. The LabVIEW® driver is shipped free
with the board. These can be installed and used without a license.
For more information on PCIS-LVIEW, please refer to the user’s
guide in the CD (\\Manual_PDF\Software\PCIS-LVIEW).
PCIS-VEE: HP-VEE Driver
The PCIS-VEE includes user objects, which are used to interface
with HP VEE software package. PCIS-VEE supports Windows 95/
98/NT. The HP-VEE drivers are free shipped with the board.
These can be installed and used without license. For more
information on PCIS-VEE, please refer to the user’s guide in the
CD (\\Manual_PDF\Software\PCIS-VEE).
DAQBenchTM: ActiveX Controls
For customers who are familiar with ActiveX controls and VB/
VC++ programming, it is recommended that they use the
DAQBenchTM ActiveX Control components library for developing
applications. The DAQBenchTM is designed under Windows NT/
98. For more information on DAQBench, please refer to the user’s
guide in the CD (\\Manual_PDF\Software\DAQBench\DAQBench
Manual.PDF).
6Introduction
DASYLabTM PRO
DASYLab is an easy-to-use software package, providing easy-
setup instrument functions such as FFT analysis. Please contact
ADLINK for DASYLab PRO, which includes DASYLab and
ADLINK hardware drivers.
Installation 7
2 Installation
PCI-9812/10 will perform an automatic configuration of the IRQ
and I/O port address. There is no need to set any configuration,
as you would use in an ISA form factor DAS card. For system
reliability, it is necessary to manually assign some critical settings
for analog input and output, as these settings will not be changed
after your data acquisition system configuration is decided. The
configuration cannot be changed using only the software package
when your system is running.
Please follow the steps below to install the PCI-9812/10 products.
X Go through the checklist (section 2.1)
X Unpacking (section 2.2)
X Check the PCB (section 2.3)
X Install the hardware (section 2.4)
2.1 Checklist
In addition to this User's Guide, the package includes the following
items:
X PCI-9812/10 Enhanced Multi-function Data Acquisition
Card
X Five BNC terminators
X ADLINK All-in-one CD
X Software Installation Guide
If any of these items are missing or damaged, contact the dealer
from whom this product was purchased. Save the shipping
materials and carton for future shipping or storage.
8Installation
2.2 Unpacking
Your PCI-9812/10 card contains electro-static sensitive
components that can easily be damaged by static electricity.
The card should be handled on a grounded anti-static mat. The
operator should be wearing an anti-static wristband, grounded at
the same point as the anti-static mat.
Inspect the card module carton for obvious damages. Shipping
and handling may cause damage to your module. Be sure there
are no shipping and handling damages on the modules carton
before continuing.
After opening the card module carton, extract the system module
and place it only on a grounded anti-static surface with component
side up.
Again, inspect the module for damages. Press down on all the
socketed IC's to make sure they are properly seated. Do this only
with the module placed on a flat firm surface.
You are now ready to install your card.
Note: Do not attempt to install a damaged board onto the
computer.
Installation 9
2.3 PCI-9812/10's Layout
Figure 2-1: PCB Layout of the PCI-9812/10
10 Installation
2.4 Hardware Installation Outline
PCI configuration
The PCI cards (or CompactPCI cards) are equipped with a Plug
and Play PCI controller, it can request base addresses and
interrupt according to PCI standard. The system BIOS will install
the system resource based on the PCI cards’ configuration
registers and system parameters (which are set by system BIOS).
Interrupt assignment and memory usage (I/O port locations) of the
PCI cards can be assigned by system BIOS only. These system
resource assignments are done on a board-by-board basis. It is
not recommended to assign the system resource by any other
methods.
PCI slot selection
The PCI card can be inserted to any PCI slot without any
configuration for system resource. Please note that the PCI
system board and slot must provide bus-mastering capability to
operate this board well.
Installation Instructions
1. Turn off your computer
2. Turn off all accessories (printer, modem, monitor, etc.)
connected to your computer.
3. Remove the cover from your computer.
4. Setup jumpers on the PCI or CompactPCI card.
5. Select a 32-bit PCI slot. PCI slot are short than ISA or
EISA slots, and are usually white or ivory.
6. Before handling the PCI cards, discharge any static
buildup on your body by touching the metal case of the
computer. Hold the edge and do not touch the
components.
7. Position the board into the PCI slot selected.
8. Secure the card in place at the rear panel of the system.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80

ADLINK Technology NuDAQ PCI-9812 User manual

Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI