Page 1
PC-HELPER Isolated Analog Output Board for PCI AO-1604CI2-PCI User’s Guide CONTEC CO.,LTD.
Page 2
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 - Board [AO-1604CI2-PCI] …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.
When Using API-AIO(WDM) ...................... 13 When Using API-AIO(98/PC) ......................14 Step 2 Setting the Hardware ......................... 16 Parts of the Board and Factory Defaults ..................16 Setting the Board ID ........................17 Setting the Analog Output ......................18 Plugging the Board......................... 19 AO-1604CI2-PCI...
Page 5
FUNCTIONS Analog Output Function ........................45 Simple Analog Output........................45 High-functional analog output .......................49 Starting/Stopping Operation ......................52 Monitoring the Status ........................53 Reset..............................54 ABOUT SOFTWARE CD-ROM Directory Structure.......................55 About Software for Windows .......................56 When using the API-AIO(WDM) ......................57 Accessing the Help File........................57 AO-1604CI2-PCI...
Page 6
Signal spec of external sampling clock, external trigger input ............ 75 Timing of external trigger input and input status ................. 75 Timing of external sampling clock and “Settling Busy Output” ..........76 Timing of “Timer Output”......................76 About Calibration..........................77 Difference from DAI16-4C(PCI) ......................77 AO-1604CI2-PCI...
In addition, when an error occurs, sampling is stopped, regardless of the settings for sampling stop conditions. A sampling cycle can be selected from the internal clock (high precision timer mounted on the board) or an external clock (control signal entered from outside). AO-1604CI2-PCI...
Visual Basic, Visual C++, Visual C#, Delphi, C++ Builder You can download the updated version from the CONTEC’s Web site (http://www.contec.com/apipac/). For more details on the supported OS, applicable language and new information, please visit the CONTEC’s Web site. Linux version of analog I/O driver API-AIO(LNX)
: DTP-4C *1 *1 PCB37PS -*P optional cable is required separately (0.5m is recommended.). *2 "Spring-up" type terminal is used to prevent terminal screws from falling off. * Check the CONTEC’s Web site for more information on these options. AO-1604CI2-PCI...
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 Three-Years Warranty CONTEC products are warranted by CONTEC CO., LTD.
WARNING indicates a potentially hazardous situation which, if not avoided, could WARNING result in death or serious injury. CAUTION indicates a potentially hazardous situation which, if not avoided, may CAUTION result in minor or moderate injury or in property damage. AO-1604CI2-PCI...
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.
(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. AO-1604CI2-PCI...
Page 15
1. Before Using the Product AO-1604CI2-PCI...
For setting up software other than API-PAC(W32), refer to the manual for that software. See also the following parts of this manual as required. This chapter Step 2 Setting the Hardware This chapter Step 3 Installing the Hardware Chapter 3 External Connection Chapter 6 About Hardware AO-1604CI2-PCI...
Chapter 5 About Software Chapter 6 About Hardware For using the board under an OS other than Windows and Linux, see the following parts of this manual. This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 6 About Hardware AO-1604CI2-PCI...
Windows Me/98 Device type ISA Bus PCI bus, PC Card Already used. Use the Analog board for the first time? The existing system upgrade using API-AIO(98/PC)? Language to be used VC4, 2, VB4 VC6.5, VB6.5, Delphi, C++Builder API-DIO(WDM) API-AIO(98/PC)W95, NT AO-1604CI2-PCI...
(3) Click on the [Install Development or Execution Environment] button. When using the Windows Vista, driver is automatically installed. CAUTION Before installing the software in Windows 7, Vista, XP, Server 2003, 2000, log in as a user with administrator privileges. AO-1604CI2-PCI...
(3) Click on the [Install] button. Clicking the [API-AIO] button displays detailed information about API-AIO(WDM) and API-AIO(98/PC). Run the installation (1) Complete the installation by following the instructions on the screen. (2) The Readme file appears when the installation is complete. AO-1604CI2-PCI...
(1) The following dialog box appears to select “Driver to install” and “Install option”, “Usage of driver library”. (2) Select “Classic Analog I/O driver”. (3) Click on the [Install] button. Clicking on the [API-AIO] button displays detailed information on API-AIO(WDM), API-AIO(98/PC). AO-1604CI2-PCI...
Page 22
Go to Step 2 to set and plug the hardware. * When the hardware has already been installed: Check “Perform a hardware setup now(API-TOOL Configuration)”, then go to Step 4 “Initializing the Software”. You have now finished installing the software. AO-1604CI2-PCI...
Parts of the Board and Factory Defaults Analog output setting (JP1 - JP12) JP10 JP11 JP12 - Board ID setting switch BOARD ID Figure 2.1. Part Names Note that the jumper and switch setting shown below is the factory default. AO-1604CI2-PCI...
Setting Procedure To set the board ID, use the rotary switch on the board. Turn the SW1 knob to set the board ID as shown below. BOARD ID Factory setting: (Board ID = 0) Figure 2.2. Board ID Settings (SW1) AO-1604CI2-PCI...
Current output 0mA - 20mA Current output 0mA - 20mA JP10 JP11 JP12 Figure 2.3. Output range setting CAUTION Do not set the jumpers to any strapping pattern other than those specified above. Doing so can result in a fault in this product. AO-1604CI2-PCI...
Make sure that your PC or expansion unit can supply ample power to all the boards installed. Insufficiently energized boards could malfunction, overheat, or cause a failure. Power supply from the PCI bus slot at +5V is required. AO-1604CI2-PCI...
In this case, you must check the resource settings. When Using the API-AIO(WDM) (1) The “Found New Hardware Wizard” will be started. Select “Install from a list or specific location[Advanced]”, then click on the [Next] button. AO-1604CI2-PCI...
Page 28
There is no problem in operation even if the board name is displayed as “DAI16-4C(PCI)". Source folder The setup information file (INF) is contained in the following folder on the bundled CD-ROM. \INF\WDM\AIO \INF\WDM\AIO You have now finished installing the software. AO-1604CI2-PCI...
(2) Specify that folder on the CD-ROM which contains the setup information file (INF) to register the board. CAUTION Note that the displayed board name is "DAI16-4C(PCI)" even though you have installed this board. There is no problem in operation even if the board name is displayed as “DAI16-4C(PCI)". AO-1604CI2-PCI...
Page 30
Source folder The setup information (INF) file is contained in the following folder on the bundled CD-ROM. Vista, Windows XP, Server 2003, 2000 \INF\Win2000\Aio\PCI Windows Me, 98, 95 \INF\Win95\Aio\PCI Example of specifying the folder for use under Windows XP \INF\Win2000\Aio\PCI AO-1604CI2-PCI...
Page 31
- DAI16-4C(PCI) Note that the displayed board name is "DAI16-4C(PCI)" even though you have installed this board. There is no problem in operation even if the board name is displayed as “DAI16-4C(PCI)". You have now finished installing the software. AO-1604CI2-PCI...
There is no problem in operation even if the board name is displayed as “DAI16-4C(PCI)". (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].
Page 33
Note that the displayed board name is "DAI16-4C(PCI)" even though you have installed this board. There is no problem in operation even if the board name is displayed as “DAI16-4C(PCI)". You have now finished installing the initial setting of Software. AO-1604CI2-PCI...
2. Setup When Using API-DIO(98/PC) API-TOOL Configuration start (1) Open the Start Menu, then select “Programs” – “CONTEC API-PAC(W32)” – “API-TOOL Configuration”. (2) API-TOOL Configuration detects boards automatically. The detected boards are listed. Updating the Settings (1) Select “Save setting to registry…” from the “File” menu.
Check Method To check analog I/O data, connect the signal. The diagrams below show examples of using channel 0 on the AO-1604CI2-PCI. For details on the connections, see Chapter 3 “External Connection”. Check the board with the factory defaults untouched.
- DAI16-4C(PCI) CAUTION Note that the displayed board name is "DAI16-4C(PCI)" even though you have installed this board. There is no problem in operation even if the board name is displayed as “DAI16-4C(PCI)". AO-1604CI2-PCI...
Page 37
* The contents of the diagnosis report vary with the board mounted. CAUTION Note that the displayed board name is "DAI16-4C(PCI)" even though you have installed this board. There is no problem in operation even if the board name is displayed as “DAI16-4C(PCI)". AO-1604CI2-PCI...
- DAI16-4C(PCI) CAUTION Note that the displayed board name is "DAI16-4C(PCI)" even though you have installed this board. There is no problem in operation even if the board name is displayed as “DAI16-4C(PCI)". AO-1604CI2-PCI...
Page 39
2. Setup Checking the Analog Output Analog output You can select the output channel and output range from the lists. AO-1604CI2-PCI...
Page 40
The results are saved and displayed as a text file (AioRep.txt) in the install folder (CONTEC/CONTECW95). The Diagnosis Program performs “board presence/absence check”, “interrupt test”, “driver file test”, “board setting test”, and so on. Click on [Report]. (2) A diagnosis report is displayed as shown below. AO-1604CI2-PCI...
Turn off the power to your PC, then unplug the board. Restart the OS and delete the board settings of API-TOOL Configuration. Turn off the PC again, plug the board, and restart the OS. Let the OS detect the board and use API-TOOL Configuration to register board settings. If your problem cannot be resolved Contact your retailer. AO-1604CI2-PCI...
- Connector used 37-pin D-SUB, female connector DCLC-J37SAF-20L9E (mfd. by JAE) - Applicable connectors 17JE-23370-02(D8C)-CG (mfd. by DDK, Male) * Please refer to chapter 1 for more information on the supported cable and accessories. Figure 3.1. Interface Connector Shape AO-1604CI2-PCI...
No connection to this pin. Figure 3.2. Pin Assignments of Interface Connector (CN1) CAUTION Do not connect any of the outputs and power outputs to the analog or digital ground. Neither connect outputs to each other. Doing either can result in a fault. AO-1604CI2-PCI...
Doing so may malfunction. Do not plug or unplug the interface connector to or from while the PC or external device power is turned on. Doing so may malfunction. The DA converter may cause glitches as it contains no deglitcher. AO-1604CI2-PCI...
Do not detach the interface connector (CN1) with the power supply of a PC or an external device turned on. Doing either can cause a malfunction. If the connection cable is affected by noise, it may fail to output the accurate current data. Route the connection cable as far apart from noise sources as possible. AO-1604CI2-PCI...
Page 47
Relation between the input signal and the data (internal logic) seen from the PC side Internal Contact Input pin voltage logic point level High Reference For the operation timings for control signal input, see “Timing of External Control Signals” in Chapter 6 “Hardware”. AO-1604CI2-PCI...
10kΩ 10kΩ Timer External power Output Internal supply Loading circuit 12V - 24VDC 2SD1782K Sampling Internal Busy circuit Output Opto-coupler 2SD1782K -Common Figure 3.10. Output circuit CAUTION When the power supply is turned on, all the outputs are turned off. AO-1604CI2-PCI...
Page 49
Figure 3.11. Connection example with current sink corresponding input External power supply +12V - +24VDC Board External device +Common Output pin TTL level input Internal circuit -Common Ground Figure 3.12. Connection example with TTL level input (with pull-up register) AO-1604CI2-PCI...
Output pin Output pin Surge current Registor prevention registor -Common -Common Figure 3.13. Surge Voltage Countermeasure CAUTION In order for a protection circuit to operate effectively, it must be connected within 50cm of a load and a contact point. AO-1604CI2-PCI...
0ch analog output change Settling time The output voltage from 0 to 2ch is updated as illustrated above. The analog output is finalized after the settling time after conversion is started. The conversion speed is determined by the settling time per channel. AO-1604CI2-PCI...
Page 53
10÷4096≈2.44mV. If the device has a resolution of 16-bit, it is 10÷65536≈0.153mV instead. Low-resolution board High-resolution board AO-1604CI2-PCI : The resolution is 16-bit. Range “Range” means the range of voltages (current) at which analog output can be performed. The output range can be selected by setting the output signal type (voltage and current) and the upper and lower output signals.
Page 54
This error is a consequential error occurring when output data is obtained from an expected analog value. <0 - 10V range> The table below shows the relationship between output data and voltage. Voltage Output data (12-bit) Voltage Output data (16-bit) 9.99985V 65535 +9.998V 4095 5.00015V 32769 5.002V 2049 32768 2048 4.99985V 32767 4.998V 2047 AO-1604CI2-PCI...
Page 55
For the channel selection, specify the channel No. or the number of channel which you want to convert D into A (channel consecutive from channel 0) The above conditions and settings are also required for "high-functional analog output" described on the next page. AO-1604CI2-PCI...
The sampling clock is selected by means of software. 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. AO-1604CI2-PCI...
Page 57
You can select the memory type between FIFO and RING depending on the application of analog output. The memory type is selected with software. AO-1604CI2-PCI Uses the memory for storing converted data on the driver. FIFO(First In First Out)format Use FIFO format if you wish to output a continuous arbitrary analog output like that shown below.
Page 58
For RING memory, specify the sampling count equivalent to one period of an arbitrary waveform. External trigger The board starts waiting for an external control signal after the sampling have been started. Sampling stops when the specified edge (rising edge or falling edge) is input from the external control signal. AO-1604CI2-PCI...
This event occurs when the analog output operation stops upon detection of a device malfunction by the driver. 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). AO-1604CI2-PCI...
This status is turned on when the analog output operation stops upon detection of a device malfunction by the driver. Sampling count The number of sampled items of output data transferred from in memory can be obtained by the software command. Repeat The current repeat count can be obtained by the software command. AO-1604CI2-PCI...
This command resets the sampling clock error status and AD conversion error status. Memory This command resets the following memory related states. Resets the conversion data in memory. Resets the output sampling count. Resets the repeat count to 0. Resets the status information for the specified data save count. AO-1604CI2-PCI...
Driver option check using a demo driver even without the board installed For details, refer to the help file. The help file provides various items of information such as “Function Reference”, “Sample Programs” and “Q&A”. Use them for program development and troubleshooting. AO-1604CI2-PCI...
5. About Software When using the API-AIO(WDM) Accessing the Help File (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “AIOWDM” – “API-AIO(WDM) HELP” to display help information. AO-1604CI2-PCI...
The sample programs are stored in \Program Files\CONTEC\API-PAC(W32)\AIOWDM\Samples. Running a Sample Program (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “AIOWDM” – “SAMPLE…”. (3) A sample program is invoked.
Page 66
- Ao2 Perform standard analog output using more than one board Digital input/output - DioBit Perform digital I/O using bit values - DioByte Perform digital I/O using port values Sample programs executable vary with the functions of boards in use. AO-1604CI2-PCI...
Please choose from a list the number of channels used for conversion in function AioMultiAi and AioMultiAo. Input the transmission data size in function AioGetAiSamplingData and AioSetAoSamplingData. The transmission data is set by unit of kByte. (3) End the application with an [end] button. AO-1604CI2-PCI...
Page 68
This program is made with Visual Basic. Therefore, it is not possible to execute it as it is in the environment in which Visual Basic is not installed. The program can be used by executing the following setup below the folder that installs the API-AIO(WDM). AIOWDM\Utility\AoSpec\setup.exe AO-1604CI2-PCI...
Page 69
It means that the conversion speed is too fast and the driver processing is not in time when converting at the internal clock. The cycle of the clock is too fast when converting it at the external clock. Moreover, the cause by noise etc. is also concerned. (4) Click the “stop” button, and measurement stops. AO-1604CI2-PCI...
5. About Software When using the API-AIO(98/PC) Accessing the Help File (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “Aio” – “API-AIO HELP” to display help information. AO-1604CI2-PCI...
The sample programs are stored in \Program Files\CONTEC\API-PAC(W32)\Aio\Samples. Running a Sample Program (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “Aio” – “SAMPLE…”. (3) A sample program is invoked. AO-1604CI2-PCI...
Page 72
Sample program using a counter. It uses the counter function to count external pulses. The following sample program in Visual Basic is available. - ANALOG Versatile sample program using AioInp, AioInpBack, AioInpBdMem, AioOut, AioOutBack, AioDO, and AioDI. Sample programs executable vary with the functions of boards in use. AO-1604CI2-PCI...
This program is a comprehensive operation check tool that can use all the features of the AioOpen, AioClose, AioSetRangeAioInp, AioInpBack, AioInpBdMem, AioOut, AioOutBack, AioDo, and AioDi functions. Invoke the tool by selecting the Start Menu – “CONTEC API-PAC(W32)” – “AIO” – “SAMPLE Analog”. [Main screen]...
Page 74
5. About Software [Analog output] [Digital input and output] AO-1604CI2-PCI...
(1) Click on the [Start] button on the Windows taskbar. From the Start Menu, select “Settings” – “Control Panel”. (2) Double-click on “Add/Remove Programs” in the Control Panel. (3) If the API-AIO(WDM), select “CONTEC API-AIO(WDM) driver” and “CONTEC API-AIO(WDM) VerX.XX (Development)” from the displayed application. If the API-AIO(98/PC), select “CONTEC API-AIO(98/PC)xx VerX.XX (Development) and “CONTEC API-AIO(98/PC)xx VerX.XX (Runtime)”...
# mount /dev/cdrom /mnt/cdrom Mount the CD-ROM. # cp /mnt/cdrom/linux/aio/caioXXX.tgz ./ Copy the compressed file. # tar xvfz caioXXX.tgz Decompress the compressed file....# cd contec/caio # make Compile the file....# make install Install....# cd config # ./config...
Sample programs for each language are contained in the contec/caio/samples directory. For compiling them, refer to the manual for the desired language. Uninstalling the driver To uninstall the driver, use the uninstall shell script contained in the contec/caio directory. For details, check the contents of the script. AO-1604CI2-PCI...
This chapter provides hardware specifications and hardware-related supplementary information. For detailed technical information For further detailed technical information (“Technical Reference” including the information such as an I/O map, configuration register, etc.), visit the Contec's web site (http://www.contec.com/support/) to call for it. AO-1604CI2-PCI...
When the environment temperature is near 0ºC or 50ºC, the non-linearity error may become larger. The error can be reduced by calibrating under the actual temperature conditions. The board requires +5V power supply from the expansion slot (it does not work in a +3.3V environment). AO-1604CI2-PCI...
Page 80
6. About Hardware Board dimension 176.41(L) [mm] The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover. AO-1604CI2-PCI...
Voltage Output 1 Control Relay DC/DC Converter Current Output 1 Converter V/I Converter Analog Ground 1 Optocoupler MOS FET Voltage Output 0 Relay FIFO DC/DC Converter Memory Current Output 0 Converter V/I Converter Analog Ground 0 Figure 6.1. Block Diagram AO-1604CI2-PCI...
Timing of external trigger input and input status DELAY External Trigger Input External trigger input status Figure 6.3. Timing of external trigger input and input status Table 6.3. Details on each part Symbol Min. Delay time tDELAY 5 μ sec AO-1604CI2-PCI...
Contact your retailer if the board does not provide its prescribed performance. Difference from DAI16-4C(PCI) This product is a successor of the previous model DAI16-4C(PCI). So you can use the same operating procedures as DAI16-4C(PCI). AO-1604CI2-PCI DAI16-4C(PCI) About the display DAI16-4C(PCI) *1...
Page 85
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. [05282013] [08012007] Management No. A-51-479 [05282013_rev3] Parts No. LYHR783...
Need help?
Do you have a question about the AO-1604CI2-PCI and is the answer not in the manual?
Questions and answers