NuDAQ ACL-8111 User manual

NuDAQ®
ACL-8111
16-bit High Resolution
Data Acquisition Card
User’s Guide
Recycled Paper


©Copyright 1995~2001 ADLINK Technology Inc;
All Rights Reserved.
Manual Rev. 2.60: April 28, 2003
Part No: 50-11010-102
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 is a registered trademark 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 the most important priority for ADLINK Tech Inc. If
you need any help or service, please contact us.
ADLINK Technology Inc.
Web Site http://www.adlinktech.com
Technical
Support
TEL +886-2-82265877 FAX +886-2-82265717
Address 9F, No. 166, Jian Yi Road, Chungho City, Taipei, 235 Taiwan.
Please email 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
Environment to Use
OS:
Computer Brand:
M/B: CPU:
Chipset: BIOS:
Video Card:
Network Interface Card:
Other:
Detail Description
Suggestions to ADLINK

Table of Contents •i
Table of Contents
Chapter 1 Introduction ..................................................... 1
1.1 Features .................................................................................2
1.2 Applications............................................................................3
1.3 Specifications .........................................................................4
1.4 Software Supporting ..............................................................7
1.4.1 ACLS-DLL2 .........................................................................7
1.4.2 ACLS-LVIEW.......................................................................7
Chapter 2 Installation ....................................................... 8
2.1 Unpacking ..............................................................................9
2.2 What You Have......................................................................9
2.3 PCB Layout..........................................................................10
2.4 Base Address Setting ..........................................................11
2.5 D/A Reference Voltage Setting ............................................13
2.6 Connectors Pin Assignments...............................................14
2.7 Daughter Board Connection ................................................16
2.7.1 Connect with ACLD-9137 ..................................................16
2.7.2 Connect with ACLD-9182 ..................................................16
2.7.3 Connect with ACLD-9185 ..................................................16
2.7.4 Connect with ACLD-9188 ..................................................17
Chapter 3 Registers Format .......................................... 18
3.1 Registers Address Map........................................................18
3.2 A/D Data Registers ..............................................................19
3.3 A/D Channel Multiplexer Register........................................20
3.4 A/D Input Range Control Register .......................................21
3.5 Mode and Interrupt Control Register ...................................22
3.6 Interrupt Status Register ......................................................23
3.7 Software Trigger Register ....................................................23
3.8 Digital I/O register ................................................................24
3.9 D/A Output Register.............................................................24

ii •Table of Contents
Chapter 4 Operation Theorem ....................................... 26
4.1 A/D Conversion....................................................................26
4.1.1 A/D Conversion Procedure................................................27
4.1.2 A/D Clock Sources (Trigger Modes)..................................27
4.1.3 A/D Data Transfer Modes..................................................29
4.2 D/A Conversion....................................................................30
4.3 Digital Input and Output .......................................................32
Chapter 5 C/C++ Library for DOS .................................. 33
5.1 DOS Software Library Installation........................................34
5.1.1 Installation .........................................................................34
5.1.2 Running Utility ...................................................................34
5.1.3 Example Programs............................................................34
5.2 _8111_Initial.........................................................................35
5.3 _8111_Switch_Card_No ......................................................36
5.4 _8111_DI..............................................................................37
5.5 _8111_DI _Channel .............................................................38
5.6 _8111_DO............................................................................39
5.7 _8111_DA ............................................................................40
5.8 _8111_AD_Set_Channel .....................................................41
5.9 _8111_AD_Set_Gain ...........................................................42
5.10 _8111_AD_Set_Mode..........................................................43
5.11 _8111_AD_Soft_Trig ...........................................................44
5.12 _8111_AD_Aquire................................................................45
5.13 _8111_CLR_IRQ .................................................................46
5.14 _8111_AD_INT_Start...........................................................47
5.15 _8111_AD_INT_Status ........................................................48
5.16 _8111_AD_INT_Stop...........................................................48
5.17 _8111_AD_Timer.................................................................49
Chappter 6 Calibration ................................................... 50
6.1 What do you need................................................................50
6.2 VR Assignments...................................................................51
6.3 D/A Calibration.....................................................................51
6.4 A/D Calibration.....................................................................52
Appendix A. Demo. Programs....................................... 53
Warranty Policy .................... Error! Bookmark not defined.

Introduction •1
1
Introduction
The ACL-8111 is a multi-function, high performance, and general-purpose
data acquisition card for the IBM Personal Computer and compatible
computers. The registers map is fully compatible with PCL-711B.
The ACL-8111 is designed to combine all the data acquisition functions, such
A/D, D/A, D/O, and D/I in a single board, The high-end specifications of the
card makes it ideal for wide range of applications in industrial and laboratory
automation.

2 •Introduction
1.1 Features
The ACL-8111 Enhanced Multi-function Data Acquisition Card provides the
following advanced features:
•8 single-ended 12-bit analog input channels
•On-chip sample & hold
•Variable input range: ±5V, ±2.5V, ±1.25V, ±0.625V, and ±0.3125V
•One 12-bit monolithic multiplying analog output channel
•16 digital output channels
•16 digital input channels
•Three A/D trigger modes: Software trigger, Programmable pacer and
external trigger
•Programmable IRQ level for A/D data transfer
•Rugged 37-pin D-sub connector
•Compact size PCB

