Contec AIO-121602LN-USB, AIO-120802LN-USB User Manual

PC-HELPER
N Series for USB Multifunction DAQ Unit (16ch AI, 2ch AO, 16ch DIO)
AIO-121602LN-USB
Multifunction DAQ Unit (8ch AI, 2ch AO, 16ch DIO)
AIO-120802LN-USB
User’s Gui d e

Check Your Packa g e

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 C onfiguration List
- Unit (One of the following) …1 [AIO-121602LN-USB , AIO-120802LN-USB]
- USB cable (1.8m) …1
- USB cable attachment on the main unit’s side (For Mini B connector side) …1
- First step guide … 1
- I/O conn ector AIO-121602LN-USB …6 AIO-120802LN-USB …5
- Rubber feet …4
- Magnet …2
- CD-ROM *1 [API-USBP(WDM)] …1
- Warranty Certificat e…1
- Serial number label …1 *1 The CD-ROM contains the driver software and User’s Guide (this guide)
AIO-121602LN-USB, AIO-120802LN-USB
i

Copyright

Copyright 2013 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-121602LN-USB, AIO-120802LN-USB
ii

Table of Contents

Check Your Package ............................................................................................................................ i
Copyright ............................................................................................................................................ ii
Trademarks .......................................................................................................................................... ii
Table of Contents ............................................................................................................................... iii
1. BEFORE USING THE PRODUCT 1
About the Unit ..................................................................................................................................... 1
Features ........................................................................................................................................ 1
Support Software .......................................................................................................................... 3
Customer Support................................................................................................................................ 4
Web Site ....................................................................................................................................... 4
Limited One-Year Warranty ............................................................................................................... 4
How to Obtai n Service ........................................................................................................................ 4
Liability ............................................................................................................................................... 4
Safety Precautions ............................................................................................................................... 5
Safety Information ....................................................................................................................... 5
Handling Precautions ................................................................................................................... 5
Environment ................................................................................................................................. 8
Inspection ..................................................................................................................................... 8
Storage ......................................................................................................................................... 9
Disposal ........................................................................................................................................ 9
2. SETUP 11
What is Setup?................................................................................................................................... 11
Installing the driver .................................................................................................................... 11
Step 1 Setting the Hardware .............................................................................................................. 12
Name of each parts ..................................................................................................................... 12
Step 2 Initializing the Software ......................................................................................................... 13
Illustration of Menu Screen ........................................................................................................ 13
Installation of API-USBP(WDM) Development Environment .................................................. 14
Installing C-LOGGER ................................................................................................................ 15
Step 3 Installing the Hardware .......................................................................................................... 16
Connecting the Product .............................................................................................................. 16
Setting with the Found New Hardware Wizard ......................................................................... 17
Setting Properties Using Device Manager ................................................................................. 18
Step 4 Checking Operations with the Diagnosis Program ................................................................ 20
What is the Diagnosis Program? ................................................................................................ 20
Check M ethod ............................................................................................................................ 20
Using the Diagnosis Program ..................................................................................................... 21
AIO-121602LN-USB, AIO-120802LN-USB
iii
Setup Troubleshooting ...................................................................................................................... 24
Symptoms a nd Action s ............................................................................................................... 24
If your problem cannot be resolved ............................................................................................ 24
3. CONNECTION AND INSTALLATION 25
Installation Method ........................................................................................................................... 25
Mounting on a DIN Rail ............................................................................................................. 25
Desktop Installation .................................................................................................................... 27
Wall Installation ......................................................................................................................... 27
Installation Using the Magnet .................................................................................................... 28
Installation Conditions ...................................................................................................................... 30
Connection Method ........................................................................................................................... 32
Connecting an Interface Connector ............................................................................................ 32
Signal Layou t on the Interfac e Con n ec tor .................................................................................. 33
Analog Input Signal Connection ....................................................................................................... 41
Single-ended Input ..................................................................................................................... 41
Differential Input ........................................................................................................................ 42
Analog Output Signal Connection .................................................................................................... 43
Connecting I/O Signals ..................................................................................................................... 44
I/O Circuit .................................................................................................................................. 44
Example of Connecti on .............................................................................................................. 44
Counter signals and Control signals Connection ............................................................................... 45
4. APPLICATION DEV E LOPMENT 47
Reference to Online Help .................................................................................................................. 47
Printing Function Reference .............................................................................................................. 47
Sample Program ................................................................................................................................ 48
Distributing Developed Application ................................................................................................. 48
Use of utility program ....................................................................................................................... 49
Returning to Initial State ................................................................................................................... 54
5. ABOUT C-LOGGER 55
Outline of C-LOGGER ..................................................................................................................... 55
6. FUNCTION 57
Analog Input Function ...................................................................................................................... 57
1. Setting the Conversion Conditions ......................................................................................... 58
2. Starting/Stopping Operation ................................................................................................... 65
3. Monitoring the Status and Acquiring Data ............................................................................. 66
4. Reset ....................................................................................................................................... 70
Analog Output Function .................................................................................................................... 71
AIO-121602LN-USB, AIO-120802LN-USB
iv
1. Setting the Conversion Conditions ......................................................................................... 72
2. Starting/Stopping Operation ................................................................................................... 79
3. Monitoring the Status and Acquiring Data ............................................................................. 79
4. Reset ....................................................................................................................................... 80
Counter Function ............................................................................................................................... 81
1. Setting the Operating Conditions ........................................................................................... 81
2. Starting/Stopping Operation ................................................................................................... 82
3. Monitoring the Status and Acquiring Data ............................................................................. 82
4. Reset ....................................................................................................................................... 83
Digital Input Function ....................................................................................................................... 84
Digital Output Function .................................................................................................................... 85
7. ABOUT HARD W AR E 87
Hardware specification ...................................................................................................................... 87
Physical dimensions .......................................................................................................................... 91
Block Diagram .................................................................................................................................. 92
Control Signal Timings ..................................................................................................................... 93
Control Signal Timings for Analog Input .................................................................................. 93
Control Signal Timings for Analog Output ................................................................................ 94
Control Signal Timings for Counter ........................................................................................... 95
About Calibration .............................................................................................................................. 96
AIO-121602LN-USB, AIO-120802LN-USB
v
AIO-121602LN-USB, AIO-120802LN-USB
vi
1. Before Using the Product

