background image

 

2. Setup 

2.

 

Setup 

This chapter explains how to set up the 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 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 

7

 

Summary of Contents for 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: ...g items contact your retailer Product Configuration List USB terminal AIO 160802AY USB 1 Interface connector plugs 2 First step guide 1 CD ROM 1 API USBP WDM 1 USB Cable 1 8m 1 USB Cable Attachment 1...

Page 3: ...ll 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...

Page 4: ...autions 4 Environment 6 Inspection 6 Storage 6 Disposal 6 2 SETUP 7 What is Setup 7 Installing the driver 7 Step 1 Setting the Hardware 8 Name of each parts 8 Step 2 Initializing the Software 9 Illust...

Page 5: ...ence 27 Sample Program 28 Distributing Developed Application 28 Use of utility program 29 Returning to Initial State 33 5 ABOUT C LOGGER 37 About C LOGGER 37 6 FUNCTIONS 39 Analog Input Function 39 1...

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 v...

Page 7: ...vi AIO 160802AY USB...

Page 8: ...ith the buffer memory 1K data which can be used in either FIFO or ring format This product includes buffer memory 1K data each for analog input and output which can be used in either FIFO or ring form...

Page 9: ...company Operating Environment OS Windows 7 Server 2008 Vista XP Server 2003 2000 Me 98 etc Adaptation language Visual C NET Visual C NET Visual Basic NET Visual C Visual Basic Delphi C Builder etc Da...

Page 10: ...s 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 app...

Page 11: ...rter may malfunction overheat cause a failure or breakage Do not touch the converter s pin parts USB connector with your hands Otherwise the converter may malfunction overheat or cause a failure If th...

Page 12: ...es 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...

Page 13: ...ically as follows to use it safely Check that the connector has no dust or foreign matter adhering Storage When storing this product keep it in its original packing form 1 Put the product in the stora...

Page 14: ...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...

Page 15: ...terface connector USB TypeA Figure 2 1 Name of each parts Front side Table 2 1 List of Status LED Functions Name Function Indicator color LED indicator ON Communication established USB communication s...

Page 16: ...Using Device Manager Setting the Device Name Initializing the Software Installation of API USBP WDM Development Environment C LOGGER Connecting the PC Connecting the Product Page 9 Page 12 Page 14 Il...

Page 17: ...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 Install...

Page 18: ...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...

Page 19: ...the USB interface connector to a USB port in the PC The converter can also be connected to the PC via a USB hub USB port Figure 2 2 Connecting the PC CAUTION It may cause a trouble in recognizing and...

Page 20: ...fic location then click on the Next button Detect setup information from supplied CD automatically for installing USB driver The name of the connected product will be displayed AIO 160802AY USB Point...

Page 21: ...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 The name of the connected product will be displ...

Page 22: ...ame in the editing box for device name Default name also can be used The name of the connected product will be displayed AIO 160802AY USB The product specific number will be displayed as the serial nu...

Page 23: ...roduct I O status and interrupt status Check Method To check the analog I O data connect to an external signal source The figure below shows an example of checking by connecting to an external signal...

Page 24: ...ting 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 functio...

Page 25: ...sired output channel from the lists 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 Re...

Page 26: ...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...

Page 27: ...ion 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 p...

Page 28: ...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 in...

Page 29: ...8 AI02 9 AI01 10 AI00 11 AGND 12 N C 13 AGND 14 Figure 3 3 Pin Assignment of CN2 Table 3 1 Signal name of CN1 and CN2 AI00 AI07 Analog input signal The numbers correspond to channel numbers AO00 AO01...

Page 30: ...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 CAUTION Removing the connector plug by grasping the cable can b...

Page 31: ...e wire to the signal line and connect the shielding to ground AGND Shield cable AI00 AI07 Terminal CN2 Signal Source Figure 3 6 Single ended Input Connection Shielded Cable CAUTION If the signal sourc...