Introduction •3
1.2 Applications
•Industrial and laboratory ON/OFF control
•Energy management
•Annunciation
•16 TTL/DTL compatible digital input channels
•Security controller
•Product test
•Period and pulse width measurement
•Event and frequency counting
•Waveform and pulse generation

4 •Introduction
1.3 Specifications
♦Analog Input (A/D)
•Converter: ADS-774 or equivalent one, successive approximation
type
•Resolution: 12-bit
•Number of channels: 8 single-ended
•Programmable Gain: 1, 2, 4, 8, 16 (programmable)
•Input Range: (programmable)
Bipolar: ±5V, ±2.5V, ±1.25V, ±0.625V, and ±0.3125V
•Conversion Time: 8 µsec
•Maximum Sampling Rate: ≤50KHz
•Over-voltage protection: Continuous ±35V maximum
•Accuracy: 0.015% of reading ±1 Bit LSB
•Input Impedance: 10 MΩ
•AD Clock Sources (trigger modes): Software trigger, internal timer
pacer, and external pulse trigger
•Data Transfer Modes: Polling and Interrupt
♦Analog Output (D/A)
•Converter: DAC7548 or equivalent, monolithic multiplying
•Number of channel: 1 double-buffered analog outputs
•Resolution: 12-bit
•Output Range:
Internal reference: (unipolar) 0~5V or 0~10V
External reference: (unipolar) max. +10V or -10V
•Settling Time: 30 µsec
•Linearity: ±1/2 bit LSB
•Output driving capability: ±5mA max.

Introduction •5
♦Digital I/O (DIO)
•Number of channel: 16 DI & 16 DO (TTL compatible)
•Input Voltage:
•Low: Min. 0V; Max. 0.8V
•High: Min. +2.0V
•Input Load:
•Low: +0.5V @ -0.2mA max.
•High: +2.7V @+20 uA max.
•Output Voltage:
•Low: Min. 0V; Max. 0.4V
•High: Min. +2.4V
•Output Driving Capacity:
•Low: Max. +0.5V at 8.0mA (Sink)
•High: Min. 2.7V at 0.4mA(Source)
♦Programmable Counter
•Device: 82C54
•A/D pacer Source: 32-bit timer (two 16-bit counter cascaded
together) with a 2MHz time base
•Pacer Output: 0.00046 Hz ~ 100K Hz
♦General Specifications
•I/O Base Address: 16 consecutive address location
•Interrupt IRQ: IRQ 2,3,4,5,6,7 (programmable)
•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:

6 •Introduction
•+5 V @ 440 mA typical
•+12V @ 60 mA typical
•Dimension: 158mm X 108mm

Introduction •7
1.4 Software Supporting
The ACL-8111 is programmed using simple 8-bit I/O port commands. Users
can use high level language, such as BASIC, C, or PASCAL, or low- level
language, such as assembly to program the board. For the programming
under Windows or LabView, please contact your dealer to purchase ACLS-
DLL2 or ACLD-LVIEW.
1.4.1 ACLS-DLL2
For easily program the board under Windows environment, we also provide
ACLS-DLL2, which include the DLL for Windows 95/98/NT. With ACLS-
DLL2, you can use compilers such as VB, VC/C++, or Delphi. ACLS-DLL2 is
included in ADLINK CD. It need license.
1.4.2 ACLS-LVIEW
For easily link the ACL-8111 with LabView of National Instrument, the ACLS-
LVIEW includes the Vis of the ACL-8111 under for Windows 3.1/95/98 and
NT. ACLS-LVIEW is included in ADLINK CD. It need license.

8 •Installation
2
Installation
This chapter describes how to install the ACL-8111. The following list shows
the installation procedures:
1. Unpacking and check what you have.
2. Check the PCB and the location of jumper and switch.
3. Setup the jumpers according to the system and applications setting.
4. Installation the external termination boards.
5. Wiring with signals according to the connector pin assignments.

Installation •9
2.1 Unpacking
The ACL-8111 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 should
be wearing an anti-static wristband, grounded at the same point as the anti-
static mat.
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 ACL-8111.
2.2 What You Have
In addition to this User's Manual, the package includes the following items:
•ACL-8111 multi-function data acquisition card
•ADLINK Software CD
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.

10 •Installation
2.3 PCB Layout
In ACL-8111, there are three connectors (CN1~CN3), one switch (SW1), one
jumper (JP1) and 5 variable resistors (VR1~VR5). Please refer Figure 2.3 to
identify the location these components.
The card's jumpers and switches are preset at the factory. Please setup the
switch and jumper according to the system setting and the application
requirements.
A jumper is closed (sometimes referred to as "shorted") with the plastic cap
inserted over two pins of the jumper. A jumper is open with the plastic cap
inserted over one or no pin(s) of the jumper.
CN1
VR1 VR2 VR3 VR4
SW1 JP1
JP2
ADS574
8111 -10V
-5V
VR5
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
. .
CN2
CN3
8253
Figure 2.3 ACL-8111‘s PCB layout

Installation •11
2.4 Base Address Setting
The ACL-8111 requires 16 consecutive address locations in I/O address
space. The base address of the ACL-8111 is restricted by the following
conditions.
1. The base address must be within the range Hex 200 to Hex 3FF.
2. The base address should not conflict with any PC reserved I/O address.
See Appendix A.
3. The base address must not conflict with any add-on card on your own
PC. Please check your PC before installing the ACL-8111.
The ACL-8111's base address is selected by a 6 position DIP switch
SW1.The default setting of base address is set to be HEX 220.All possible
base address combinations are listed as Table 2.2. You may modify the
base address if the address HEX 220 has been occupied by another add-on
card.
SW1 : Base Address = Hex 220
123456
ON DIP
A
( 9 8 7 6 5 4 )
Figure 2.4 Default Base Address Setting

12 •Installation
I/O port
address(Hex)
1
A9
2
A8
3
A7
4
A6
5
A5
6
A4
000-00F ON
(0)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
100-10F ON
(0)
OFF
(1)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
:
200-20F OFF
(1)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
210-21F OFF
(1)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
OFF
(0)
220-22F
(default)
OFF
(1)
ON
(0)
ON
(0)
ON
(0)
OFF
(1)
ON
(0)
:
300-30F OFF
(1)
OFF
(1)
ON
(0)
ON
(0)
ON
(0)
ON
(0)
3F0-3FF OFF
(1)
OFF
(1)
OFF
(1)
OFF
(1)
OFF
(01
OFF
(1)
ON: 0 OFF: 1.
A4 ... A9 are correspond to PC address lines.
How to Define a Base Address for the ACL-8111?
The DIP1 to DIP6 in the switch SW1are one to one corresponding
to the PC bus address line A9 to A4. A0, A1, A2, and A3 are
always 0. If you want to change the base address, you can only
change the values of A9 to A4 (shadow area of below table). The
following table is an example, which shows you how to define the
base address as Hex 220.
Base Address: Hex 220
2 2 0
1 0 0 0 1 0 0 0 0 0
A9 A8 A7 A6 A5 A4 A3 A2 A1 A0

Installation •13
2.5 D/A Reference Voltage Setting
The analog output range of ACL-8111 depends on the reference voltage,
which is selected by JP1. There are two range of reference voltages can be
assigned as either -5V or -10V, that will generate output range 0V ~ +5V or
0V ~ +10V, respectively.
The setting of D/A reference voltage is specified as following:
When you select -10V for the D/A reference voltage, you should be very
careful the analog output. Because the -10 V voltage source is supplied from
your PC system, and it may be up to 11.5V only. Therefore, it will cause you
analog output is less than +10V.
Reference Voltage
is -5V
(default)
JP1
-10V -5V
Reference Voltage
is -10V
JP1
-10V -5V
hhh
hhh

14 •Installation
2.6 Connectors Pin Assignments
The ACL-8111 has three connectors: one 37-pin D-type connector (CN1) and
two 20-pin insulation displacement connectors (CN2 and CN3).
CN1 is for analog input and analog output signals. CN2 is for digital input
signal. CN3 is for digital output signal. The pin assignments for each
connector are illustrated in the Figure 3.1 ~ Figure 3.3.
CN1: Analog input/output
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
AI0
AI1
AI2
AI3
AI4
AI5
AI6
AI7
--
--
--
--
--
--
DGND
--
--
--
+5V
AGND
AGND
AGND
AGND
AGND
AGND
AGND
AGND
--
--
AO1
--
--
--
--
--
--
--
(20)
(21)
(22)
(23)
(24)
(25)
(26)
(27)
(28)
(29)
(30)
(31)
(32)
(33)
(34)
(35)
(36)
(37)
Figure 3.1. Pin Assignment of CN1
Legend:
AIn : Analog Input Channel n(single-ended)
AO : Analog Output Channel
A.GND : Analog Ground
D.GND : Ground
+5V : +5V from system power supply
Table of contents
Other NuDAQ Computer Hardware manuals
Popular Computer Hardware manuals by other brands

Siemens
Siemens CP 5613 A3 operating instructions

Becom
Becom CM-BF537 Hardware user manual

Alpha Micro
Alpha Micro Eagle 800 II Series Service manual

Extron electronics
Extron electronics HAE 100 4K Setup guide

GRASS VALLEY
GRASS VALLEY HDSPARK PRO datasheet

Marvell
Marvell ARMADA 88F6810 Hardware Design Guide

IDT
IDT USB-BRIDGEV2-EVAL Evaluation board manual

ASRock Industrial
ASRock Industrial NUC BOX-J6412 user manual

Lattice Semiconductor
Lattice Semiconductor iCE40 SPRAM Series Technical note

Seco
Seco uQseven uQ7-962 user manual

Crest Audio
Crest Audio NC-SAC - TECHNICAL Technical data

ICP vortex Corporation
ICP vortex Corporation 64-Bit PCI - Wide/Ultra2 SCSI specification