1. Before Using the Produ ct

This chapter provides information you should know before using the product.

About the Unit

This product is a USB2.0-compliant analog I/O unit that extends the analog I/O function of USB port of PCs. Compact design not restricting installation location (188.0(W) x 78.0(D) × 30.5(H)) makes it easy to install the product within the panel or device using DIN rail mounting jigs, or on the floor or wall. Windows driver library is supplied. Possible to be used as a data recording device for LabVIEW, with dedicated libraries.

Features

Multi-function Analog I/O can be implemented in a compact system. The series consi st s of two different models from which you can select the best model to suit your application. The < AIO-121602LN-USB > contains the analog input (12bit, 16ch), analog output (12bit, 2ch). The < AIO-120802LN-USB > contains the analog input (12bit, 8ch), analog output (12bit, 2ch). All two models include bi-directional digital inputs / outputs (16points, TTL level) and a counter (32bit 1ch, TTL level). You can select the input/output by the application software in eight signals units.
Analog I/O can be synchronized with an internal timer or external clock. Analog I/O can both be performed at fixed time intervals and synchronized with an external signal.
- Digital filter function to prevent wrong recognition of external signal chattering is provided. This product has analog input / output control signal, digital input signal and digital filter function to
prevent it from chattering in counter input signal. (Excluding external clock input signal, counter gate signal)
Buffer memory available for background processing independent of software The boards include buffer memory (1K Word each for analog input and output) which can be used in either FIFO or ring forma t . This allows analog I/O to be performed independent ly of the operating state of the PC or software.
Software-based calibration function Calibration of analog input/output can be all performed by software. Apart from the adjustment information prepared before shipment, additional adjustment information can be stored according to the use environment .
- Compact design not restricting installation location (188.0(W) x 78.0(D) x 30.5(H)) Compact design of 188.0(W) × 78.0(D) × 30.5(H) does not require special installation location.
- Compatible to USB1.1/USB2.0 Compatible to USB1.1/USB2.0 and capable to achieve high speed transfer at HighSpeed (480 Mbps).
AIO-121602LN-USB, AIO-120802LN-USB
1
1. Before Using the Product
- Diverse installations such as screw fastening, magnet, DIN rail are possible Installation on the floor / wall /ceiling is possible by screw fastening, magnet, rubber feet, etc.
In addition, DIN rail mounting mechanism is equipped as standard with the product, making it easy to install the product within the panel or the device.
- Easy-to-wire terminal connector adopted Adoption of terminal connector (with screws) enables to achieve easy wiring.
- Windows compatible driver libraries are attached. Using the attached analog I/O driver API-USBP(WDM) mak es it possible to create applications of
Windows. In addition, a diagnostic program by which the operations of hardware can be checked is provided.
Supported to the data logger software [C-LOGGER] (Analog input only) Supporting the data logger software [C-LOGGER] that enables the graph display of recorded signal data, file saving, and dynamic transfer to the spreadsheet software program “Excel”.
Plug-ins for the dedicated libraries, the board also supports MATLAB and LabVIEW. We offer a dedicated library [ML-DAQ], which allows you to use this product on MATLAB by The
MathWorks as well as another dedicated library [VI-DAQ], whic h allows you to use the product on LabVIEW. These dedicated libraries are available, free of charge (downloadable), on our web site.
AIO-121602LN-USB, AIO-120802LN-USB
2
1. Before Using the Product

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 li brary API-USBP(WDM)]
It is the library softwa re, and whic h s upp lies co mmand o f hard wa re pro d uced b y our company in the form of sta ndar d Win32 API functio n (DLL). Using progr a mmi ng languages supp o rting Win32AP I fu nctions, such as Visual Basic and Visual C++ e tc. , you can deve lop high-speed application s oftware with feature of har dware produced by our company.
In addition, you can ve r ify the op er atio n of hard wa re us ing Dia gno s tic pr o grams.
< Operating e nviro nme nt > OS Windows 7, Serve r 2008, Vis ta, X P, Se rve r 2003 .e tc
Adaptation lang ua ge Visu a l Basic, Visual C++, Visual C# You can download t he upda ted ve rs io n from the C ON TEC’s Web site (http://www.contec.com/product/device/apiusbp/). For more details on the supported OS, applicable language and new informatio n, p lea se vis it the C ON T EC’s Web site.
.etc
Data Logger Software C-LOGGER [Stored on the bundled CD-ROM driver li brary API-USBP(WDM)]
C-LOGGER is a data logger s oftware program compatible with our ana log I/O produc ts. This program enables the graph display of recorded signal data, zoom observation, file saving, and dynamic transfer to the spreadshe et software “Excel”. No troublesome programming is required.
CONTEC pro vid e s download se r vic es (at http://www.contec.com/clogger) to supply the update d dri ve rs. For details, refer to the C-LOGGER Users Guide or our website. < Operating Enviro n me nt >
OS Windows 7, Vista, XP, S e rver 2 003, 2000
Data acquisition VI library for LabVIEW VI-DAQ (Available fo r do wn load i ng (f r ee of cha rg e) fr om the CONTE C w eb si te.)
This is a VI libra ry to use i n Nat io na l Ins tr u ment s La bV IE W. VI-DAQ is create d w ith a fun ct io n fo r m simi la r to tha t of La bV IE W 's Dat a Acquisition VI, allowing you to use various devic es without co mplicated sett ings. See http://www.contec.com/vidaq/ for details and download of VI-DAQ.
AIO-121602LN-USB, AIO-120802LN-USB
3
1. Before Using the Product

Customer Su pp ort

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 One-Year Warranty

CONTEC products are warranted b y CONTEC CO., LTD. to be free from defects in material and workmanship for up to one year 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 offi c e whe r e 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.
AIO-121602LN-USB, AIO-120802LN-USB
4
1. Before Using the Product
DANGER
WAR
NING
C
AUTION
DANGER
CAUTION

Safety Pr ecaution s

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 indicates an imminently hazardous situation which, if not avoided, wi ll 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.

Handling Precautions

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.
- Do not strike or bend this product. Otherwise, this may malfunction, overheat, cause a failure or breakage.
- Do not tou ch this product's terminals (edge connector) with your hands. Otherwise, this may malfunction, overheat, or cause a failure. If the terminals are touched by someone's hands, clean the terminals with industrial alcohol.
- Do not close the ventilation hole(s) of this product by, for example, placing an object. This may cause overheating, malfunction, and/or failure of the product.
- Do not tou ch the external connector when the power is on. Otherwise this may malfunction, overheat, cause a failure due to static electricity.
- Make sure that your PC can supply ample power to all this product installed. Insufficiently energized products could malfunction, overheat, or cause a failure.
- When connecting multiple units, do one at a time and complete setup for the previous unit before starting to do the next unit.
- The specifications of this product are subject to change without notice for enhancement and quality improvement. Even when using this 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 modi fying this product.
- Regardless of the foregoing statements, CONTEC is not liable for any damages whatsoev er (including damages for loss of business profits) arising out of the use or inability to use this CONTEC product or the information contained herein.
AIO-121602LN-USB, AIO-120802LN-USB
5
1. Before Using the Product
Name
Maker
Turn
Quantity
Installation Site
E04SR301334
SEIWA
2 1 on USB cable at product side
E04SR301334
SEIWA
1 1 on signal cable at product side(CN2, CN3)
- If you use this product in a noisy environment, attach a ferrite core to USB cable to stabilize the operation. When attaching a ferrite core, coil it around once or more near the connector while leaving it open, and then close it.
- Regarding “FCC PART 15 Clas s A Notice” This product has acquired the above-mentioned standard. However, a sufficient margin may not be secured for the standard. In this case, use a ferrite core (TDK: ZCAT 3035-1330 or a compatible product) for the USB cable. When attaching the ferrite core, coil it around twice near t he connector (1cm from the product) while leaving it open, and then close it.
- Regarding “VCCI Class A Not ice” This product has acquired the above-mentioned standard. However, a sufficient margin may not be secured for the standard. In this case, use a ferrite c ore (TDK: ZCAT 3035-1330) for the USB cable. When attaching the ferrite core, coil it around twice near the connector (1cm from the product) while leaving it open, and then close it.
- Regarding “CE EMC Directive Class A Notice” The ferri te core must be installed in interface connecting cable so that this product (AIO­121602LN-USB) may suit the above-mentioned standard.
Image diagram
Ferrite core
Cable
TURN : 1
TURN : 2
TURN : 3
TURN : 4
AIO-121602LN-USB, AIO-120802LN-USB
6
1. Before Using the Product
NOTE
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
WARNING TO US ER
Change or modificatio ns not expre ss ly appro ved the manu fact urer can void the user 's authority to operate this
FCC PART 15 Class A Notice
(1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may caus e undesired o peration. This equip ment has been tested and found to comply with the limits for a Class A dig ital device, pursuant to Part 15 of the FCC Rules. These limits are designed t o provide reasona ble protection aga inst harmful interference when the equipme n t is o pe r a t e d i n a c ommerc ial env ir onment . This eq u ipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accor dance with the instru ct ion manu a l, ma y cau se har mful interference to radio communicat ions. Operation o f this equip ment in a residential area is likely to ca u s e harmful int erference in w hich case the user will be r eq uired to cor r ect the interferen ce at his own e x pense.
equipment.
AIO-121602LN-USB, AIO-120802LN-USB
7
1. Before Using the Product
CAUTION

Environment

Use this product in the following environment. If used in an unauthorized environment, this product may overheat, malfunction, or cause a failure.
Operating temperature
0 - 50°C
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.
Check that the ventilation slit has no obstruction and has no dust or foreign matter adhering.
Moreover, if there is the slit on the case side, please confirm it to the slit similarly.
AIO-121602LN-USB, AIO-120802LN-USB
8
1. Before Using the Product

Storage

When storing this product, keep it in its original packing form. (1) Put this product in the storage bag.
(2) Wrap it in the packing material, and 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.
AIO-121602LN-USB, AIO-120802LN-USB
9
1. Before Using the Product
AIO-121602LN-USB, AIO-120802LN-USB
10
2. Setup

2. Setup

This chapter explains how to set up this product.

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.

Installing the driver

This section enables you to prepare the software and hardware by operating in accordance with each step in this chapter using the bundled CD-ROM. 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 Setting the Hardware Step 2 Install ing the Softw are Step 3 Install ing the Hardware Step 4 Checking Operations with the Diagnosis Progra m
Uninstall the driver and then set it up again if it cannot be set up properly.
The following shows the basic flow for installing product.
Installing the S oftware
- API-USBP(WDM) Development Environment
- C-LOGGER
Page 13
Connecting the Product
- Connecting the PC
Page 16
Setting Properties Using Device Manager
- Setting the Device Name.
Page 18
AIO-121602LN-USB, AIO-120802LN-USB
11
2. Setup

Step 1 Setting th e Hardware

This section describes how to set up the product and how to connect it to a PC.

Name of ea ch p a r t s

LED indicator
The above figure has installed the USB cable attachment.
Figure 2.1. Name of each parts (Front side)
AIO-121602LN-USB, AIO-120802LN-USB
12
2. Setup

Step 2 Initializing the Softwa re

Install software. 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.
Points
- If you are using Windows XP, please log on as Administrator (authorized account) before proceeding to the following steps.

Illustration of Menu Screen

Install Development Environment such as sample programs and onlin e help
Install utility.
Refer to the user’s guide.
Refer to the content of CD-ROM.
Install C-LOGGER.
Points
- Please set up the supplied CD-ROM if it has not been set up. The menu starts automatically.
- If the menu do not start, launch X:AUTORUN.EXE (X:CD-ROM drive) from [Run…] in Start menu.
- The screen design may be different.
AIO-121602LN-USB, AIO-120802LN-USB
13
2. Setup

Installation of API-USBP(WDM) Development Environment

Installation of development environment is namely installing supplied online help and sample program in all language in order to use API function.
(1) Clicking on “Install Development or Execution Environment”. [API-USBP(WDM) Installer] dialog box displays.
(2) Selecting “Advanced Analog I/O driver”.
(3) Clicking on “Continue” Button. Please perform installation following the directions on the screen. And thus the installation is
completed.
* The scre en desig n may be d iffer ent.
AIO-121602LN-USB, AIO-120802LN-USB
14
2. Setup

Installing C-LOGGER

Install the data collection software. (1) Clicking on “C-LOGER”. [Choose Setup Language] dialog box displays.
(2) Selecting “English”.
(3) Clicking on “OK” Button. Please perform installation following the directions on the screen. And thus the installation is
completed.
* The screen design may be differen t.
AIO-121602LN-USB, AIO-120802LN-USB
15
2. Setup
CAUTION

Step 3 Installing t he Ha rdware

Under Windows, information about the converter needs to be detected by the OS. This is called hardware installation.
To use more than one of this product, make sure to install them one by one, setting each unit after completing the pre vio us one.

Connecting the Product

(1) Turn on the power to the PC before connecting this product. (2) When the PC has been up and running, plug the USB interface connector to a USB port in the PC.
The converter can also be connected to the PC via a USB hub of this product.
Figure 2.2. Connecting the PC
(3) USB cable can be attached firmly to the main unit by using a USB cable attachment.
Figure 2.3. Attaching a USB Attachment
- The USB cable attachment cannot be used excluding an attached cable.
- When the USB cable attachment is being used, do not perform removing and connecting the USB cable on the unit side repeatedly. This may damage the USB cable attachment or yourself.
AIO-121602LN-USB, AIO-120802LN-USB
16
2. Setup
* The name of the connected
* The name of the connected

Setting with the Found New H a rd w a r e W iz ard

(1) The “Found New Hardware Wizard” will be started. * In Windows Vista, Because the driver's installation is completed by "Installing the Software", it is
not nec essary to operate it about the Hardware Wizard.
(2) Select “Install from a list or specific location”, then click on the [Next] button.
Detect setup information from supplied CD automatically for installing USB driver.
product will be displayed.
- AIO-121602LN-USB
- AIO-120802LN-USB
Point Please specify the path for supplied CD as follows in the case of failure in detecting automatically.
X:\INF\WDM\AIO (X: CD-ROM drive)
(3) Click on [Finish] button to complete the installation of USB driver.
AIO-121602LN-USB, AIO-120802LN-USB
product will be displayed.
- AIO-121602LN-USB
- AIO-120802LN-USB
17
2. Setup
* The name of the connected

Setting Properties Using Device Manager

After connecting product with a PC and completing driver installation, open Device Manager and set properties.
(1) Starting Device Manager. From [Start] menu, click on [Settings]-[Control Panel]-[System] and then click on [Device
Manager] button in [Hardware] tab.
product will be displayed.
- AIO-121602LN-USB
- AIO-120802LN-USB
- In the case of Windows 98/Me
Right-click on [My Computer] and select [Properties] to start device manager.
AIO-121602LN-USB, AIO-120802LN-USB
18
2. Setup
CAUTION
* The name of the connected
(2) Setting the Device Name. Right-clicking on the product name and selecting [Properties] displays [Product Properties].
Open [Common Settings] tab and enter arbitrary name in the editing box for device name. (Default
name also can be used.)
product will be displayed.
- AIO-121602LN-USB
- AIO-120802LN-USB
* The product-specific number will be displayed as the serial number.
USB driver can not be used without settings. Settings must be performed.
(3) Clicking on [OK] button. Device name is set by clicking [OK] button.
Points
- When the application developed by users is running on another PC, please perform foregoing operation on the target computer. (No need to install software introduced on next page)
- Please use the device name specified in last step for initialization function when initialization is performed using API function. When running on other PC, it can run without changing the application for the same device name being specified.
AIO-121602LN-USB, AIO-120802LN-USB
19
2. Setup
CAUTION

Step 4 Checking Operations with the Diagnosis Program

Use the diagnosis program to check that the product and driver software work normally, thereby you can confirm that they have been set up correctly.

What is the Diagnosis Program?

The diagnosis program diagnoses the states of the product and driver software. It can also be used as a simple checker when an external device is actually connected. Using the “Diagnosis Report” feature reports the driver settings, the presence or absence of the product, I/O status, and interrupt status.

Check Method

To check the analog I/O data, use the loopback connection on the board to directly connect the analog output (channel 0) to an analog input, or connect to an external signal source. No external connection is required if using loopback to check the I/O. The figure below shows an example of checking by connecting to an external signal. The example is for channel 0 on the product.
Connection diagram
< Analog Input >
- Single-Ended In pu t - Differential Input
Figure 2.4. Connection di ag ram (Analog Input)
Input data remains indeterminate when no input pin is connected. The input pin for the channel not
connected to the signal source must be connected to the analog ground. For details, see “Chapter 3 External Connection”.
< Analog Output >
Figure 2.5. Connection di ag ram (Analog Output)
AIO-121602LN-USB, AIO-120802LN-USB
20
2. Setup
* The name of the connected
* The name of the connected

Using the Diagnosis Program

Starting the Diagnosis Program Click [Diagnosis] on the Properties page to start the diagnosis program.
product will be displayed.
- AIO-121602LN-USB
- AIO-120802LN-USB
AIO-121602LN-USB, AIO-120802LN-USB
product will be displayed.
- AIO-121602LN-USB
- AIO-120802LN-USB
21
2. Setup
Analog input Select the input channel and input type from the lists.
Input data is plotted on a graph. Analog output
You can select the desired output channel from the lists. You can select the DC (constant voltage), sine wave, or square wave as the output data.
Digital I/O In the diagnosis program, digital input / output is fixed to 8 points each.
The upper row of circular lamps indicates the digital input states. Red indicates the bit is ON and brown indicates OFF. Clicking the lower row of switches turns the digital output bits ON or OFF.
Counter input Selecting a counter channel displays the count value and state of that counter channel.
Clicking the zero clear buttons resets the count to zero.
AIO-121602LN-USB, AIO-120802LN-USB
22
2. Setup
* The name of the connected
Diagnosis Report (1) The diagnosis report saves detailed data, including the device settings and settings for each channel,
to a text file and di splays the file for you to view.
Clicking [Diagnosis Report] prompts you to specify where to save the report text file.
product will be displayed.
- AIO-121602LN-USB
- AIO-120802LN-USB
(2) The diagnosis report contains the following data.
- Version of OS
- Device Inf or mat i on
- File Information
- Initialization, interrupts I/O state for each channel
Execution time measurement Clicking [Execution Time Measurement] runs the program to measure API function execution speed.
The operation of this program is explained in "API function Execution Speed Measurement Program" in Chapter 4.
AIO-121602LN-USB, AIO-120802LN-USB
23
Loading...
+ 75 hidden pages