Page 32: ...ore wire to the signal line and connect the shielding to ground AGND Shield cable AO00 AO01 Terminal CN1 Target Figure 3 8 Analog Output Connection Shielded Cable CAUTION If this product or the connec...

Page 33: ...able Target Digital Output IOL 24mA Figure 3 10 Digital Output Connection CAUTION Do not short the output signals to analog ground digital ground and or power line Doing so may damage the terminal Eac...

Page 34: ...n 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 Refere...

Page 35: ...e 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 deve...

Page 36: ...ONTEC DIAGNOSIS PROGRAM The name of the connected product will be displayed AIO 160802AY USB Step to use 1 Select the device to be measured from the device list 2 Measure the executive speed of a func...

Page 37: ...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 Step to...

Page 38: ...has overflowed because the conversion speed is too fast compared with the speed at which data is taken 4 The measuring is stopping after clicked the button of Stop Measuring Analog Output tool This is...

Page 39: ...ing number within FIFO This specifies the number of conversion data values remaining in memory that have not yet been output This is shown visually in the Memory Image Sampling count for triggering ev...

Page 40: ...ure for Windows 7 Vista Server 2008 Uninstall of device driver 1 Run Device Manager From My Computer Control Panel select System and then select the Device Manager tab You can also open Device Manager...

Page 41: ...2003 Server 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 t...

Page 42: ...Add Remove contains the driver category name AIO CNT DIO etc Uninstall procedure for Windows 98 98SecondEdition Uninstall of device driver Use My Computer Control Panel Add and Remove Applications to...

Page 43: ...4 Application Development 36 AIO 160802AY USB...

Page 44: ...tached CD ROM 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 d...

Page 45: ...5 About C LOGGER 38 AIO 160802AY USB...

Page 46: ...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 pr...

Page 47: ...s 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 potenti...

Page 48: ...d 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 per...

Page 49: ...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 b...

Page 50: ...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...

Page 51: ...ion 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 store...

Page 52: ...ion 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...

Page 53: ...ion 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...

Page 54: ...uct 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 sta...

Page 55: ...IFO 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 sket...

Page 56: ...en 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 com...

Page 57: ...period and sampling start stop conditions Analog output processes are classified as follows 1 Setting the Conversion Condititions 2 Starting Stopping Operation 3 Monitoring the Status and Acquiring D...

Page 58: ...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 repr...

Page 59: ...030V 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...

Page 60: ...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...

Page 61: ...ary 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 dat...

Page 62: ...plete 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...

Page 63: ...r 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 da...

Page 64: ...uct 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 i...

Page 65: ...d 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...

Page 66: ...put data set in memory has reached a predefined number of samples Sampling clock error This error occurs when the sampling clock period is too short DA conversion error If the device operating status...

Page 67: ...t 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...

Page 68: ...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...

Page 69: ...6 Functions 62 AIO 160802AY USB...

Page 70: ...falling signal edge input to the DI01 pin by the software External clock signal LVTTL level Selecting the rising falling to the DI02 pin by the software Analog output Isolated specification Unisolate...

Page 71: ...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 e...

Page 72: ...t can be sampled as described in the specification of the hardware is as follows Sampling channel number of channel number of sampling Sampling clock 0ch 1 512 10 sec 0 1ch 2 341 20 sec 0 2ch 3 256 30...

Page 73: ...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 0 Controller CPU Buffer DA Converter OP Amplife...

Page 74: ...Timings Parameter Symbol Time Unit Delay from external sampling clock cycle to first channel hold tDEH 100 nsec Delay from external sampling clock cycle to first channel A D conversion start pulse tD...

Page 75: ...Signal Table 7 3 Control Signal Timings Parameter Symbol Time Unit Delay from external sampling clock to actual start tDCS 100 nsec Settling time tWS 10000 nsec Set up time of sampling start Rising e...

Page 76: ...ith the instructions displayed by the calibration program Analog input calibration Analog input calibration requires a reference voltage generator As the analog input has 16 bit resolution use a refer...

Page 77: ...a 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 w...

Reviews: