Contec AIO-160802AY-USB User Manual

High-resolution analog i/o terminal for usb2.0
Table of Contents

Advertisement

Quick Links

PC-HELPER
High-Resolution Analog I/O
Terminal for USB2.0
AIO-160802AY-USB
User's Guide
CONTEC CO.,LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Contec AIO-160802AY-USB

  • Page 1 PC-HELPER High-Resolution Analog I/O Terminal for USB2.0 AIO-160802AY-USB User’s Guide CONTEC CO.,LTD.
  • Page 2: Check Your Package

    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-160802AY-USB]…1...
  • Page 3: Copyright

    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.
  • Page 4: Table Of Contents

    Step 3 Installing the Hardware ......................12 Connecting the Product ......................12 Setting with the Found New Hardware Wizard ................ 13 Setting Properties Using Device Manager ................14 Step 4 Checking Operations with the Diagnosis Program ............... 16 What is the Diagnosis Program? ....................16 AIO-160802AY-USB...
  • Page 5 Analog Output Function ........................50 1. Setting the Conversion Conditions..................51 2. Starting/Stopping Operation ....................58 3. Monitoring the Status and Acquiring Data ................59 4.Reset............................59 Digital Input Function ........................60 Digital Output Function........................61 ABOUT HARDWARE Hardware specification ........................63 AIO-160802AY-USB...
  • Page 6 Physical dimensions ......................... 65 Block Diagram..........................66 Control Signal Timings ........................67 Control Signal Timings for Analog Input ................. 67 Control Signal Timings for Analog Output................68 About Calibration ..........................69 AIO-160802AY-USB...
  • Page 7 AIO-160802AY-USB...
  • Page 8: Before Using The Product

    Wiring is easy as the terminal connector (screw type) is used. - 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. AIO-160802AY-USB...
  • Page 9: Support Software

    1. Before Using the Product Support Software You should use CONTEC support software according to your purpose and development environment. Driver Library API-USBP(WDM) (Bundled) It is the library software, and which supplies command of hardware produced by our company in the form of standard Win32 API function(DLL).
  • Page 10: Customer Support

    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.
  • Page 11: Safety Precautions

    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.
  • Page 12 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.
  • Page 13: Environment

    (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-160802AY-USB...
  • Page 14: Setup

    Step 1 Setting the Hardware Step 2 Installing the Software Step 3 Installing the Hardware Step 4 Checking Operations with the Diagnosis Program Uninstall the driver and then set it up again if it cannot be set up properly. AIO-160802AY-USB...
  • Page 15: Step 1 Setting The Hardware

    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-160802AY-USB...
  • Page 16: Step 2 Initializing The Software

    Install the 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-160802AY-USB...
  • Page 17: Installation Of Api-Usbp(Wdm) Development Environment

    (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 “Install” Button. Please perform installation following the directions on the screen. And thus the installation is completed. The screen design may be different. AIO-160802AY-USB...
  • Page 18: Installing C-Logger

    (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-160802AY-USB...
  • Page 19: Step 3 Installing The Hardware

    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.
  • Page 20: Setting With The Found New Hardware Wizard

    Detect setup information from supplied CD automatically for installing USB driver. * The name of the connected product will be displayed. - AIO-160802AY-USB Point Please specify the path for supplied CD as follows in the case of failure in detecting automatically.
  • Page 21: Setting Properties Using Device Manager

    From [Start] menu, click on [Settings]-[Control Panel]-[System] and then click on [Device Manager] button in [Hardware] tab. * The name of the connected product will be displayed. - AIO-160802AY-USB In the case of Windows 98 Right-click on [My Computer] and select [Properties] to start device manager. AIO-160802AY-USB...
  • Page 22 * The name of the connected product will be displayed. - AIO-160802AY-USB * The product-specific number will be displayed as the serial number. CAUTION USB driver can not be used without settings. Settings must be performed.
  • Page 23: Step 4 Checking Operations With The Diagnosis Program

    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 > Interface connector AO 00 e.g.Tester AGND AIO-160802AY-USB...
  • Page 24: Using The Diagnosis Program

    Using the Diagnosis Program 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-160802AY-USB * You cannot use the counter function with this product. AIO-160802AY-USB...
  • Page 25 You can select the DC (constant voltage), sine wave, or square wave as the output data. 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-160802AY-USB...
  • Page 26 (1) The diagnosis report saves detailed data, including the device settings and settings for each channel, to a text file and displays the file for you to view. Clicking [Diagnosis Report] prompts you to specify where to save the report text file. * The name of the connected product will be displayed. - AIO-160802AY-USB AIO-160802AY-USB...
  • Page 27 - 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-160802AY-USB...
  • Page 28: External Connection

    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-160802AY-USB...
  • Page 29: Connector Pin Assignment

    AO00 - AO01 Analog output signal. The numbers correspond to channel numbers. 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-160802AY-USB...
  • Page 30: Cable Connection

    After the insertion, secure the wire rod with screws. Compatible wires are AWG 28 - 16. CAUTION Removing the connector plug by grasping the cable can break the wire. 9 - 10mm - Applicable plug(accessory bundled) 14 pin (Screw Terminal) Plug header Figure 3.4. Connecting an Interface Connector and Connectors That Can Be Used AIO-160802AY-USB...
  • Page 31: Analog Input Signal Connection

    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-160802AY-USB...
  • Page 32: Analog Output Signal Connection

    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. When the USB cable is plugged, the analog output signal will be -10V. AIO-160802AY-USB...
  • Page 33: Digital I/O Signals Connection

    “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-160802AY-USB...
  • Page 34: Application Development

    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].
  • Page 35: Sample Program

    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.
  • Page 36: Use Of Utility Program

    Program for measuring the executive speed of function is a program that can measure the executive time of some main functions. To use the program for measuring the executive speed of function, please click the button "Measure tool..." from CONTEC DIAGNOSIS PROGRAM. * The name of the connected product will be displayed.
  • Page 37 FIFO memory is more visual displayed. * The name of the connected product will be displayed. - AIO-160802AY-USB 256K Setting Channels, Internal/External Clock, Sampling Clock, Sampling Number that it makes event occurring. After the sampling clock error event is occurred, setting all of conversion condition.
  • Page 38 * The name of the connected product will be displayed. - AIO-160802AY-USB 256K AIO-160802AY-USB...
  • Page 39 When the application is measuring with internal clock, sampling clock is too fast to process. When the application is measuring with External clock, clock cycle is too fast. moreover, noise is be considered. (4) The measuring is stopping after clicked the button of [Stop]. AIO-160802AY-USB...
  • Page 40: Returning To Initial State

    [Device Manager] tab. (You can also open Device Manager by right clicking on My Computer and selecting Properties.) 2. All of the hardware that uses the API-TOOL(WDM) driver is registered under the CONTEC Devices tree. Open the device tree, select the hardware to uninstall, and then right-click the hardware.
  • Page 41 <Uninstall of device driver> Use [My Computer] - [Control Panel] - [Add and Remove Programs] to uninstall the device driver. Select [Windows driver package - CONTEC (****)] and then click [Change/Remove]. * "***" contains the driver category name (caio, ccnt, cdio, csmc, etc.).
  • Page 42 <Uninstall of development environment> Use [My Computer] - [Control Panel] - [Add and Remove Programs] to uninstall the development environment. Select [CONTEC API-***(WDM) VerX.XX (development environment)] and then click [Add/Remove]. * "***" contains the driver category name (AIO, CNT, DIO, etc.).
  • Page 43 4. Application Development AIO-160802AY-USB...
  • Page 44: About C-Logger

    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-160802AY-USB...
  • Page 45 5. About C-LOGGER AIO-160802AY-USB...
  • Page 46: Functions

    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-160802AY-USB...
  • Page 47: Setting The Conversion Conditions

    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-160802AY-USB :The resolution is 16-bit. Input Mode ”Input Mode”...
  • Page 48 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. : ±10V AIO-160802AY-USB AIO-160802AY-USB...
  • Page 49 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-160802AY-USB...
  • Page 50 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-160802AY-USB...
  • Page 51 This product starts waiting for an external control signal as soon as the operation start command is output. Sampling and data transfer to memory start when the specified edge (rising edge or falling edge) is input from the external control signal. AIO-160802AY-USB...
  • Page 52 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-160802AY-USB...
  • Page 53: Starting/Stopping Operation

    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-160802AY-USB...
  • Page 54 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-160802AY-USB...
  • Page 55 (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-160802AY-USB...
  • Page 56: Reset

    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-160802AY-USB...
  • Page 57: Analog Output Function

    Analog output processes are classified as follows: 1.Setting the Conversion Condititions Resolution Clock Channel 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 AIO-160802AY-USB...
  • Page 58: Setting The Conversion Conditions

    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-160802AY-USB : The resolution is 16-bit. Channel "Channel"...
  • Page 59 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-160802AY-USB...
  • Page 60 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-160802AY-USB...
  • Page 61 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-160802AY-USB...
  • Page 62 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-160802AY-USB...
  • Page 63 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-160802AY-USB...
  • Page 64 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-160802AY-USB...
  • Page 65: Starting/Stopping Operation

    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-160802AY-USB...
  • Page 66: Monitoring The Status And Acquiring Data

    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-160802AY-USB...
  • Page 67: Digital Input Function

    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-160802AY-USB...
  • Page 68: Digital Output Function

    0 and 15. Ex. Output of bit 3 (ON), bit 2 (OFF), bit 1 (ON), bit 0 (OFF) Byte data = 10(AH) Bit 3 Bit 0 Bit 2 Bit 1 1(ON) 0(OFF) 1(ON) 0(OFF) AIO-160802AY-USB...
  • Page 69 6. Functions AIO-160802AY-USB...
  • Page 70: About Hardware

    DI00-pin by the software) LVTTL level (Selecting one of the rising / falling / signal edge input to the External stop signal DI01-pin by the software) External clock signal LVTTL level (Selecting the rising / falling to the DI02-pin by the software) AIO-160802AY-USB...
  • Page 71 10 μ SEC/ch is availablel. However, the actual amount of data that can be stored in the buffer memory will decrease: one unit of data of the buffer memory is consumed per sampling as the internal status. AIO-160802AY-USB...
  • Page 72: Physical Dimensions

    However, if the number of samplings that exceeds the table above is specified, an adjustment of the sampling clock is required for the data transfer process from the device to the PC, which may prevent a sampling with the sampling clock above. Physical dimensions [mm] Figure 7.1. Physical dimensions AIO-160802AY-USB...
  • Page 73: Block Diagram

    7. About Hardware Block Diagram 4 Digital Input / 4 Digital Output 8ch Single-end 2ch Analog Outputs Analog Inputs Multiplexer Amplifer Buffer Converter Amplifer DC/DC converter FPGA Converter USB 2.0 Controller & USB Connector Figure 7.2. Block Diagram AIO-160802AY-USB...
  • Page 74: Control Signal Timings

    Set up time of sampling stop (Rising edge) nsec 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.2 are for standard operating conditions. AIO-160802AY-USB...
  • Page 75: Control Signal Timings For Analog Output

    Set up time of sampling stop (Rising edge) nsec 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-160802AY-USB...
  • Page 76: About Calibration

    Click the [Calibration] button on the property page for the device to start the calibration program. * The name of the connected product will be displayed. - AIO-160802AY-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.
  • Page 77 3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan Japanese http://www.contec.co.jp/ English http://www.contec.com/ Chinese http://www.contec.com.cn/ No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO., LTD. [12062011] [07192006] Management No. A-51-248 [12062011_rev8] Parts No. LYGF038...

Table of Contents