NuDAQ PCI- 9113A User manual

NuDAQ
PCI-9113A
32 Channels Isolated
Analog Input Card
User’s Guide


@Copyright 2000 ADLINK Technology Inc.
All Rights Reserved.
Manual Rev. 1.02: April 7, 2000
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,orconsequentialdamagesarisingoutoftheuseorinabilityto
use the product or documentation, even if advised of the possibility of
such damages.
This document contains proprietary information protected by copyright.
Allrightsarereserved.Nopartofthismanual may be reproduced by any
mechanical, electronic, or other means in any form without prior written
permission of the manufacturer.
Trademarks
NuDAQ, NuIPC, NuDAM, NuPROare 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.

Gettingservice fromADLINK
♦Customer Satisfaction is always the most important thing for ADLINK
Tech Inc. If you need any help or service, please contact us and get it.
ADLINK Technology Inc.
Web Site http://www.ADLINK.com.tw
Technical NuDAQ [email protected]
Support NuDAM [email protected]
TEL +886-2-82265877 FAX +886-2-82265717
Address 9F, No. 166, Jian Yi Road, Chungho City, Taipei, 235 Taiwan, R.O.C.
♦Please inform or FAX us of your detailed information for a prompt,
satisfactory and constant service.
Detailed Company Information
Company/Organization
Contact Person
E-mail Address
Address
Country
TEL FAX
Web Site Questions
Product Model
¨OS:
¨Computer Brand:
Environment to Use
¨M/B: ¨CPU:
¨Chipset: ¨Bios:
¨Video Card:
¨Network Interface Card:
¨Other:
Challenge Description
Suggestions for ADLINK

Contents
•
i
Contents
How to Use This Manual.........................................v
Chapter 1 Introduction.......................................... 1
1.1 Features..........................................................................2
1.2 Applications....................................................................2
1.3 Specifications.................................................................3
1.4 Software Supporting.......................................................4
1.4.1 Programming Library..................................................................4
1.4.2 PCIS-LVIEW: LabVIEW®Driver...............................................4
1.4.3 PCIS-VEE: HP-VEE Driver.........................................................5
1.4.4 DAQBenchTM: ActiveX Controls...............................................5
1.4.5 DASYLabTM PRO...........................................................................5
1.4.6 PCIS-DDE: DDE Server and InTouchTM.................................5
1.4.7 PCIS-ISG: ISaGRAFTM driver.....................................................5
1.4.8 PCIS-ICL: InControlTM Driver.....................................................5
1.4.9 PCIS-OPC: OPC Server..............................................................5
Chapter 2 Installation............................................ 7
2.1 What You Have ...............................................................7
2.2 Unpacking.......................................................................7
2.3 Hardware Installation......................................................8
2.4 Device Installation for Windows Systems........................9
2.5 PCI-9113A's Layout..........................................................9
2.6 Jumper Settings............................................................10
2.6.1 Analog Signal Input Type Selection.......................................10
2.6.2 Polarity Selection Jumper........................................................10
2.6.3 Full Range Jumper.....................................................................10
2.6.4 Possible AD Input Range Configurations ............................11
2.6.5 Binary/2’s Complement Coding Selection Jumper............11
Chapter 3 Signal Connections............................13
3.1 Connectors’ Pin Assignment .........................................13
3.2 Analog Input Signal Connection...................................15
3.3 Daughter Board Connection..........................................16

ii
•
Contents
3.3.1 Connect with ACLD-9881........................................................16
3.3.2 Connect with ACLD-9137........................................................16
3.3.3 Connect with ACLD-9188........................................................16
Chapter 4 Registers Format ...............................17
4.1 PCI PnP Registers.........................................................17
4.2 I/O Address Map............................................................18
4.3 A/D Data Registers........................................................18
4.4 A/D Channel Control Register.......................................19
4.5 A/D Input Signal Range Control Register......................19
4.6 A/D Status Readback Register.......................................20
4.7 A/D Trigger Mode Control Register...............................20
4.8 Software Trigger Register.............................................21
4.9 Interrupt Control and Readback Register......................21
4.10 Hardware Interrupt Clear Register................................21
4.11 A/D Data and Channel Number Registers......................22
Chapter 5 Operation Theorem............................23
5.1 A/D Conversion .............................................................23
5.1.1 A/D Conversion Procedure.....................................................24
5.1.2 A/D Signal Source Control.......................................................24
5.1.3 A/D Trigger Source Control.....................................................27
5.1.4 A/D Data Transfer Modes........................................................27
5.1.5 A/D Data Format.........................................................................31
5.2 Interrupt Control............................................................32
5.2.1 System Architecture.................................................................32
5.2.2 IRQ Level Setting........................................................................33
5.2.3 Dual Interrupt System...............................................................33
5.2.4 Interrupt Source Control..........................................................33
5.3 Timer/Counter Operation..............................................35
5.3.1 Introduction..................................................................................35
5.3.2 Pacer Trigger Source................................................................35
Chapter 6 C/C++ Library ......................................37
6.1 Libraries Installation....................................................37
6.2 Programming Guide .....................................................38
6.2.1 Naming Convention...................................................................38
6.2.2 Data Types...................................................................................38
6.3 _9113_Initial..................................................................39
6.4 _9113_Software_Reset..................................................39

Contents
•
iii
6.5 _9113_AD_Read_Data....................................................40
6.6 _9113_AD_Read_Data_Repeat.......................................40
6.7 _9113_AD_Read_Data_MUX...........................................41
6.8 _9113_AD_Read_Data_Repeat_MUX..............................42
6.9 _9113_AD_Set_Channel.................................................43
6.10 _9113_AD_Set_Range....................................................45
6.11 _9113_AD_Get_Range ...................................................46
6.12 _9113_AD_Get_Status....................................................46
6.13 _9113_AD_Set_Mode .....................................................47
6.14 _9113_AD_Get_Mode.....................................................48
6.15 _9113_INT_Set_Reg.......................................................49
6.16 _9113_AD_Get_Reg.......................................................49
6.17 _9113_Reset_FIFO.........................................................50
6.18 _9113_AD_Soft_Trigger.................................................50
6.19 _9113_Set_8254.............................................................51
6.20 _9113_Get_8254.............................................................53
6.21 _9113_AD_Timer............................................................53
6.22 _9113_Counter_Start .....................................................54
6.23 _9113_Counter_Read.....................................................55
6.24 _9113_Counter_Stop......................................................55
6.25 _9113_INT_Source_Control............................................56
6.26 _9113_CLR_IRQ.............................................................57
6.27 _9113_Get_IRQ_Channel...............................................58
6.28 _9113_Get_IRQ_Status...................................................58
6.29 _9113_AD_FFHF_Polling................................................59
6.30 _9113_AD_FFHF_Polling_MUX.......................................60
6.31 _9113_AD_Aquire ..........................................................60
6.32 _9113_AD_Aquire_MUX .................................................61
6.33 _9113_AD_INT_Start ......................................................62
6.34 _9113_AD_FFHF_INT_Start ............................................64
6.35 _9113_AD_INT_Status....................................................65
6.36 _9113_AD_FFHF_INT_Status..........................................66
6.37 _9113_AD_FFHF_INT_Restart.........................................67
6.38 _9113_AD_INT_Stop.......................................................67
Chapter 7 Calibration & Utilities........................69
7.1 Calibration....................................................................69
7.1.1 VR Assignment..........................................................................70
7.1.2 A/D Adjustment..........................................................................70

iv
•
Contents
7.1.3 Software A/D Offset Calibration.............................................71
7.2 Utilities..........................................................................71
7.2.1 9113UTIL......................................................................................71
7.2.2 I_EEPROM ...................................................................................75
Product Warranty/Service....................................77

