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 - USB terminal [AIO-160802GY-USB, AI-1608GY-USB]…1...
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.
Step 3 Installing the Hardware ........................ 15 Connecting the Product ........................15 Setting with the Found New Hardware Wizard ................16 Step 4 Initializing the Software ....................... 17 Step 5 Operation Checks .......................... 19 Check Method ............................ 19 Using the Diagnosis Program ......................20 AIO-160802GY-USB, AI-1608GY-USB...
Page 5
Analog Output Function .......................... 48 1. Setting the Conversion Conditions....................49 2. Starting/Stopping Operation ......................56 3. Monitoring the Status and Acquiring Data ................57 4.Reset ..............................58 Digital Input Function ..........................59 Digital Output Function ........................... 60 ABOUT HARDWARE AIO-160802GY-USB, AI-1608GY-USB...
Page 6
Block Diagram ............................66 Control Signal Timings ..........................68 Control Signal Timings for Analog Input ..................68 Control Signal Timings for Analog Output ..................69 About Calibration............................70 Differences between AIO-160802AY-USB and AIO-160802GY............... 71 Differences between AI-1608AY-USB and AI-1608GY-USB ..............71 AIO-160802GY-USB, AI-1608GY-USB...
This product is a USB2.0 compatible terminal module that extends the analog I/O function of USB port of PCs. 8ch/16bits analog inputs and 2ch/16bits analog outputs(AI-1608GY-USB is only analog input) are employed and signal lines can be directly connected to the screw terminals in the system.
With Polymorphic VI, our design enables a LabVIEW user to operate seamlessly. Our aim is for the customers to perform easily, promptly what they wish to do. For more details on the library and download of DAQfast for LabVIEW, please visit the CONTEC’s Web site. AIO-160802GY-USB, AI-1608GY-USB...
1. Before Using the Product Cable & Connector (Option) 14pin Screw Terminal Connector Set(6 pieces) : CN6-Y14 Accessories (Option) Bracket for USB I/O Terminal products : BRK-USB-Y * Check the CONTEC’s Web site for more information on these options. AIO-160802GY-USB, AI-1608GY-USB...
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 by CONTEC CO., LTD.
Even when using the product continuously, be sure to read the manual 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.
It may cause a trouble in recognizing and operating the device according to the kind of USB hub. If you use the USB hub, we encourage you to take advantage of the CONTEC’s product loan service to confirm operation before purchasing.
(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-160802GY-USB, AI-1608GY-USB...
Page 15
1. Before Using the Product AIO-160802GY-USB, AI-1608GY-USB...
Step 1 Installing the Software Step 2 Setting the Hardware Step 3 Installing the Hardware Step 4 Initializing the Software Step 5 Operation Checks If Setup fails to be performed normally, see the “Setup Troubleshooting” section at the end of this chapter. AIO-160802GY-USB, AI-1608GY-USB...
For the detailed installation procedures for different operating systems, see the help file on the included media (\Help\Eng\APIUSBP.chm) or in the folder in which you installed the Development Environment package downloaded from the CONTEC website (APIUSBP.chm). Illustration of Menu Screen Install the Development Environment such as sample programs and online help, etc.
(2) The API-USBP(WDM) Installer window appears automatically. If the panel does not appear, run (drive letter):\AUTORUN.exe. (3) Click on the [Install Development or Execution Environment] button. CAUTION Before installing the software in Windows 2000 or later, log in as a user with administrator privileges. AIO-160802GY-USB, AI-1608GY-USB...
Page 19
(2) Select the "Advanced Analog I/O driver". (3) Click on the [Install] button. Run the installation (1) Complete the installation by following the instructions on the screen. (2) The Readme file appears when the installation is complete. AIO-160802GY-USB, AI-1608GY-USB...
(1) Clicking on “C-LOGGER”. [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 different. AIO-160802GY-USB, AI-1608GY-USB...
Table 2.1. List of Status LED Functions Name Function Indicator color LED indicator ON : Communication established USB communication status OFF : Communication unestablished LINK Status GREEN ON : PC communication established PC connection status OFF : PC communication unestablished AIO-160802GY-USB, AI-1608GY-USB...
It may cause a trouble in recognizing and operating the device according to the kind of USB hub. If you use the USB hub, we encourage you to take advantage of the CONTEC’s product loan service to confirm operation before purchasing.
[Recommended]” and then click on the “Next” button. * The name of the connected product will be displayed. - AIO-160802GY-USB - AI-1608GY-USB The device is automatically installed, and processing is completed. You have now finished installing the initial setting of Hardware. AIO-160802GY-USB, AI-1608GY-USB...
- AIO-160802GY-USB - AI-1608GY-USB (2) The installed hardware appears under the CONTEC Devices node. Open the CONTEC Devices node and select the device you want to setup (the device name should appear highlighted). Click [Properties]. AIO-160802GY-USB, AI-1608GY-USB...
Page 25
* The name of the connected product will be displayed. - AIO-160802GY-USB - AI-1608GY-USB The product-specific number will be displayed as the serial number. The initial device name that appears is a default value. You can use this default name if you wish.
The figure below shows an example of checking by connecting to an external signal. The analog input example illustrated below is an example of using analog input channel 0 of AIO- 160802GY-USB or AI-1608GY-USB. The analog output example illustrated below is an example of using analog input channel 0 of AIO- 160802GY-USB.
Starting the Diagnosis Program Click [Diagnosis] on the Properties page to start the diagnosis program. * The name of the connected product will be displayed. - AIO-160802GY-USB - AI-1608GY-USB * You cannot use the counter function with this product. AIO-160802GY-USB, AI-1608GY-USB...
Page 28
*This feature is supported only by the AIO-160802GY-USB. Digital I/O 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. AIO-160802GY-USB, AI-1608GY-USB...
Page 29
Clicking [Diagnosis Report] prompts you to specify where to save the report text file. * The name of the connected product will be displayed. - AIO-160802GY-USB - AI-1608GY-USB AIO-160802GY-USB, AI-1608GY-USB...
Page 30
- 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-160802GY-USB, AI-1608GY-USB...
Refer to the source code for the sample programs. The OS does not boot correctly or does not detect the device correctly. See "Troubleshooting" in the help file for the analog I/O driver. If your problem cannot be resolved Contact your retailer. AIO-160802GY-USB, AI-1608GY-USB...
Using the On-terminal Connectors Connecting a terminal to a Connector To connect an external device to this terminal, plug the cable from the device into the interface connector (CN1, CN2) shown below. Figure 3.1. Interface Connectors and Mating Connectors AIO-160802GY-USB, AI-1608GY-USB...
Analog output signal. The numbers correspond to channel numbers. *Only AIO-160802GY-USB AGND Common analog ground for analog I/O signals. DI00 - Dl03 Digital input signal. DO00 - DO03 Digital output signal. DGND Common digital ground for digital I/O signals AIO-160802GY-USB, AI-1608GY-USB...
Removing the connector plug by grasping the cable can break the wire. 9 - 10mm - Applicable plug(accessory bundled) 14 pin (Screw T erminal) Plug header Figure 3.4. Connecting an Interface Connector and Connectors That Can Be Used AIO-160802GY-USB, AI-1608GY-USB...
The signal connected to an input channel may fluctuate after switching of the multiplexer. In this case, the cable between this product and the signal source can be shortened or a buffer with a high-speed amplifier can be placed between the product and the signal source in order to reduce the fluctuation. AIO-160802GY-USB, AI-1608GY-USB...
Do not connect an analog output signal to any other analog output, either on this product or on an external device, as this may cause a fault on this product. Analog output signal is supported only by the AIO-160802GY-USB When the USB cable is plugged, the analog output signal will be -10V. AIO-160802GY-USB, AI-1608GY-USB...
“About Hardware - Control Signal Timings”. CAUTION The external trigger signal is fixed to the following signal location when using C-LOGGER. DI00 : External start trigger signal input * The external stop tripper and external clock cannot be used. AIO-160802GY-USB, AI-1608GY-USB...
4. Application Development Please reference to online help and sample program when developing applications. Reference to Online Help Click on [Programs]-[CONTEC API-USBP(WDM)]-[API-USBP(W32) Help] from [Start] menu. The information for application development, such as function reference is provided in [API-USBP(W32) Help].
4. Application Development Sample Program Sample programs are copied in installation path. (The default path is Program Files\CONTEC~) Sample programs in all language are provided here. To run a sample program, click on [Programs]- [CONTEC API-USBP(WDM)]- [AIO]- [Sample Name] from [Start] menu.
To use the program for measuring the executive speed of function, please click the button "Measure tool..." from CONTEC DIAGNOSIS PROGRAM. Measuring Analog Input tool This is a utility that measuring Analog input with FIFO memory infinitely. Retrieves the data from memory as the event is occurred because the number of conversion data has arrived at the maximum.
[Device Manager] tab. (You can also open Device Manager by right clicking on My Computer and selecting Properties.) Select [Windows Driver Package - CONTEC (****)], and then click [Uninstall/Change]. * "***" contains the driver category name (caio, ccnt, cdio, etc.).
Setting acquirement conditions easily with wizard Operating intuitively with file viewer and property viewer Saving to file automatically for long-time and mass-data acquirement Displaying Graph in 2 Screens: Whole and Zoom Abundant Function for Customization For details, refer to the C-LOGGER Users Guide. AIO-160802GY-USB, AI-1608GY-USB...
Page 43
5. About C-LOGGER AIO-160802GY-USB, AI-1608GY-USB...
1.Setting the Conversion Condititions Clock Resolution Start Condition Input Mode Stop Condition Channel Event Channel conversion order Data transfer method Memory 2. Starting/Stopping Operation Start Stop 3.Monitoring the Status and Acquiring Data Status Sampling Transfer Data aquisition 4.Reset Status Memory AIO-160802GY-USB, AI-1608GY-USB...
When the device covers the range of 0 - 10V, the minimum unit of converted voltages is 10÷4096 ≈ 2.44mV. If the device has a resolution of 16-bit, it is 10÷65536 ≈ 0.153mV instead. AIO-160802GY-USB, AI-1608GY-USB :The resolution is 16-bit. Input Mode ”Input Mode”...
Page 46
Software setup is not required as this product uses a fixed channel conversion priority. Range ”Range” means the range of voltages at which analog input can be performed. Software setup of the range is not required as this product uses a fixed range of voltages. AIO-160802GY-USB, AI-1608GY-USB : ±10V AIO-160802GY-USB, AI-1608GY-USB...
Page 47
The device buffer mode provides function that allows the number of items of conversion data using the number of sampling times as a unit to obtain the number of items of conversion data directly from the voltage. Device buffer mode AIO-160802GY-USB, AI-1608GY-USB...
Page 48
The sampling clock controls the sampling frequency. You can select either the internal sampling clock, external sampling clock. Internal sampling clock The clock signal from the on-board clock generator is used. External sampling clock The edge of the digital signal input from an external device is used for the sampling clock. AIO-160802GY-USB, AI-1608GY-USB...
Page 49
With this product, the level comparison is performed by the device driver, so sampling is performed internally before the level condition is satisfied. Therefore, due to the load state (such as the conversion speed and the CPU), an overflow may cause the product to stop before the level comparison condition is satisfied. AIO-160802GY-USB, AI-1608GY-USB...
Page 50
External trigger This product starts waiting for an external control signal after the specified number of samples have been performed. Sampling stops when the specified edge (rising edge or falling edge) is input from the external control signal. AIO-160802GY-USB, AI-1608GY-USB...
This status remains ON, after this product starts sampling until the start trigger is input, if the conversion start condition is an external trigger or level comparison. The status is set to OFF when the input trigger is input to start conversion. AIO-160802GY-USB, AI-1608GY-USB...
Page 52
When using the device buffer, the conversion data stored in memory can be retrieved using a software command. The figure below shows the correspondence between the sampling count and the conversion channel for the conversion data stored in memory. Input data is acquired differently depending on the memory format used. AIO-160802GY-USB, AI-1608GY-USB...
Page 53
(shaded portion below). The larger the number of samples taken, the older the data item acquired first. As the ring memory retains data even after that data is acquired, you can fetch the same data any number of times. AIO-160802GY-USB, AI-1608GY-USB...
This command resets the following memory related states. Resets the conversion data in memory. Resets the sampling count to 0 when a stop trigger is input. Resets the buffer overflow status. Resets the status information for the specified data save count. AIO-160802GY-USB, AI-1608GY-USB...
Start Condition Range Stop Condition Event Output data Data transfer method Memory Repeat Setting data Starting/Stopping Operation Start Stop 3.Monitoring the Status and Acquiring Data Status Sampling Repeat 4.Reset Status Memory *This feature is supported only by the AIO-160802GY-USB. AIO-160802GY-USB, AI-1608GY-USB...
You can specify an arbitrary number of points of analog output by setting the channels by means of software. Range "Range" means the range of voltages at which analog output can be performed. Software setup of the range is not required as this product uses a fixed range of voltages. AIO-160802GY-USB : ±10V AIO-160802GY-USB, AI-1608GY-USB...
Page 57
The analog signal corresponding to the output data contains an error as follows: - Output data "42598" converted to: 2.9998 V - Output data "42598" converted to: 3.0001 V This error is a consequential error occurring when output data is obtained from an expected analog value. AIO-160802GY-USB, AI-1608GY-USB...
Page 58
The device buffer mode provides a function that allows the number of items of conversion data using the number of sampling times as a unit to set the number of items of conversion data directly using the voltage. Device buffer mode AIO-160802GY-USB, AI-1608GY-USB...
Page 59
DA conversion is performed on the oldest data in memory. You can write to memory during analog output operation. An error occurs if the volume of data exceeds the memory size. However, this error does not stop analog output if it is in progress. AIO-160802GY-USB, AI-1608GY-USB...
Page 60
You cannot write to the memory during its operation of analog output. DA conversion data is output continuously in the sequence in which the ring format data is stored. Although the figure shows a single analog output channel, output from multiple channels is also possible. AIO-160802GY-USB, AI-1608GY-USB...
Page 61
When using FIFO format, setting data to memory is always performed from the most recent data. New data can be added during conversion. Procedure for RING format When using ring format, a ring memory area large enough for the data to be set is reserved. Data cannot be modified during DA conversion. AIO-160802GY-USB, AI-1608GY-USB...
Page 62
Sampling stops when the specified edge (rising edge or falling edge) is input from the external control signal. Software Sampling continues indefinitely in this mode. Sampling only stops in response to a software command or an error. AIO-160802GY-USB, AI-1608GY-USB...
This event occurs when conversion stops due to an DA conversion error. 2. Starting/Stopping Operation Analog output operation is started by a software command (the analog output start command). Similarly, you can stop analog output at any time using a software command (the analog output stop command). AIO-160802GY-USB, AI-1608GY-USB...
ON. This error stops sampling. Sampling The number of sampled items of output data transferred from in memory can be obtained by the software command. This command can only be used in device buffer mode. AIO-160802GY-USB, AI-1608GY-USB...
This command resets the following memory related states. Resets the conversion data in memory. Resets the repeat count to 0. Resets the sampling count to 0 when a stop trigger is input. Resets the status information for the specified data save count. AIO-160802GY-USB, AI-1608GY-USB...
Byte data = 05(5H) Bit 3 Bit 2 Bit 1 Bit 0 0(OFF) 1(ON) 0(OFF) 1(ON) Digital filter A digital filter can be used on the input bits. The filter time can be set to "don't use", 1µs by software. AIO-160802GY-USB, AI-1608GY-USB...
0 and 15. Ex. Output of bit 3 (ON), bit 2 (OFF), bit 1 (ON), bit 0 (OFF) Byte data = 10(AH) Bit 0 Bit 3 Bit 2 Bit 1 1(ON) 0(OFF) 1(ON) 0(OFF) AIO-160802GY-USB, AI-1608GY-USB...
LVTTL level (Selecting the rising / falling edge to the DI00-pin by the software) *8 External stop signal LVTTL level (Selecting the rising / falling edge to the DI01-pin by the software) *8 External clock signal LVTTL level (Selecting the rising / falling edge to the DI02-pin by the software) *8 AIO-160802GY-USB, AI-1608GY-USB...
Page 69
The USB transfer speed depends on the host PC environment used (OS and USB host controller). As a USB hub is also counted as one device, you cannot just connect 127 USB terminals. The analog input / output are shared, so cannot trigger set different trigger settings for the same terminal. AIO-160802GY-USB, AI-1608GY-USB...
Page 70
7. About Hardware - AI-1608GY-USB Table 7.2. Specification<AI-1608GY-USB> Item Specification Analog input Isolated specification Unisolated Input type Single-Ended Input Number of input channels Input range Bipolar ±10V Maximum input ±20V rating Input impedance 1MΩ or more Resolution 16bit Non-Linearity error ±12LSB...
Page 71
Each input accept TTL (5VDC) level signals. The USB transfer speed depends on the host PC environment used (OS and USB host controller). As a USB hub is also counted as one device, you cannot just connect 127 USB terminals. AIO-160802GY-USB, AI-1608GY-USB...
SR P Hold time of sampling stop (Rising edge) nsec Set up time of sampling stop (Falling edge) nsec Hold time of sampling stop (Falling edge) nsec CAUTION The times listed in Table 7.3 are for standard operating conditions. AIO-160802GY-USB, AI-1608GY-USB...
SR P Hold time of sampling stop (Rising edge) nsec Set up time of sampling stop (Falling edge) nsec Hold time of sampling stop (Falling edge) nsec CAUTION The times listed in Table 7.4 are for standard operating conditions. AIO-160802GY-USB, AI-1608GY-USB...
* The name of the connected product will be displayed. - AIO-160802GY-USB - AI-1608GY-USB * The product-specific number will be displayed as the serial number. Proceed with connecting the calibration equipment and performing the calibration in accordance with the instructions displayed by the calibration program.
Analog input buffer memory 1k data 8k data Differences between AI-1608AY-USB and AI-1608GY-USB The connector pins of the AI-1608GY-USB are compatible with those of the conventional AI- 1608AY-USB, but the following main differences exist. AI-1608AY-USB AI-1608GY-USB Analog input conversion speed...
Page 79
June 2019 Edition 3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan https://www.contec.com/ No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO., LTD. [06272019] [07292015] Management No. NA04342 [06272019_rev3] Parts No.