background image

1. Before Using the Product 

 

 

 

 

8

 

AIO-160802GY-USB, AI-1608GY-USB 

 
 

Содержание AIO-160802GY-USB

Страница 1: ...PC HELPER Terminal for USB2 0 High Resolution Analog I O AIO 160802GY USB High Resolution Analog I O AI 1608GY USB User s Guide CONTEC CO LTD ...

Страница 2: ...AIO 160802GY USB AI 1608GY USB 1 Interface connector plugs 2 First step guide 1 Disk 1 API USBP WDM 1 USB Cable 1 8m 1 USB Cable Attachment 1 Serial number label 1 Product Registration Card Warranty Certificate 1 1 Driver software User s Guide this guide USB terminal Interface connector plug x2 USB Cable 1 8m USB Cable Attachment Disk First step guide First step guide XXXXXXXXXXXXX XXXXXXXXXXXXX P...

Страница 3: ...t 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 pr...

Страница 4: ...cautions 5 Safety Information 5 Handling Precautions 5 Environment 6 Inspection 7 Storage 7 Disposal 7 2 SETUP 9 What is Setup 9 Installing the driver 9 Step 1 Installing the Software 10 Illustration of Menu Screen 10 Starting the Install Program 11 Installing C LOGGER 13 Step 2 Setting the Hardware 14 Name of each parts 14 Step 3 Installing the Hardware 15 Connecting the Product 15 Setting with t...

Страница 5: ...ENT 31 Reference to Online Help 31 Printing Function Reference 31 Sample Program 32 Distributing Developed Application 32 Use of utility program 33 Uninstalling the Driver Libraries 34 5 ABOUT C LOGGER 35 About C LOGGER 35 6 FUNCTIONS 37 Analog Input Function 37 1 Setting the Conversion Conditions 38 2 Starting Stopping Operation 44 3 Monitoring the Status and Acquiring Data 44 4 Reset 47 Analog O...

Страница 6: ...ensions 65 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 ...

Страница 7: ...vi AIO 160802GY USB AI 1608GY USB ...

Страница 8: ...ly as the bus power of USB is used Equipped with the buffer memory which can be used in either FIFO or ring format This product includes buffer memory 8K data for analog input and 1K data for output which can be used in either FIFO or ring format You can perform analog I O in the background independent of software and the current status of the PC Windows compatible driver libraries are attached Us...

Страница 9: ...and Visual C etc and diagnostic program useful for checking operation is provided 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 disk driver library API USBP WDM C LOGGER is a data logger software program compatible with our analog input products This program enables the graph displ...

Страница 10: ...0802GY USB AI 1608GY USB 3 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 ...

Страница 11: ...ned 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 negl...

Страница 12: ...e converter s pin parts USB connector with your hands Otherwise the converter may malfunction overheat or cause a failure If the pin parts are touched by someone s hands clean the parts with industrial alcohol Do not touch the external connector 14 pin plug header when the power is on Otherwise this may malfunction overheat cause a failure due to static electricity Make sure that your PC or expans...

Страница 13: ...e pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this eq...

Страница 14: ... 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 connector has no dust or foreign ma...

Страница 15: ...1 Before Using the Product 8 AIO 160802GY USB AI 1608GY USB ...

Страница 16: ...dure to be performed before you can start developing application programs for the board using the bundled media Driver Library API USBP 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 I...

Страница 17: ...basic procedure is the same 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 Install...

Страница 18: ...DM on your PC 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 Before installing the software in Windows 2000 or later log in as a user with administrator privileges CAUTION ...

Страница 19: ...ears to select Driver to install and Install option Usage of driver library 2 Selectthe 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 installationis complete ...

Страница 20: ... data collection software 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 ...

Страница 21: ...ED indicator Figure 2 1 Name of each parts Front side Table 2 1 List of Status LED Functions Name Function Indicator color LED indicator LINK Status USB communication status GREEN ON Communication established OFF Communication unestablished PC connection status ON PC communication established OFF PC communication unestablished LINK Status Interface connector USB TypeA ...

Страница 22: ...as 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 Figure 2 2 Connecting the PC 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...

Страница 23: ...different Windows operating systems are included on the bundled media so refer to the files in the following folder Help Eng APIUSBP chm 1 The Found New Hardware Wizard will be started Select No not this time and then click the Next button 2 When the model name of hardware is displayed select Install the software automatically Recommended and then click on the Next button The device is automatical...

Страница 24: ... described in Step 4 To change the device name follow the setting procedure shown below Setting the device name 1 Run Device Manager From My Computer Control Panel select System and then select the Device Manager tab You can also open Device Manager by right clicking on My Computer and selecting Properties 2 The installed hardware appears under the CONTEC Devices node Open the CONTEC Devices node ...