How to Use This Manual
•
v
How to Use This Manual
This manual is designed to help you to use the PCI-9113A. The manual
describes the versatile functions and the operation theorem of the
PCI-9113A. It is divided into six chapters:
•Chapter 1, "Introduction," gives an overview of the product features,
applications, and specifications.
•Chapter 2, "Installation," describes how to install the PCI-9113A.
The layout of PCI-9113A, including the positions of jumpers and
connectors, is shown
•Chapter 3, "Signal Connection," describes the connectors’pin
assignment and connection between outside signals or devices
and PCI-9113A.
•Chapter 4, "Registers’Format," describes the details of registers’
format and structure of PCI-9113A, this information is important for
the programmers who want to control the hardware by low-level
programming.
•Chapter 5, "Operation Theorem" describes how to operate
PCI-9113A. The A/D, timer/counter, and some programming
concepts are introduced.
•Chapter 6, "C/C++ Software Library" describes high-level
programming interface in C/C++ language. It helps programmer to
control PCI-9113A in high level language.
•Chapter 7, "Calibration & Utility," describes how to calibrate the
•Chapter 8, "Software Utility," describes how to use the utility
programs included in the software CD.


Introduction
•
1
1
Introduction
The PCI-9113A is an advanced data acquisition add-on card based on
32-bit PCI Bus architecture. High performance designs and the
state-of-the-art technology make this card ideal for data logging and
signal analysis applications in medical, process control, and etc.
Theoutstanding featureof PCI-9113A is that high-speed isolated photo
couplers are used between all signal lines of digital and analog
converter.ItcanprotectyourPC,andperipheralsfromdamageduetothe
high voltages on the analog inputs. The block diagram of PCI-9113A is
shown below.
ControlLogic
PCI Bus
Controller
Boot
EPROM
1K
A/D FIFO
12 Bit
A/D Converter
(ADS774)
Isolated DC/DC
Converter
+15
32-CH Single-ended or
16-CH Differential
Analog MUX
CH 0
CH 1
CH 2 .
.
.
CH 31
Isolation
PGA
(Analog Input)
32-bit PCI Local Bus

2
•
Introduction
1.1 Features
The PCI-9113A PCI Bus Data Acquisition Card provides the following
advanced features:
•32-bit PCI-Bus, Plug and Play
•32-CH single-ended or 16-CH differential 12-bit analog inputs
•Isolation voltage: 2500Vrms
•Programmable gain of 1, 10, 100
•Sampling rate up to 100KHz
•Trigger mode: software trigger, timer pacer
•On-board A/D 1K WORDS FIFO memory
•Auto-scanning channel selection
•Input impedance: 10M Ω
•Analog input voltage protection: 70 voltage (peak-to-peak)
•Compact size: half-size PCB
•Integral 3000VDC Isolation DC to DC converters for stable power
sources
•DB-37 connector, pin assignment is fully compatible with
ACL-8113, and PCI-9113
1.2 Applications
•Industrial process control
•Transducer, thermocouple, RTD
•Power monitor
•Medical instrument
•Biomedical measurement
•Ground loop elimination

Introduction
•
3
1.3 Specifications
♦Analog Input (A/D)
•Converter: B.B. ADS774 or equivalent, successive
approximation type
•Resolution: 12-bit
•Input channels: 32 single-ended or 16 differential input
•Isolated photo coupler: PC410
Isolation voltage rated continuous: 2,500Vrms
Instantaneous common mode rejection: 500V/us typically
•Analog Input Range: (Softwarecontrolled,andjumperselection)
Bipolar: ±10V, ±1V , ±0.1V or ±5V, ±0.5V, ±0.05V
Unipolar: 0~10V, 0~1V, 0~0.1V
•Throughput: 100K samples/sec.
•Over-voltage Protection: Continuous ±35V maximum
•Accuracy: 0.015% of reading±1 bit
•Input Impedance: 10 MΩ
•Trigger Mode: Software and Pacer
•Data Transfer: Pooling, Interrupt, FIFO half-full interrupt
•FIFO dEPTH: 1024 samples
♦General Specifications
•Connector: 37-pin D-type connector
•Operating Temperature: 0°C ~ 55°C
•Storage Temperature: -20°C ~ 80°C
•Humidity: 5 ~ 95%, non-condensing
•Power Consumption: +5 V @ 960mA (max.)
•Dimension: 173mm (L) x 102mm (H)

4
•
Introduction
1.4 Software Supporting
ADLink provides versatile software drivers and packages for users’
different approach to built-up a system. We not only provide
programming library such as DLL for many Windows systems, but also
providedriversformanysoftwarepackagesuchasLabVIEW®,HPVEETM,
DASYLabTM, InTouchTM, InControlTM, ISaGRAFTM, and so on.
All the software options are included in the ADLink CD. The non-free
software drivers are protected with serial licensed code. Without the
software serial number, you can still install them and run the demo
version for two hours for demonstration purpose. Please contact with
your dealer to purchase the formal license serial code.
1.4.1 Programming Library
For customers who are writing their own programs, we provide function
libraries for many different operating systems, including:
uDOS Library: Borland C/C++ and Microsoft C++, the functions
descriptions are included in this user’s guide.
uWindows 95 DLL: For VB, VC++, Delphi, BC5, the functions
descriptions are included in this user’s guide.
uPCIS-DASK: Include device drivers and DLL for Windows 98,
WindowsNTandWindows2000.DLL is binary compatible across
Windows 98, Windows NT and Windows 2000. That means all
applications developedwith 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.
Please refer the PDF manual files under
\\Manual_PDF\Software\PCIS-DASK
The above software drivers are shipped with the board. Please refer to
the “Software Installation Guide” to install these drivers.
1.4.2 PCIS-LVIEW: LabVIEW®Driver
PCIS-LVIEW contains the VIs, which are used to interface with NI’s
LabVIEW®software package. The PCIS-LVIEW supports Windows
95/98/NT/2000. The LabVIEW®drivers are free shipped with the board.
You can install and use them without license. For detail information
about PCIS-LVIEW, please refer to the user’s guide in the CD.
(\\Manual_PDF\Software\PCIS-LVIEW)

Introduction
•
5
1.4.3 PCIS-VEE: HP-VEE Driver
ThePCIS-VEEincludes theuserobjects, whichare usedtointerface with
HPVEEsoftware package. PCIS-VEE supports Windows 95/98/NT. The
HP-VEE drivers are free shipped with the board. You can install and use
them without license. For detail information about PCIS-VEE, please
refer to the user’s guide in the CD.
(\\Manual_PDF\Software\PCIS-VEE)
1.4.4 DAQBenchTM: ActiveX Controls
We suggest the customers who are familiar with ActiveX controls and
VB/VC++ programming use the DAQBenchTM ActiveX Control
components library for developing applications. The DAQBenchTM is
designed under Windows NT/98. For more detailed information about
DAQBench, please refer to the user’s guide in the CD.
(\\Manual_PDF\Software\DAQBench\DAQBench Manual.PDF)
1.4.5 DASYLabTM PRO
DASYLab is an easy-to-use software package, which provides
easy-setup instrument functions such as FFT analysis. Please contact
us to get DASYLab PRO, which include DASYLab and ADLink hardware
drivers.
1.4.6 PCIS-DDE: DDE Server and InTouchTM
DDE stands for Dynamic Data Exchange specifications. The PCIS-DDE
includesthePCIcards’DDEserver. ThePCIS-DDE server is included in
the ADLINK CD. It needs license. The DDE server can be used
conjunction with any DDE client under Windows NT.
1.4.7 PCIS-ISG: ISaGRAFTM driver
The ISaGRAF WorkBench is an IEC1131-3 SoftPLC control program
development environment. The PCIS-ISG includes ADLink products’
target drivers for ISaGRAF under Windows NT environment. The
PCIS-ISG is included in the ADLINK CD. It needs license.
1.4.8 PCIS-ICL: InControlTM Driver
PCIS-ICL is the InControl driver which support the Windows NT. The
PCIS-ICL is included in the ADLINK CD. It needs license.
1.4.9 PCIS-OPC: OPC Server
PCIS-OPC is an OPC Server, which can link with the OPC clients. There
are many software packages on the market can provide the OPC clients

6
•
Introduction
now. The PCIS-OPC supports the Windows NT. It needs license.

Installation
•
7
2
Installation
ThischapterdescribeshowtoinstallthePCI-9113A. The contents in the
package and unpacking information are described.
2.1 What You Have
In addition to this User's Manual, the package includes the following
items:
•PCI-9113A Data Acquisition Card
•ADLINK CD
•Software Installation Guide
If any of these items is missing or damaged, contact the dealer from
whom you purchased the product. Save the shipping materials and
carton in case you want to ship or store the product in the future.
2.2 Unpacking
YourPCI-9113A card contains sensitive electronic components that can
be easily damaged by static electricity.
The card should be done on a grounded anti-static mat. The operator
shouldbe wearingan anti-static wristband, grounded at the same point
as the anti-static mat.

8
•
Installation
Inspect the card module carton for obvious damage. Shipping and
handling may cause damage to your module. Be sure there are no
shipping and handing damages on the module before processing.
After opening the card module carton, extract the system module and
place it only on a grounded anti-static surface component side up.
Again inspect the module for damage. Press down on all the socketed
IC's to make sure that they are properly seated. Do this only with the
module place on a firm flat surface.
Note: DO NOT APPLY POWER TO THE CARD IF IT HAS BEEN
DAMAGED.
You are now ready to install your PCI-9113A.
2.3 Hardware Installation
Hardware configuration
The PCI cards (or CompactPCI cards) are equipped with plug and play
PCI controller, it can requests base addresses and interrupt according
toPCIstandard.ThesystemBIOSwillinstallthesystemresource based
onthePCI cards’configurationregistersand systemparameters(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.
Thesesystemresourceassignmentis doneonaboard-by-board basis.
Itis notsuggested to assignthe systemresource by anyother methods.
PCI slot selection
ThePCIcardcanbe insertedto anyPCIslotwithoutanyconfigurationfor
system resource.
Installation Procedures
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

Installation
•
9
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 you selected.
8. Secure the card in place at the rear panel of the system.
2.4 Device Installation for Windows Systems
Once Windows 95/98/2000 has started, the Plug and Play function of
Windowssystem willfindthenewNuDAQ/NuIPCcards.If this is the first
timetoinstallNuDAQ/NuIPCcards in your Windows system, you will be
informed to input the device information source. Please refer to the
“Software Installation Guide” for the steps of installing the device.
2.5 PCI-9113A's Layout
Figure 2.1 PCB Layout of the PCI-9113A
JP5 VR1
PCI
Controller
VR2VR3VR4
JP3 JP2 JP4
JP1
CN1
DC/DC
Converter
DC/DC
Converter
32-CH
R/CFilter Isolation
PGA ADC
FIFO FIFO
MUXMUX
TMRCNTR
Boot
ROM

10
•
Installation
2.6 Jumper Settings
2.6.1 Analog Signal Input Type Selection
JP5 is the selection jumper of analog signal input type. The following
diagram shows the two possible configurations.
JP5 Single-Ended Input (Default)
JP5 Differential Input
2.6.2 Polarity Selection Jumper
JP2 is the polarity selection jumper. The following diagram shows the
two configurations.
JP2 Uni-polar input (Default)
JP2 Bi-polar input
2.6.3 Full Range Jumper
JP3 set the full range of the analog input channels. The following
diagram shows the possible configurations.
JP3 20V Full Range (Default)
JP3 10V Full Range
Table of contents
Other NuDAQ PCI Card manuals
Popular PCI Card manuals by other brands

Wistron NeWeb
Wistron NeWeb DNMA-91 user manual

Synway
Synway DST Series Hardware manual

KAIOMY
KAIOMY WA-54P Pro user manual

Acces I/O products
Acces I/O products mPCIe-ICM485 Series Hardware manual

Addonics Technologies
Addonics Technologies AD2SA3GPX1 user guide

Compaq
Compaq iPAQ Networking 10/100 Fast Internet PCI... troubleshooting guide