Thank you for purchasing the CONTEC product.
The product consists of the items listed below.
Check, with the following list, that your package is complete. If you discover damaged or missing
items, contact your retailer.
Product Configuration List
- Board (One of the following) …1
[AD12-16(PCI)E, AD12-16U(PCI)E or AD16-16(PCI)E] …1
Copyright 1997 CONTEC CO., LTD. ALL RIGHTS RESERVED
No part of this document may be copied or reproduced in any form by any means without prior written
consent of CONTEC CO., LTD.
CONTEC CO., LTD. makes no commitment to update or keep current the information contained in this
document. The information in this document is subject to change without notice.
All relevant issues have been considered in the preparation of this document. Should you notice an
omission or any questionable item in this document, please feel free to notify CONTEC CO., LTD.
Regardless of the foregoing statement, CONTEC assumes no responsibility for any errors that may
appear in this document or for results obtained by the user as a result of using this product.
Trademarks
MS, Microsoft, Windows and Windows NT are trademarks of Microsoft Corporation. Other brand and
product names are trademarks of their respective holder.
Table of Contents...................................................................................................................................iii
1.BEFORE USING THE PRODUCT1
About the Bo ard......................................................................................................................................1
What is Setup?.........................................................................................................................................9
Using the Board under Windows Using the Driver Library API-PAC(W32)...............................9
Using the Board under Windows Using Software Other than the Driver Library
Timing of S ampling Control Signals....................................................................................................88
About Cali bration.................................................................................................................................. 89
AD12-16(PCI)E, AD12-16U(PCI)E and AD16-16(PCI)E are PCI-compliant interface boards that
convert analog input signals to digital equivalents (performing analog-to-digital conversion).
< AD12-16(PCI)E > is the general-purpose type that can perform A-D conversion at a conversion speed
of 10µsec per channel and a resolution of 12-bit.
< AD12-16U(PCI)E > is the high-speed type that can perform A-D conversion at a conversion speed of
1µsec per channel and a resolution of 12-bit.
< AD16-16(PCI)E > is the high-precision type that can perform A-D conversion at a conversion speed
of 10µsec per channel and a resolution of 16-bit.
Using the bundled driver library [API-PAC(W32)], you can create Windows application software for
this board in your favorite programming language supporting Win32 API functions, such as Visual
Basic or Visual C/C++.
Features
Sixteen single-ended channels and eight differential channels (Analog input function)
Either board allows the single-ended or differential input mode to be selected with on-board jumpers.
The order of channels subject to signal conversion can be preset in the dedicated register. Using an
optional unit, the board can increase the maximum number of input channels (up to 32 channels) and
perform simultaneous sampling.
On-board buffer memory (Analog input function)
The board has buffer memory available as a FIFO or ring buffer to hold 256 kilobytes of data. This
enables sampling to be executed in the background independently of the processing power of the PC.
Assorted sampling control functions (Analog input function)
The board can control the starting and stopping of sampling not only with software commands but also
by detecting analog signal strength or TTL-level signals. The board offers a choice of sampling clocks
selectable to determine the sampling speed: the internal sampling clock using the on-board clock
generator and the external sampling clock using the digital signal input from an external device.
Analog output function
The board has one channel of analog output function.
Digital input/output function
The board has four digital input and four digital output pins for TTL-level signals, allowing an external
device to be monitored and controlled.
Abundant optional units
Optional units are available for enhancements.
Using optional units enhances board functions and facilitates connections.
For more details on the option, please refer to this chapter “Cable & Connect o r” or
“Accessories (Option)”.
You should use CONTEC support software according to your purpose and development environment.
Driver Library
API-PAC(W32) is the library software that provides the commands for CONTEC hardware products in the form of
Windows standard W in32 API functions (DLL). It makes it easy to create high-speed application software taking
advantage of the CONTEC hardware using various programming languages that support Win32 API functions, such as
Visual Basic and Visual C/C++.
It can also be used by the installed diagnosis program to check hardware operations.
CONTEC provides download services to supply the updated drivers and differential files.
For details, read Help on the bundled CD-ROM or visit the CONTEC’s Web site.
< Operating environment >
OSWindows XP, 2000, NT, Me, 98, etc..
Adaptation languageVisual C/C++, Visual Basic, Delphi, Builder, etc..
OthersEach piece of library software requires 50 megabytes of free hard disk space.
API-PAC(W32)
Linux version of analog I/O driver
CD-ROM)
This driver is used to control CONTEC analog I/O boards (PC Cards) from within Linux.
You can control CONTEC I/O boards easily using the shared library used by gcc and Kylix, the device driver (module)
for each kernel version, and the board (PC Card) configuration program (config).
CONTEC provides download services to supply the updated drivers and differential files.
For details, read Help on the bundled CD-ROM or visit the CONTEC’s Web site.
(For details on supported distributions, refer to Help available after installation .)
Adaptation languagegcc, Kylix, etc..
OthersRequires 3 megabytes of free hard disk space.
Base package of ActiveX components for measurement system development
ACX-PAC(W32)BP
This is a set of useful Windows development tools for measurement systems and consists of a softwa re component
library with ready-to-use samples which you can combine for easy programming.
The package contains components for controlling CONTEC I/O boards (PC Cards). Features include interface
control for analog I/O, digital I/O, GPIB communications, and counter inputs, as well as X-Y plotting and file storage
support.
Check the CONTEC’s Web si te for more information on this soft.
(Option)
(Bundled)
API-AIO(LNX)
(Supplied: Stored on the API-PAC(W32)
Advanced package of ActiveX components for measurement system development
ACX-PAC(W32)AP
Complements the ACX-PAC(W32)BP functions with additional components including graphics ( plotting, switches,
and lamps, etc.) and mathematical and analysis tools.
Check the CONTEC’s Web si te for more information on this soft.
:PCD8PS-3 (3m)
Flat Cable with 1 Sided 16-Pin Header Connector (1.5m):DT/E1
Conversion Cable (16Pin to 15Pin) with Bracket:DT/E2
*1 For FTP-15 only
Accessories (Option)
Termination panel with Screw Terminals for Spade Lugs: DTP-3(PC)
Termination panel with Screw Terminals: DTP-4(PC)
Termination panel with BNC connectors for Analog Multi-function Boards : ATP-16 *2
Termination panel for Digital I/O on Analog Multi-function Boards: FTP-15 *3
Screw Terminal: EPD-37A *2
Screw Terminal: EPD-37 *2
16 Channel Simultaneous Sample & Hold Accessory: ATSS-16 *2
8ch-Isolation Accessory Board for Analog Inputs: ATII-8A *2
Low pass filter expansion board: ATLF-8 *2
16CH Multiplexer Sub-Board: ATCH-16(PCI)
<When using
the AD12-16(PCI)E,
AD16-16(PCI)E>
16CH Multiplexer Sub-Board: ATUH-16(PCI)
<When using
the AD12-16U(PCI)E>
*2 A PCB37PS -*P optional cable is required separately. (0.5m is recommended.)
*3 A DT/E2 and PCB15P-1.5 optional cable is required separately.
*Check the CONTEC’s Web site for more information on these options.
CONTEC provides the following support services for you to use CONTEC products more efficiently
and comfortably.
Web Site
Japanese http://www.contec.co.jp/
English http://www.contec.com/
Chinese http://www.contec.com.cn/
Latest product information
CONTEC provides up-to-date information on products.
CONTEC also provides product manuals and various technical documents in the PDF.
Free download
You can download updated driver software and differential files as well as sample programs available in
several languages.
Note! For product information
Contact your retailer if you have any technical question about a CONTEC product or need its price,
delivery time, or estimate information.
Limited Three-Years Warranty
CONTEC Interface products are warranted by CONTEC CO., LTD. to be free from defects in material
and workmanship for up to three years from the date of purchase by the original purchaser.
Repair will be free of charge only when this device is returned freight prepaid with a copy of the
original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office,
from which it was purchased.
This warranty is not applicable for scratches or normal wear, but only for the electronic circuitry and
original products. The warranty is not applicable if the device has been tampered with or damaged
through abuse, mistreatment, neglect, or unreasonable use, or if the original invoice is not included, in
which case repairs will be considered beyond the warranty policy.
How to Obtain Service
For replacement or repair, return the device freight prepaid, with a copy of the original invoice. Please
obtain a Return Merchandise Authorization number (RMA) from the CONTEC group office where you
purchased before returning any product.
*No product will be accepted by CONTEC group without the RMA number.
Liability
The obligation of the warrantor is solely to repair or replace the product. In no event will the warrantor
be liable for any incidental or consequential damages due to such defect or consequences that arise from
inexperienced usage, misuse, or malfunction of this device.
Understand the following definitions and precautions to use the product safely.
Safety Information
This document provides safety information using the following symbols to prevent accidents resulting in
injury or death and the destruction of equipment and resources. Understand the meanings of these
labels to operate the equipment safely.
DANGER
WARNING
CAUTION
DANGER indicates an imminently hazardous situation which, if not avoided, will
result in death or serious injury.
WARNING indicates a potentially hazardous situation which, if not avoided, could
result in death or serious injury.
CAUTION indicates a potentially hazardous situation which, if not avoided, may
result in minor or moderate injury or in property damage.
Do not use the product where it is exposed to flammable or corrosive gas. Doing so may result in
an explosion, fire, electric shock, or failure.
CAUTION
-There are switches and jumpers on the board that need to be set in advance.
Be sure to check these before installing to the expansion slot.
-Only set the switches and jumpers on the board to the specified settings.
Otherwise, the board may malfunction, overheat, or cause a failure.
-Do not strike or bend the board.
Otherwise, the board may malfunction, overheat, cause a failure or breakage.
-Do not touch the board's metal plated terminals (edge connector) with your hands.
Otherwise, the board may malfunction, overheat, or cause a failure.
If the terminals are touched by someone's hands, clean the terminals with industrial alcohol.
-Do not install or remove the board to or from the expansion slot while the computer's power or
expansion unit is turned on.
Otherwise, the board may malfunction, overheat, or cause a failure.
Be sure that the personal computer power is turned off.
-Make sure that your PC or expansion unit can supply ample power to all the boards installed.
Insufficiently energized boards could malfunction, overheat, or cause a failure.
-The specifications of this product are subject to change without notice for enhancement and quality
improvement.
Even when using the product continuously, be sure to read the user’s guide and understand the
contents.
-Do not modify the product. CONTEC will bear no responsibility for any problems, etc., resulting
from modifying this product.
-Regardless of the foregoing statements, CONTEC is not liable for any damages whatsoever
(including damages for loss of business profits) arising out of the use or inability to use this
CONTEC product or the information contained herein.
Use this product in the following environment. If used in an un authorized environ ment, the board may
overheat, malfunction, or cause a failure.
Operating temperature
0 to 50°C
Operating humidity
10 to 90%RH (No condensation)
Corrosive gases
None
Floating dust particles
Not to be excessive
Inspection
Inspect the product periodically as follows to use it safely.
- Check that the bus connector
of the board and its cable have
been plugged correctly.
- Check that the board has
no dust or foreign matter adhering.
- The gold-plated leads of the bus connector
have no stain or corrosion.
Storage
When storing this product, keep it in its original packing form.
(1) Put the board in the storage bag.
(2) Wrap it in the packing material, then put it in the box.
(3) Store the package at room temperature at a place free from direct sunlight, moisture, shock,
vibration, magnetism, and static electricity.
Disposal
When disposing of the product, follow the disposal procedures stipulated under the relevant laws and
municipal ordinances.
Setup means a series of steps to take before the product can be used.
Different steps are required for software and hardware.
The setup procedure varies with the OS and software used.
Using the Board under Windows
Using the Driver Library API-PAC(W32)
This section describes the setup procedure to be performed before you can start developing application
programs for the board using the bundled CD-ROM “Driver Library API-PAC(W32)”.
Taking the following steps sets up the software and hardware. You can use the diagnosis program later
to check whether the software and hardware function normally.
Step 1 Installing the Software
Step 2 Setting the Hardware
Step 3 Installing the Hardware
Step 4 Initializing the Software
Step 5 Checking Operations with the Diagnosis Program
If Setup fails to be performed normally, see the “Setup Troubleshooting” section at the end of this
chapter.
Using the Board under Windows
Using Software Other than the Driver Library
API-PAC(W32)
For setting up software other than API-PAC(W32), refer to the user’s guide for that software. See also
the following parts of this user’s guide as required.
This chapter Step 2 Setting the Hardware
This chapter Step 3 Installing the Hardware
Chapter 3 External Connection
Chapter 6 About Hardware
This section describes how to install the Driver libraries.
Before installing the hardware on your PC, install the Driver libraries from the bundled
API-PAC(W32) CD-ROM.
The following description assumes the operating system as Windows Me. Although some user
interfaces are different depending on the OS used, the basic procedure is the same.
About the driver to be used
Two analog I/O drivers are available: API-AIO(WDM) and API-AIO(98/PC)W95/NT.
API-AIO(WDM) is a new driver to perform analog input/output under Windows.
API-AIO(WDM) was developed to improve the conventional product version of API-AIO(98/PC) in the
ease of use and functionality.
It is advisable to use API-AIO(WDM) for you to use an analog I/O device. API-AIO(WDM) will
support new OSs and devices in the future but will not support Windows NT 4.0, Windows 95, ISA bus,
or C-bus.
Use API-AIO(98/PC) if your operating environment contains such an unsupported piece of software or
hardware.
Check the following selection guide to easily select the driver to be used.
This section describes how to set the board and plug it on your PC.
The board has some switches and jumper to be preset.
Check the on-board switches and jumpers before plugging the board into an expansion slot.
The board can be set up even with the factory defaults untouched. You can change board settings later.
Parts of the Board and Factory Defaults
Figure 2.1. to Figure 2.3. show the names of major parts on the board.
Part Names < AD12-16(PCI)E >
Analog output
control trimmers
Jumper for setting
Onput Range
123
JP10
JP11
123
CN1 Analog Signal
I/O Conector
CN2 Digital and Control
Signal I/O Connector
CN3 Channel Expanding
Unit Connector
Jumper for setting
Input Range
123
JP7
JP8
JP9
123
Jumper for Input
Mode Setting
123
JP4
JP5
JP6
123
Analog input
control trimmers
VR3 VR2 VR1VR6 VR5 VR4
Jumper for
counter Setting
123
JP1
JP2
JP3
123
SW for setting board ID
SW1
BOARD ID
9
7
A
6
B
5
C
4
D
3
E
2
F
1
0
Jumper for interrupt
signal resource setting
JP12
INT
123
NOT
USE
USE
Figure 2.1. Part Names
Note that the switch and jumper setting shown below is the factory default.
If you install two or more boards on one personal computer, assign a different ID value to each of the
boards to distinguish them.
The board IDs can be set from 0 to Fh to identify up to sixteen boards.
If only one board is used, the original factory setting (Board ID = 0) should be used.
Setting Procedure
To set the board ID, use the rotary switch on the board. Turn the SW1 knob to set the board ID as
shown below.
SW1
BOARD ID
9
A
7
B
6
C
5
D
4
E
3
2
F
Factory setting:
1
0
(Board ID = 0)
Figure 2.4. Board ID Settings (SW1)
Setting the interrupt signal resource
If you set up the board not to use interrupts, you can make your PC recognize the board as using no
interrupts to save the PC's interrupt signal resources.
The analog input is set by specifying the input mode and input range.
For the input mode setting function, see Chapter 4 “Functions”.
Setting the Input Mode
The input mode is the method of connecting analo g in put s i gn als. The single-ended and differential
input modes are available.
The jumper settings for these modes are common to the AD12-16(PCI)E, AD12-16U(PCI)E
and AD16-16(PCI)E.
Use JP4 to JP6 to set the desired input mode.
Single-Ended Input
JP4
123
JP5
123
JP6
123
Differential Input
JP4
123
JP5
123
JP6
123
Figure 2.6. Setting the Input Mode
CAUTION
Do not set the jumpers to any strapping pattern other than those specified above. Doing so can
result in a fault in the board.
Setting the Input Range
The input range indicates the range of voltages of analog input signals.
The board converts the voltages in the preset input range into digital signals according to the resolution.
The input range is common to all channels; it is not possible to set a different input range for each
channel. Figures 2.7, 2.8 and 2.9 illustrates the jumper settings on each board.
Set the input range using both of jumpers and software.
Bipolar -10V to +10V
-5V to +5V
-2.5V to +2.5V
-1.25V to +1.25V
JP7
123
JP8
123
JP9
123
Unipolar 0V to +10V
0V to +5V
0V to +2.5V
0V to +1.25V
JP7
123
JP8
123
JP9
123
Figure 2.7. Setting the Input Range < AD12-16(PCI)E >
The analog output is set by specifying the output range.
The output range indicates the range of voltages of analog output signals.
The board converts digital signals into voltages in the preset output range according to the resolution.
Figures 2.10, 2.11 and 2.12 illustrates the jumper settings on each board.
Bipolar -10V to +10V
JP10
123
JP11
123
Bipolar -5V to +5V
JP10
123
JP11
123
Unipolar 0V to +10V
JP10
123
JP11
123
Figure 2.10. Setting the Output Range < AD12-16(PCI)E >
Bipolar -10V to +10V
JP11
123
JP12
123
Bipolar -5V to +5V
JP11
123
JP12
123
Unipolar 0V to +10V
JP11
123
JP12
123
Figure 2.11. Setting the Output Range < AD12-16U(PCI)E >
Bipolar -10V to +10V
JP12
123
JP13
123
JP14
123
JP15
123
Unipolar 0V to +10V
JP12
123
JP13
123
JP14
123
JP15
123
Figure 2.12. Setting the Output Range < AD16-16(PCI)E >
CAUTION
Do not set the jumpers to any strapping pattern other than those specified above. Doing so can
result in a fault in the board.