Страница 25: ... when programming 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 Make sure that you do not use the same name for more than one device You have now finished installing the initial setting of Software The name of the connected product will be displayed AIO 160802GY USB AI 1608GY USB ...

Страница 26: ...nalog 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 Use the diagnosis program to perform an operation check Connection diagram 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 connec...

Страница 27: ...iagnosis Program Starting the Diagnosis Program Click Diagnosis on the Properties page to start the diagnosis program You cannot use the counter function with this product The name of the connected product will be displayed AIO 160802GY USB AI 1608GY USB ...

Страница 28: ...sired output channel from the lists You can select the DC constant voltage sine wave or square wave as the output data 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 ...

Страница 29: ...tailed 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 160802GY USB AI 1608GY USB ...

Страница 30: ...ce Information 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 ...

Страница 31: ...t check by connecting a battery or similar if you do not have any other suitable signal source Also check that connecting to analog ground reads correctly as 0V The diagnostic program works correctly but the application program does not The diagnostic program uses the API AIO WDM functions If the diagnostic program works correctly other applications should work correctly also If you have a problem...

Страница 32: ...oduct Check the information available here when connecting an external device 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 CN2 CN1 ...

Страница 33: ...O01 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 CN1 14 AGND 13 AO00 12 AGND 11 AO01 10 DI00 9 DI01 8 DI02 7 DI03 6 DGND 5 DO00 4 DO01 3 DO02 2 DO03 1 DGND CN2 AGND 1 AI07 2 AI06 3 AI05 4 AI04 5 AG...

Страница 34: ...mately 9 10mm of the covered part of a wire rod and then insert it to the opening After the insertion secure the wire rod with screws Compatible wires are AWG 28 16 Removing the connector plug by grasping the cable can break the wire Figure 3 4 Connecting an Interface Connector and Connectors That Can Be Used CAUTION 9 10mm Applicable plug accessory bundled 14 pin Screw Terminal Plug header ...

Страница 35: ... line and connect the shielding to ground Figure 3 6 Single ended Input Connection Shielded Cable If the signal source contains over 1MHz signals the signal may effect the cross talk noise between channels If the product and the signal source receive noise or the distance between the product and the signal source is too long data may not be input properly An input analog signal should not exceed t...

Страница 36: ...shielding to ground Figure 3 8 Analog Output Connection Shielded Cable If this product or the connected wire receives noise or the distance between this product and the target is long data may not be outputted properly For analog output signal the current capacity is 1mA Max Check the specification of the connected device before connecting this product Do not short the analog output signal to anal...

Страница 37: ... signals to analog ground digital ground and or power line Doing so may damage the terminal Each input accepts 5V TTL level signals Reference For the operation timing when using it as control signal see Control Signal Timings in Chapter 7 About Hardware Control Signal Timings The external trigger signal is fixed to the following signal location when using C LOGGER DI00 External start trigger signa...

Страница 38: ...tion reference is provided in API USBP W32 Help Detailed introduction to search method for help should be found from How to navigate Help in the help For basic usage please reference to Tutorial for help Printing Function Reference Clicking on Print button from online help prints the page being displayed It can be printed entirely as follows in the case of referencing to printing function As figur...

Страница 39: ...ram 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 Distributing Developed Application Please distribute the developed application with USB driver in supplied the bundled media Created application including driver can be freely distributed ...

Страница 40: ...al displayed 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 Measuring Analog Output tool support only AIO 160802GY USB This is an analog output and measurement utility able to sample indefinitely using the FIFO memory An event is triggered when the remaining c...

Страница 41: ...ce driver Run Device Manager From My Computer Control Panel select System and then select the 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 Uninstall the development environment Use My Computer Control Panel Progra...

Страница 42: ...e program is stored on the attached media Driver Library API USBP WDM C LOGGER offers the following functions Sampling and displaying data with high speed Supporting plural windows Sending to excel with high speed Supporting 2 data binary and csv forms Setting acquirement conditions easily with wizard Operating intuitively with file viewer and property viewer Saving to file automatically for long ...

Страница 43: ...5 About C LOGGER 36 AIO 160802GY USB AI 1608GY USB ...

Страница 44: ...alog signals to digital data according to the resolution and stores it in memory You can set a variety of conditions for analog input including the input channel sampling period and sampling start stop conditions Analog input processes are classified as follows 1 Setting the Conversion Condititions Event Status Sampling Transfer Data aquisition Start Stop 2 Starting Stopping Operation 3 Monitoring...

Страница 45: ... bit Input Mode Input Mode indicates the method of connecting analog input signals The input modes available are single ended input and differential input The single ended input mode is suitable for the environment in which the potential difference between the signal source and ground and noise components can be ignored For the environment in which they cannot be ignored the differential input mod...

Страница 46: ...onversion is performed consecutively starting from channel 0 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 ...

Страница 47: ...memory on the device itself or in the driver The device buffer can operate as FIFO or ring memory The application calls an API function at an appropriate timing and fetches the conversion data from the device buffer 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 dat...

Страница 48: ... short or infinite period of time Ring format In the ring format the memory contains storage areas arranged in a ring Input data items are written to the memory sequentially When it stores data exceeding the limit it overwrites the area storing the previous item of input data The status monitor and application notification functions are provided which check and report the state in which data has b...

Страница 49: ...ition is satisfied in the rising direction The start condition is satisfied when the analog signal at the specified channel passes the comparison level in the rising direction Input data items are stored to memory starting with those at solid dots The above sketch shows that the level comparison condition is satisfied in the falling direction The start condition is satisfied when the analog signal...

Страница 50: ...n this product stops sampling Level comparison conditions are set as two conditions level and direction The above sketch shows that the level comparison condition is satisfied in the rising direction The stop condition is satisfied when the analog signal at the specified channel passes the comparison level in the rising direction Input data items are stored to memory ending until those at solid do...

Страница 51: ...that is too short AD conversion error event This event occurs when conversion stops due to an AD conversion error 2 Starting Stopping Operation Sampling is started by the software command Once started sampling can be stopped by the software command at any timing 3 Monitoring the Status and Acquiring Data Software commands are used to monitor the operation status of the device and to acquire input ...

Страница 52: ...ory format is ring this product continues conversion while overwriting existing data with new one Sampling clock error This error occurs when the sampling clock period is too short AD conversion error If the device operating status remains ON without terminating conversion for an extended period of time the driver regards that state as an operation error and sets this status to ON This error stops...

Страница 53: ...memory in the same way The FIFO memory deletes data once that data is acquired Data acquisition in ring format When ring memory is used data is read always with respect to the current input data write position The following sketch shows an image of data acquisition in ring format The sampling count obtained is always the number of times of sampling for up to the latest data shaded portion below Th...

Страница 54: ...00030V 32767 10 000V 0 Ex When input data 49152 is input at a resolution of 16 bit in the 10V range Voltage 49152 x 10 10 65536 10 5 0 4 Reset Various states can be reset by executing the following reset commands Status This command resets the sampling clock error status and AD conversion error status Memory This can only be used when the transfer mode is set to device buffer mode This command res...

Страница 55: ... period and sampling start stop conditions Analog output processes are classified as follows This feature is supported only by the AIO 160802GY USB 1 Setting the Conversion Condititions 2 Starting Stopping Operation 3 Monitoring the Status and Acquiring Data 4 Reset Resolution Channel Range Output data Data transfer method Memory Repeat Setting data Clock Start Condition Stop Condition Event Start...

Страница 56: ...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 The resolution is 16 bit Channel Channel represents each point of analog output For individual channel numbers see Using the On board Connectors to Connector Pin Assignment in Chapter 3 External Connection You can spe...

Страница 57: ...0 00030V 32769 0V 32768 0 00030V 32767 10 000V 0 Ex When 3V is output at a resolution of 16 bit in the 10 V range Output data 3 10 x 65536 10 10 42598 4 The value that can be set as output data at this time is an integer Select 42598 or 42599 as the output data The analog signal corresponding to the output data contains an error as follows Output data 42598 converted to 2 9998 V Output data 42598 ...

Страница 58: ... stored in the device buffer memory on the device itself or in the driver When conversion starts the device starts outputting the output data The device buffer can operate as FIFO or RING memory 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 v...

Страница 59: ...o output a continuous arbitrary analog output like that shown below When using FIFO format writing of conversion data to memory is always performed from after the most recent data and 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 out...

Страница 60: ...t write the data for one complete cycle of the output waveform before starting operation 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 ...

Страница 61: ...on channels The procedure for setting the conversion data is different depending on the memory format being used Procedure for FIFO format 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 b...

Страница 62: ...d External trigger This product starts waiting for an external control signal as soon as the operation start command is output Sampling and data transfer from memory start when the specified edge rising edge or falling edge is input from the external control signal Stop Condition The condition for controlling the stop of sampling can be selected from among the last sampling count an external trigg...

Страница 63: ...d for data transfer Specified number of transfers event This event occurs each time a specified number of samples set by software has been completed When FIFO format is used the event occurs when the remaining number of samples falls below a specified level The event occurs repeatedly as long as this condition is satisfied When ring memory format is used the event occurs when the number of samples...

