Contec AIO-121601M-PCI Owner's manual

Type
Owner's manual
PC-HELPER
100KSPS 12-bit
Analog I/O Board for PCI
AIO-121601M-PCI
User’s Guide
CONTEC CO.,LTD.
AIO-121601M-PCI
i
Check Your Package
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 [AIO-121601M-PCI] …1
- First step guide …1
- CD-ROM *1 [API-PAC(W32)] …1
- SC Cable (10cm) …1
*1 The CD-ROM contains the driver software and User’s Guide (this guide)
Board SC Cable (10cm) First step guide CD-ROM *1
[API-PAC(W32)]
ii
AIO-121601M-PCI
Copyright
Copyright 2008 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.
AIO-121601M-PCI
iii
Table of Contents
Check Your Package ................................................................................................................................ i
Copyright .................................................................................................................................................ii
Trademarks ..............................................................................................................................................ii
Table of Contents ...................................................................................................................................iii
1 BEFORE USING THE PRODUCT 1
About the Board ...................................................................................................................................... 1
Features............................................................................................................................................. 1
Support Software.............................................................................................................................. 2
Cable & Connector (Option) ........................................................................................................ 3
Accessories (Option)..................................................................................................................... 3
Customer Support.................................................................................................................................... 4
Web Site ........................................................................................................................................... 4
Limited Three-Years Warranty............................................................................................................... 4
How to Obtain Service ............................................................................................................................ 4
Liability ................................................................................................................................................... 4
Safety Precautions ................................................................................................................................... 5
Safety Information ........................................................................................................................... 5
Handling Precautions ....................................................................................................................... 6
Environment ..................................................................................................................................... 7
Inspection ......................................................................................................................................... 7
Storage.............................................................................................................................................. 7
Disposal ............................................................................................................................................ 7
2 SETUP 9
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
API-PAC(W32)................................................................................................................................ 9
Using the Board under an OS Other than Windows..................................................................... 10
Step 1 Installing the Software............................................................................................................... 11
Which Driver to Use ...................................................................................................................... 11
Starting the Install Program........................................................................................................... 12
Step 2 Setting the Hardware .................................................................................................................14
Parts of the Board and Factory Defaults ....................................................................................... 14
Setting the Board ID ...................................................................................................................... 15
Plugging the Board......................................................................................................................... 16
Step 3 Installing the Hardware ............................................................................................................. 17
Turning on the PC .......................................................................................................................... 17
When Using API-AIO(WDM).......................................................................................................... 17
iv
AIO-121601M-PCI
Step 4 Initializing the Software.............................................................................................................19
Step 5 Checking Operations with the Diagnosis Program ...........................................................21
What is the Diagnosis Program?....................................................................................................21
Check Method.................................................................................................................................21
Using the Diagnosis Program ........................................................................................................22
Setup Troubleshooting...........................................................................................................................25
Symptoms and Actions...................................................................................................................25
If your problem cannot be resolved ...............................................................................................25
3 EXTERNAL CONNECTION 27
How to connect the connectors .............................................................................................................27
Connector shape .............................................................................................................................27
Connector Pin Assignment.............................................................................................................28
Analog Input Signal Connection...........................................................................................................30
Single-ended Input..........................................................................................................................30
Analog Output Signal Connection ........................................................................................................31
Control Signal of Analog I/O ................................................................................................................32
Digital I/O signals Connection..............................................................................................................33
Connection of the Counter Input Signal ...............................................................................................34
Example Connection for Counter Input Circuit ............................................................................34
Example Connection with a Rotary Encoder ................................................................................35
Example Connection with a Linear Scale......................................................................................35
Connection of Control Signal for the Counter......................................................................................36
Connection of a control input.........................................................................................................36
Control input circuit and its sample connection............................................................................36
Connection of a control output.......................................................................................................37
Control output circuit and its sample connection..........................................................................37
Synchronization Control Connectors ....................................................................................................38
SC Connectors ................................................................................................................................38
Connecting the SC Connectors (CN2 and CN3) ...........................................................................39
4 FUNCTIONS 41
Analog Input Function...........................................................................................................................41
1. Setting the Conversion Conditions ............................................................................................42
2. Starting/Stopping Operation ......................................................................................................51
3. Monitoring the Status and Acquiring Data................................................................................51
4.Reset.............................................................................................................................................53
Analog Output Function ........................................................................................................................54
1. Setting the Conversion Conditions ............................................................................................55
2. Starting/Stopping Operation ......................................................................................................62
3. Monitoring the Status and Acquiring Data................................................................................63
4.Reset.............................................................................................................................................64
AIO-121601M-PCI
v
Counter Function................................................................................................................................... 65
Types and Operations of Pulse Signals ......................................................................................... 65
Setting the operation conditions .................................................................................................... 69
Preset ..............................................................................................................................................70
Zero-clear ....................................................................................................................................... 71
Register........................................................................................................................................... 71
How to obtain the count value ....................................................................................................... 72
Hardware event .............................................................................................................................. 74
Status input..................................................................................................................................... 80
Other functions............................................................................................................................... 81
Timer ..............................................................................................................................................81
Digital Input Function........................................................................................................................... 82
Digital Output Function ........................................................................................................................ 83
5 ABOUT SOFTWARE 85
CD-ROM Directory Structure ..............................................................................................................85
About Software for Windows ............................................................................................................... 86
Accessing the Help File ................................................................................................................. 86
Using Sample Programs................................................................................................................. 87
Usage of Utility Program............................................................................................................... 89
Uninstalling the Driver Libraries .................................................................................................. 99
About Software for Linux................................................................................................................... 102
Driver Software Install Procedure...............................................................................................102
Accessing the Help File ............................................................................................................... 103
Using Sample Programs............................................................................................................... 103
Uninstalling the driver ................................................................................................................. 103
6 ABOUT HARDWARE 105
For detailed technical information...................................................................................................... 105
Hardware specification .......................................................................................................................106
Block Diagram .................................................................................................................................... 109
Control Signal Timings....................................................................................................................... 110
Control Signal Timings for Analog Input ................................................................................... 110
Control Signal Timings for Analog Output ................................................................................111
Control Signal Timings for Counter............................................................................................ 112
About Calibration................................................................................................................................ 113
vi
AIO-121601M-PCI
1. Before Using the Product
AIO-121601M-PCI
1
1
Before Using the Product
About the Board
This product is a PCI bus-compliant interface board that integrates the analog I/O and digital I/O
features into one board. It has 12bit analog inputs (16channels), 12bit analog outputs (1channel), 8
digital I/Os, and 2 channels of counter that supports encoder inputs (2-phase signals). Using it with a
signal conditioner (separately available) that converts and integrates relevant I/Os that may differ
according to what to be measured and/or controlled, it can support diverse testing applications that
require complex and various I/O features. As a support for application development environments, a
lot of driver software and middleware is provided such as Windows / Linux APIs and MATLAB /
LabVIEW libraries.
Features
- Integrates the analog signal I/O and digital signal I/O features into one board.
With this one board, following features can be added: analog inputs (10μsec[100KSPS]/ch, 12bit,
16channels), analog outputs (10μsec[100KSPS], 12bit, 1channel), counter (32bit, TTL level 2channels),
and digital I/Os (8channels for TTL level). A feature-rich system is possible even with a PC that has
relatively fewer expansion slot(s).
- Supports the SC series signal conditioners.
The SC series signal conditioner that provides various signal conversion features are supported. Using
this product with the SC series (SC-AIO1604G etc.,), by unifying I/O ranges through conversion for
each channel, it can support diverse testing applications that require different I/O specifications for
testing purposes.
- Analog I/O features that supports numerous sampling modes.
Buffer memory (256K data) can be used as FIFO or RING for analog input or output, supporting several
start/stop condition settings. Many types of sampling operation are possible with matching the
counters, internal timer and/or external clock. Trimmer-less design that enables calibration of
conversion accuracy via software.
- Counter features that supports both of the single-phase and two-phase modes.
Single-phase mode (up count) and two-phase (up-down count) mode are supported. Various
applications such as pulse-signal adder, rotary encoder, linear-scale position detection can be supported.
A digital filter feature that suppresses malfunction caused by a noise.
- Synchronized operation of multiple interface boards is supported.
On-board synchronization control connector. Enables synchronized operation with the other boards
that have synchronization connectors (Max. 16 boards).
- Supports data logger software C-LOGGER
Without requiring any programming, supports C-LOGGER, our data logger software that enables
graphical view of the measurement data, observation with zooming, file save and dynamic transmission
to Excel (a spreadsheet software) (Stored on the bundled CD-ROM).
1. Before Using the Product
2
AIO-121601M-PCI
- Supports various application development environments.
A lot of driver software and middleware is provided for application development environments.
- API functions for Windows / Linux programming languages “API-TOOL” (Stored on the
bundled CD-ROM)
- ActiveX component (OCX) “ACX-PAC(W32)” (Option).
- Library for MATLAB “ML-DAQ” (download from the CONTEC’s Web site (free of charge)).
- Library for LabVIEW “VI-DAQ” (download from the CONTEC’s Web site (free of charge)).
Support Software
You should use CONTEC support software according to your purpose and development environment.
Windows version of analog I/O driver
API-AIO(WDM)
[Stored on the bundled CD-ROM driver library API-PAC(W32)]
The API-AIO(WDM) is the Windows version driver library software that provides products in the form of Win32 API
functions (DLL). Various sample programs such as Visual Basic and Visual C++, etc and diagnostic program useful
for checking operation is provided.
< Operating environment >
OS Windows Vista, XP, Server 2003, 2000
Adaptation language Visual Basic, Visual C++, Visual C#, Delphi, C++ Builder
You can download the updated version from the CONTEC’s Web site (http://www.contec.com/apipac/). For more
details on the supported OS, applicable language and new information, please visit the CONTEC’s Web site.
Linux version of analog I/O driver
API-AIO(LNX)
[Stored on the bundled CD-ROM driver library API-PAC(W32)]
The API-AIO(LNX) is the Linux version driver software which provides device drivers (modules) by shared library
and kernel version. Various sample programs of gcc are provided.
< Operating environment >
OS RedHatLinux, TurboLinux
(For details on supported distributions, refer to Help available after installation.)
Adaptation language gcc
You can download the updated version from the CONTEC’s Web site (http://www.contec.com/apipac/). For more
details on the supported OS, applicable language and new information, please visit the CONTEC’s Web site.
Data Logger Software
C-LOGGER
[Stored on the bundled CD-ROM driver library API-PAC(W32)]
C-LOGGER is a data logger software program compatible with our analog I/O products. This program enables the
graph display of recorded signal data, zoom observation, file saving, and dynamic transfer to the spreadsheet software
“Excel”. No troublesome programming is required.
CONTEC provides download services (at http://www.contec.com/clogger) to supply the updated drivers.
For details, refer to the C-LOGGER Users Guide or our website.
< Operating Environment >
OS Windows Vista, XP, Server 2003, 2000
* C-LOGGER supports analog features only.
1. Before Using the Product
AIO-121601M-PCI
3
Data Acquisition library for MATLAB
ML-DAQ
(Available for downloading (free of charge) from the CONTEC web site.)
This is the library software which allows you to use our analog I/O device products on MATLAB by the MathWorks.
Each function is offered in accordance with the interface which is integrated in MATLAB’s Data Acquisition Toolbox.
See http://www.contec.com/mldaq/ for details and download of ML-DAQ.
* ML-DAQ supports analog / digital features only.
Data acquisition VI library for LabVIEW
VI-DAQ
(Available for downloading (free of charge) from the CONTEC web site.)
This is a VI library to use in National Instruments LabVIEW.
VI-DAQ is created with a function form similar to that of LabVIEW's Data Acquisition VI, allowing you to use
various devices without complicated settings.
See http://www.contec.com/vidaq/ for details and download of VI-DAQ.
* VI-DAQ supports analog / digital / counter features only.
Cable & Connector (Option)
Shield Cable with 96-Pin D-SUB Connector at One End : PCA96PS-0.5P (0.5m)
: PCA96PS-1.5P (1.5m)
Shield Cable with 96-Pin Half-Pitch Connectors at Both Ends
: PCB96PS-0.5P (0.5m)
: PCB96PS-1.5P (1.5m)
Flat Cable with 96-Pin Half-Pitch Connectors at One End
: PCA96P-1.5 (1.5m)
Flat Cable with 96-Pin Half-Pitch Connectors at Both Ends
: PCB96P-1.5 (1.5m)
Half Pitch 96P Female Connector Set (5 Pieces) : CN5-H96F
Accessories (Option)
Screw Terminal Unit (M3 x 96P) : EPD-96A *1 *3
Screw Terminal Unit (M3.5 x 96P) : EPD-96 *1
Signal conversion board for analog I/O : SC-AIO1604G *1 *2
Box for signal conversion board (4-Slots) : ESC-4
*1 PCB96PS-* optional cable is required separately (0.5mm is recommended).
*2 Optional ESC-4 is required separately.
*3 “Spring-up” type terminal is used to prevent terminal screws from falling off.
* Check the CONTEC’s Web site for more information on these options.
1. Before Using the Product
4
AIO-121601M-PCI
Customer Support
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 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.
1. Before Using the Product
AIO-121601M-PCI
5
Safety Precautions
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
DANGER indicates an imminently hazardous situation which, if not avoided, will
result in death or serious injury.
WARNING
WARNING indicates a potentially hazardous situation which, if not avoided, could
result in death or serious injury.
CAUTION
CAUTION indicates a potentially hazardous situation which, if not avoided, may
result in minor or moderate injury or in property damage.
1. Before Using the Product
6
AIO-121601M-PCI
Handling Precautions
DANGER
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 this product that need to be set in advance.
Be sure to check these before installing this product.
- Only set the switches and jumpers on this product to the specified settings.
Otherwise, this product may malfunction, overheat, or cause a failure.
- Do not strike or bend this product.
Otherwise, this product may malfunction, overheat, cause a failure or breakage.
- Do not touch the product's metal plated terminals (edge connector) with your hands.
Otherwise, this product may malfunction, overheat, or cause a failure.
If the terminals are touched by someone's hands, clean the terminals with industrial alcohol.
- Do not plug or unplug the cables which are connected to this product while the PC or expansion
unit is still turned on.
Otherwise, this product 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 products installed.
Insufficiently energized products 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 manual and understand the contents.
- Do not modify this 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.
1. Before Using the Product
AIO-121601M-PCI
7
Environment
Use this product in the following environment. If used in an unauthorized environment, the product
may overheat, malfunction, or cause a failure.
Operating temperature
0 - 50°C
Operating humidity
10 - 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.
Storage
When storing this product, keep it in its original packing form.
(1) Put the product 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.
- Check that the board has no dust
or foreign matter adhering.
- The gold-plated leads of the bus
connector have no stain or corrosion.
- Check that the bus connector of the
board and its cable have been plugged
correctly.
1. Before Using the Product
8
AIO-121601M-PCI
2. Setup
AIO-121601M-PCI
9
2
Setup
This chapter explains how to set up the board.
What is Setup?
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 applications 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 manual for that software. See also the
following parts of this manual as required.
This chapter Step 2 Setting the Hardware
This chapter Step 3 Installing the Hardware
Chapter 3 External Connection
Chapter 6 About Hardware
2. Setup
10
AIO-121601M-PCI
Using the Board under an OS Other than Windows
For using the board under Linux, see the following parts of this manual.
This chapter Step 2 Setting the Hardware
Chapter 3 External Connection
Chapter 5 About Software
Chapter 6 About Hardware
2. Setup
AIO-121601M-PCI
11
Step 1 Installing the Software
This explains how to install the driver library.
Before installing the hardware on the PC, install the driver library from the API-PAC(W32)
CD-ROM provided with the board.
The following description assumes the operating system as Windows XP. Although some user
interfaces are different depending on the OS used, the basic procedure is the same.
Which Driver to Use
CONTEC has two analog I/O drivers: API-AIO(WDM) and API-AIO(98/PC).
API-AIO(WDM) is a new driver for analog I/O under Windows.
This driver was developed to be easier to use and to provide additional functions above those provided
by the previous API-AIO(98/PC) driver.
Please use the API-AIO(WDM) with this board. API-AIO(98/PC) is not supported.
2. Setup
12
AIO-121601M-PCI
Starting the Install Program
(1)
Load the CD-ROM [API-PAC(W32)] on your PC.
(2)
The API-PAC(W32) Installer window appears automatically.
If the panel does not appear, run (CD-ROM drive letter):\AUTORUN.exe.
(3)
Click on the [Install Development or Execution Environment] button.
CAUTION
Before installing the software in Windows Vista, XP, Server 2003, 2000, log in as a user with
administrator privileges.
2. Setup
AIO-121601M-PCI
13
Selecting API-AIO(WDM)
(1)
The following dialog box appears to select “Driver to install” and “Install option”, “Usage of
driver library”.
(2)
Select the "Advanced Analog I/O driver".
(3)
Click on the [Install] button.
* Clicking the [API-AIO] button under the “Detail” displays detailed information about
API-AIO(WDM) and API-AIO(98/PC).
Run the installation
(1)
Complete the installation by following the instructions on the screen.
(2)
The Readme file appears when the installation is complete.
You have now finished installing the software.
  • 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
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121

Contec AIO-121601M-PCI Owner's manual

Type
Owner's manual

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

Finding information in a document is now easier with AI