Страница 64: ...oduct 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 Specified number of data outputs This status turns ON when the output data set in memory has reached a predefined number of samples Sampling clock error This error occurs when the sampling cl...

Страница 65: ... error status and AD conversion error status Memory This can only be used when the transfer mode is set to device buffer mode 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 ...

Страница 66: ...Input in Bytes Individual input bits can be input in byte units When the number of input points of the device is 4 the individual input bits are arranged as shown below and the byte data to be input is a value between 0 and 15 depending on the states of the bits EX Input of bit 3 OFF bit 2 ON bit 1 OFF bit 0 ON Byte data 05 5H Digital filter A digital filter can be used on the input bits The filte...

Страница 67: ...each output bit can be changed to ON or OFF by specifying the bit and setting it to 1 or 0 Output in Bytes Individual output bits can be output in byte units When the number of output points of the device is 4 the individual output bits are arranged as shown below and byte data to be output is a value between 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 B...

Страница 68: ...nal 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 Analog output Isolated specification Unisolated Number of output channels 2ch Output range Bipolar 10V Absolute max output currency 1mA Output impedance 1Ω or less Resolution 16bit Non Linearity error 1...

Страница 69: ...mpatible wires AWG28 16 Standard VCCI Class A FCC Class A CE Marking EMC Directive Class A RoHS Directive 1 The non linearity error means an error of approximately 0 1 occurs over the maximum range at 0 C and 50 C ambient temperature 2 When using the signal source equipped with the high speed operational amplifier 3 This numerical displays the conversion speed for A D D A converter The minimum exe...

Страница 70: ...ng edge to the DI01 pin by the software External clock signal LVTTL level Selecting the rising falling edge to the DI02 pin by the software Digital I O Number of input channels Unisolated input 4ch LVTTL positive logic 4 5 Number of output channels Unisolated output 4ch LVTTL positive logic USB Bus specification USB Specification 2 0 1 1 standard USB transfer rate 12Mbps Full speed 480Mbps High sp...

Страница 71: ... conversion speed for A D D A converter The minimum executable sampling cycle depends on the operating condition of the terminal 4 You cannot use both the DI00 DI01 DI02 pin of digital input feature and the external start stop signal external clock input simultaneously 5 Each input accept TTL 5VDC level signals 6 The USB transfer speed depends on the host PC environment used OS and USB host contro...

Страница 72: ...7 About Hardware AIO 160802GY USB AI 1608GY USB 65 Physical dimensions Figure 7 1 Physical dimensions 14 24 9 9 64 62 mm ...

Страница 73: ...60802GY USB Figure 7 2 Block Diagram AIO 160802GY USB 8ch Single end Analog Inputs 4 Digital Input 4 Digital Output 2ch Analog Outputs USB Connector CN2 FPGA Multiplexer DC DC converter OP Amplifer A D Converter CN1 USB 2 0Contro ller CPU Buffer OP Amplifer D A Converter ...

Страница 74: ...1608GY USB 67 AI 1608GY USB Figure 7 3 Block Diagram AI 1608GY USB 8ch Single end Analog Inputs 4 Digital Input 4 Digital Output USB Connector CN2 FPGA Multiplexer DC DC converter OP Amplifer A D Converter CN1 USB 2 0Contro ller CPU Buffer ...

Страница 75: ... first channel A D conversion start pulse tDEC 250 nsec Set up time of sampling start Rising edge tSRS 100 nsec Hold time of sampling start Rising edge tHRS 100 nsec Set up time of sampling start Falling edge tSFS 100 nsec Hold time of sampling start Falling edge tHFS 100 nsec Set up time of sampling stop Rising edge tSR P 100 nsec Hold time of sampling stop Rising edge tHRP 100 nsec Set up time o...

Страница 76: ...e tWS 10000 nsec Set up time of sampling start Rising edge tSRS 100 nsec Hold time of sampling start Rising edge tHRS 100 nsec Set up time of sampling start Falling edge tSFS 100 nsec Hold time of sampling start Falling edge tHFS 100 nsec Set up time of sampling stop Rising edge tSR P 100 nsec Hold time of sampling stop Rising edge tHRP 100 nsec Set up time of sampling stop Falling edge tSFP 100 n...

Страница 77: ...n program Analog input calibration Analog input calibration requires a reference voltage generator As the analog input has 16 bit resolution use a reference voltage generator with a precision of at least 5 digits after the decimal point Calibrate one channel only for each range that you use Analog output calibration Analog output calibration requires a digital multimeter As the analog output has 1...

Страница 78: ...s exist AIO 160802AY USB AIO 160802GY USB Analog input conversion speed 10usec ch 4usec ch 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 10usec ch 4usec...

Страница 79: ...ion 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 LYTA493 ...

Отзывы: