Table of Contents

Advertisement

Quick Links

PC-HELPER
High Resolution & Speed Analog I/O Board
for PCI
ADA16-32/2(PCI)F
User's Guide
CONTEC CO.,LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Contec ADA16-32/2(PCI)F

  • Page 1 PC-HELPER High Resolution & Speed Analog I/O Board for PCI ADA16-32/2(PCI)F 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 [ADA16-32/2(PCI)F] …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 2 Setting the Hardware ......................... 14 Parts of the Board and Factory Defaults ..................14 Setting the Board ID ........................15 Plugging the Board ........................16 Step 3 Installing the Hardware ......................17 Turning on the PC .......................... 17 When Using API-AIO(WDM)......................17 ADA16-32/2(PCI)F...
  • Page 5 3. Monitoring the Status and Acquiring Data................67 4.Reset.............................68 Counter Function ...........................69 1. Setting the Operating Conditions....................69 2. Starting/Stopping Operation/Preset ...................71 3. Monitoring the Status and Acquiring Data................71 4.Reset.............................71 Digital Input Function ...........................72 Digital Output Function.........................73 Event Controller Function ........................74 ADA16-32/2(PCI)F...
  • Page 6 For detailed technical information......................93 Hardware specification ......................... 94 Block Diagram ............................96 Control Signal Timings......................... 97 Control Signal Timings for Analog Input ..................97 Control Signal Timings for Analog Output .................. 98 Control Signal Timings for Counter....................99 About Calibration..........................100 ADA16-32/2(PCI)F...
  • Page 7 ADA16-32/2(PCI)F...
  • Page 8: Before Using The Product

    Example 1: Synchronize the timing of analog input and analog output based on an external clock signal. Example 2: Start analog input operation each time the counter reaches a preset value. ADA16-32/2(PCI)F...
  • Page 9 A synchronization control connector is provided for synchronized control of multiple boards. You can expand the number of channels simply by adding more boards. This makes it easy to synchronize operation with other CONTEC boards that have a synchronization control connector.
  • Page 10: Support Software

    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)
  • Page 11: Cable & Connector (Option)

    1. Before Using the Product Data acquisition VI library for LabVIEW VI-DAQ (Available for downloading (free of charge) from the CONTEC web site.) This is a VI library to use in National Instruments LabVIEW. VI-DAQ is created with a function form similar to that of LabVIEW's Data Acquisition VI, allowing you to use various devices without complicated settings.
  • Page 12: 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 Three-Years Warranty CONTEC products are warranted by CONTEC CO., LTD.
  • Page 13: Safety Precautions

    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. ADA16-32/2(PCI)F...
  • Page 14: Handling 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 15: 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. ADA16-32/2(PCI)F...
  • Page 16: Setup

    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 ADA16-32/2(PCI)F...
  • Page 17: Using The Board Under An Os Other Than Windows

    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 ADA16-32/2(PCI)F...
  • Page 18: Step 1 Installing The Software

    OS used, the basic procedure is the same. Which Driver to Use CONTEC has two analog I/O drivers: API-AIO(WDM) and API-AIO(98/PC). API-AIO(WDM) is a new driver for analog I/O under Windows. This driver was developed to be easier to use and to provide additional functions above those provided by the previous API-AIO(98/PC) driver.
  • Page 19: Starting The Install Program

    (2) The API-PAC(W32) Installer window appears automatically. If the panel does not appear, run (CD-ROM drive letter):\AUTORUN.exe. (3) Click on the [Install the drivers] button. CAUTION Before installing the software in Windows Vista, XP, Server 2003, 2000, log in as a user with administrator privileges. ADA16-32/2(PCI)F...
  • Page 20 Clicking the [Details] 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. You have now finished installing the software. ADA16-32/2(PCI)F...
  • Page 21: Step 2 Setting The Hardware

    Parts of the Board and Factory Defaults Figure 2.1 shows the names of each part of the board. The switch settings shown in the figure are the factory default settings. CN2, CN3 ADA16-32/2(PCI)F BOARD ID Board ID Setting switch BOARD ID...
  • Page 22: Setting The Board Id

    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) ADA16-32/2(PCI)F...
  • Page 23: Plugging The Board

    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. ADA16-32/2(PCI)F...
  • Page 24: Step 3 Installing The Hardware

    (1) When the " Found New Hardware Wizard" opens, select "Install the software automatically [Recommended]" and then click the "Next" button. The wizard may not appear for some OS versions and instead the installation will start automatically. In this case, proceed to the software initial setup step. ADA16-32/2(PCI)F...
  • Page 25 If using Windows 98 or Windows Me, specify the folder that contains the setup information (INF) file from the CD-ROM. Source folder The setup information (INF) file is contained in the following folder on the bundled CD-ROM. \INF\WDM\AIO \INF\WDM\AIO You have now finished installing the hardware. ADA16-32/2(PCI)F...
  • Page 26: Ada16-32/2(Pci)F

    - ADA16-32/2(PCI)F (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]. ADA16-32/2(PCI)F...
  • Page 27 - ADA16-32/2(PCI)F 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.
  • Page 28: The Diagnosis Program

    No external connection is required if using loopback to check the I/O. The figure below shows an example of checking by connecting to an external signal. The example is for channel 0 on the ADA16-32/2(PCI)F. See "Chapter 3 External Connection" for details on how to make the connection.
  • Page 29: Using The Diagnosis Program

    2. Setup Using the Diagnosis Program Starting the Diagnosis Program Click the [Diagnosis] button on the device property page to start the diagnosis program. * The name of the board you have just added is displayed. - ADA16-32/2(PCI)F ADA16-32/2(PCI)F...
  • Page 30 Clicking the lower row of switches turns the digital output bits ON or OFF. Counter input Selecting a counter channel displays the count value and state of that counter channel. Clicking the zero clear button resets the count to zero. ADA16-32/2(PCI)F...
  • Page 31 Clicking [Diagnosis Report] prompts you to specify where to save the report text file. * The name of the board you have just added is displayed. - ADA16-32/2(PCI)F (2) The diagnosis report contains the following data. Version of OS Device Information...
  • Page 32: Setup Troubleshooting

    Refer to the source code for the sample programs. The OS does not boot correctly or does not detect the device correctly. Refer to the "Troubleshooting" section of API-AIO(WDM) HELP. If your problem cannot be resolved Contact your retailer. ADA16-32/2(PCI)F...
  • Page 33 2. Setup ADA16-32/2(PCI)F...
  • Page 34: External Connection

    - Connector used PCR-E96LMD equivalent [mfd.by HONDA] Applicable connector PCR-E96FA equivalent [mfd.by HONDA] CN5-H96F (Set of 5 connectors) [CONTEC, M(male)type] * Please refer to chapter 1 for more information on the supported cable and accessories. Figure 3.1. Interface Connector Shape ADA16-32/2(PCI)F...
  • Page 35: Connector Pin Assignment

    Counter UP Clock Input 00 Reserved Reserved Counter Gate Control Input 01 Counter Gate Control Input 00 Control Output 01 Counter Output 00 - The numbers in square brackets [ ] are pin numbers designated by HONDA TSUSHIN KOGYO CO., ADA16-32/2(PCI)F...
  • Page 36 If analog and digital ground are shorted together, noise on the digital signals may affect the analog signals. Accordingly, analog and digital ground should be separated. Leave "Reserved" pins unconnected. Connecting these pins may cause a fault in the board. ADA16-32/2(PCI)F...
  • Page 37 Counter UP Clock Input 00 Reserved Reserved Counter Gate Control Input 01 Counter Gate Control Input 00 Counter Output 01 Counter Output 00 - The numbers in square brackets [ ] are pin numbers designated by HONDA TSUSHIN KOGYO CO., ADA16-32/2(PCI)F...
  • Page 38 If analog and digital ground are shorted together, noise on the digital signals may affect the analog signals. Accordingly, analog and digital ground should be separated. Leave "Reserved" pins unconnected. Connecting these pins may cause a fault in the board. ADA16-32/2(PCI)F...
  • Page 39: Analog Input Signal Connection

    An input pin may fail to obtain input data normally when the signal source connected to the pin has high impedance. If this is the case, change the signal source to one with lower output impedance or insert a high-speed amplifier buffer between the signal source and the analog input pin to reduce the effect. ADA16-32/2(PCI)F...
  • Page 40: Differential Input

    An input pin may fail to obtain input data normally when the signal source connected to the pin has high impedance. If this is the case, change the signal source to one with lower output impedance or insert a high-speed amplifier buffer between the signal source and the analog input pin to reduce the effect. ADA16-32/2(PCI)F...
  • Page 41: Analog Output Signal Connection

    Do not short the analog output signal to analog ground, digital ground, and/or power line. Doing so may damage the board. Do not connect an analog output signal to any other analog output, either on the board or on an external device, as this may cause a fault on the board. ADA16-32/2(PCI)F...
  • Page 42: Digital I/O Signals, Counter Signals And Control Signals Connection

    CAUTION Do not short the output signals to analog ground, digital ground, and/or power line. Doing so may damage the board. Reference For the operation timings for control signal input, see “Control Signal Timings” in Chapter 6 “Hardware”. ADA16-32/2(PCI)F...
  • Page 43: Synchronization Control Connectors

    (5) Start in order of slave to master boards. CAUTION When clock signals are assigned to the synchronization control connector, the maximum clock frequency is restricted to 5MHz. When signals are assigned to the synchronization control connector, a delay of approximately 100ns occurs at the slave board. ADA16-32/2(PCI)F...
  • Page 44: Connecting The Sc Connectors (Cn2 And Cn3)

    Connect CN2 with a smaller ID number to CN3 with a greater ID number with the cable. You should only use the cable that came with the board. ID = 0 ID = 1 ID = 2 Figure 3.11. Connecting Cables ADA16-32/2(PCI)F...
  • Page 45 3. External Connection ADA16-32/2(PCI)F...
  • Page 46: Functions

    Condititions Resolution Clock Input Mode Start Condition Stop Condition Channel Channel Event conversion order Range Data transfer method Memory Repeat Starting/Stopping Operation Start Stop 3.Monitoring the Status and Acquiring Data Status Sampling Transfer Repeat Data aquisition 4.Reset Status Memory ADA16-32/2(PCI)F...
  • 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. ADA16-32/2(PCI)F : The resolution is 16-bit. Input Mode ”Input Mode”...
  • Page 48 If the successive approximation input method is used, input is performed as specified by the channel conversion order setting. Range ”Range” means the range of voltages at which analog input can be performed. ADA16-32/2(PCI)F : The input range for the device is set by software. ADA16-32/2(PCI)F...
  • Page 49 Whether or not to overwrite memory can be specified in user buffer mode. User buffer mode uses bus master transfer automatically on devices that support it. Select user buffer mode if you wish to use bus master transfer. Device buffer mode User buffer mode ADA16-32/2(PCI)F...
  • Page 50 The ring memory is used to obtain data where conversion has stopped due to some event, usually without obtaining data in the normal state. ADA16-32/2(PCI)F...
  • Page 51 Data transfer does not halt when conversion data transfer reaches the end of the user buffer. Data transfer continues to overwrite memory until the conversion stop condition is established. This mode can be used for long term monitoring or for continuous sampling when all data must be captured. ADA16-32/2(PCI)F...
  • Page 52 The edge of the digital signal input from an external device is used for the sampling clock. Event controller output A specified output of the event controller is used as the sampling clock. Refer to the explanation of the event controller functions or to the driver help for details about the event controller. ADA16-32/2(PCI)F...
  • Page 53 Input data items are stored to memory, starting with those at solid dots. If you set the level comparison directions to both directions, the start condition is satisfied when the analog signal passes the level both in the rising and falling directions. ADA16-32/2(PCI)F...
  • Page 54 The board 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 event controller output is received. Refer to the explanation of the event controller functions or to the driver help for details about the event controller. ADA16-32/2(PCI)F...
  • Page 55 Input data items are stored to memory, ending until those at solid dots If you set the level comparison directions to both directions, the start condition is satisfied when the analog signal passes the level both in the rising and falling directions. ADA16-32/2(PCI)F...
  • Page 56 Sampling continues indefinitely in this mode. Sampling only stops in response to a software command or an error. Event controller output Sampling stops when the specified event controller output is received. Refer to the explanation of the event controller functions or to the driver help for details about the event controller. ADA16-32/2(PCI)F...
  • Page 57 Sampling clock error event This event occurs when conversion stops as an error occurs due to a sampling clock period that is too short. AD conversion error event This event occurs when conversion stops due to an AD conversion error. ADA16-32/2(PCI)F...
  • Page 58: Starting/Stopping Operation

    ON. This error stops sampling. Sampling The number of sampled items of input data stored in memory can be obtained by the software command. This command can only be used in device buffer mode. ADA16-32/2(PCI)F...
  • Page 59 When data is acquired from the memory, the free memory space increases by that data size. When data is acquired next, the oldest one of the existing data items is taken from the memory in the same way. The FIFO memory deletes data once that data is acquired. ADA16-32/2(PCI)F...
  • Page 60 In the above example, the lower two bytes of the packet contain the channel 0 data and the upper two bytes contain the channel 1 data. When using two channels, each packet (each data transfer) contains the data for one sampling. ADA16-32/2(PCI)F...
  • Page 61 As each packet contains two conversion data values, the uppermost two bytes are not used if an odd number of channels is being used, as in the example above. When using three channels, two packets (two data transfer operations) are used for each sampling. ADA16-32/2(PCI)F...
  • Page 62: Reset

    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 buffer overflow status. Resets the status information for the specified data save count. ADA16-32/2(PCI)F...
  • Page 63: Analog Output Function

    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 Transfer Repeat 4.Reset Status Memory ADA16-32/2(PCI)F...
  • Page 64: 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. ADA16-32/2(PCI)F : The resolution is 16-bit. Channel "Channel"...
  • Page 65 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. ADA16-32/2(PCI)F...
  • Page 66 Whether or not to overwrite memory can be specified in user buffer mode. User buffer mode uses bus master transfer automatically on devices that support it. Select user buffer mode if you wish to use bus master transfer. Device buffer mode User buffer mode ADA16-32/2(PCI)F...
  • Page 67 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. Ring format Use ring format if you wish to output a repeated pattern like that shown below. ADA16-32/2(PCI)F...
  • Page 68 Data transfer does not stop when output reaches the end of the user buffer. Instead, transfer continues repeatedly until the conversion stop condition is established. In this mode, the analog output operates like a function generator and continuously generates a fixed waveform. ADA16-32/2(PCI)F...
  • Page 69 The number of repetitions is set by software and sampling is repeated for the specified number of times. You can also specify that operation continue indefinitely. If set to repeat indefinitely, analog output operation is stopped by outputting a analog output stop command by software. ADA16-32/2(PCI)F...
  • Page 70 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. ADA16-32/2(PCI)F...
  • Page 71 When using three channels, two packets (two data transfer operations) are used for each sampling. As the ADA16-32/2(PCI)F supports a maximum of two channels, each packet always contains the data for a single sampling.
  • Page 72 External trigger The board 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. ADA16-32/2(PCI)F...
  • Page 73: 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). ADA16-32/2(PCI)F...
  • Page 74: Monitoring The Status And Acquiring Data

    You can use a software command to get the number of times output data has been transferred from user memory. This command can only be used in user buffer mode. Repeat The current repeat count can be obtained by the software command. This command can only be used in device buffer mode. ADA16-32/2(PCI)F...
  • Page 75: Reset

    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. ADA16-32/2(PCI)F...
  • Page 76: Counter Function

    This continues with the next value from the array being set each time a count match occurs. After the final value from the array is loaded, operation can start again from the beginning of the array. Alternatively, loading can be halted (in which case, the compare count value remains at 2000). ADA16-32/2(PCI)F...
  • Page 77 This event is triggered when a compare match occurs on the counter. Count overrun event This event is triggered when a counter overrun occurs. Counter operation error This event is triggered when a counter operation error causes the counter to stop. ADA16-32/2(PCI)F...
  • Page 78: Starting/Stopping Operation/Preset

    The current count value can be read using a software command. 4.Reset Various states can be reset by executing the following reset commands: Counter reset Resets the counter. This restores the counter to its state after power on. Status Resets the compare count match status and overrun status. ADA16-32/2(PCI)F...
  • Page 79: Digital Input Function

    Bit 7 Bit 6 Bit 5 Bit 4 Bit 2 Bit 1 Digital filter A digital filter can be used on the input bits. The filter time can be set to "don't use", 1μs, 128μs, or 16ms by software. ADA16-32/2(PCI)F...
  • Page 80: Digital Output Function

    Ex. Output of bit 7 (ON), bit 6(OFF), bit 5 (ON), bit 4 (OFF), bit3 (ON), bit 2 (OFF), bit 1 (ON) and bit 0 (OFF) Byte data = 170(AAH) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0(OFF) 1(ON) 0(OFF) 1(ON) 0(OFF) 1(ON) 0(OFF) 1(ON) ADA16-32/2(PCI)F...
  • Page 81: Event Controller Function

    The arrows in the figure show the flow of control signals. The main control signals include the operation start signals, operation stop signals, and clock signals. ADA16-32/2(PCI)F...
  • Page 82 The signal destination is the sampling clock for analog output and the signal source is the internal clock signal for analog input. In this example, conversion is started first for the analog output. Actual analog output does not start until analog input conversion starts. 7. Start conversion Start conversion. ADA16-32/2(PCI)F...
  • Page 83 The signal destination is the conversion start signal for analog input and the signal source is synchronization bus slave signal 1. 7. Set the clock to use for analog input (device 2) As the control signal from device 1 is used as the clock, set this as an output from the event controller. ADA16-32/2(PCI)F...
  • Page 84 The signal destination is the conversion start signal for analog input and the signal source is the count match signal from the counter. 3. Start operation In this example, conversion is first started for analog input. Actual conversion does not start until a count match occurs on the counter. ADA16-32/2(PCI)F...
  • Page 85: Ada16-32/2(Pci)F

    2. Setting up the event controller Setup the event controller. The signal destination is the count-up clock signal and the signal source is the internal clock signal for analog output. 3. Start conversion Start the counter first, then start analog output. ADA16-32/2(PCI)F...
  • Page 86: About Software

    |––WDM |––Win2000 |––Win95 |––linux Linux driver file |––cnt |––dio |––…… | ––Readme Readme file for each driver | ––Release Driver file on each API-TOOL |––API_NT (For creation of a user-specific install program) |––API_W95 | ––UsersGuide Hardware User's Guide(PDF files) ADA16-32/2(PCI)F...
  • Page 87: About Software For Windows

    Reference”, “Sample Programs”, “Tutorial”, “FAQs”and “Troubleshooting”. Use them for program development and troubleshooting. 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. ADA16-32/2(PCI)F...
  • Page 88: Using Sample Programs

    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 89 Perform continuous analog output using a ring buffer - AoTrg Perform analog output using an external trigger to start and stop operation - Ao2 Perform standard analog output using more than one device - AoCall Perform analog output using a callback routine ADA16-32/2(PCI)F...
  • Page 90 - DioBit Perform digital I/O using bit values - DioByte Perform digital I/O using byte values Counter/Timer - Counter General purpose counter - Interval Interval timer - Watch Stopwatch timer Others - Convert Data conversion - Multi1 Synchronized analog I/O ADA16-32/2(PCI)F...
  • Page 91: Usage Of Utility Program

    * The name of the board you have just added is displayed. - ADA16-32/2(PCI)F Procedure (1) Chose the measure device from device list. (2) Click the button written with the function name to measure the execution speed of the function.
  • Page 92 * The name of the board you have just added is displayed. - ADA16-32/2(PCI)F The number of channels used, the internal/external clock, the conversion speed, and the sampling frequency at which an event generates can be set. Since the notification of a sampling clock error event is sent, please make use of it for the conversion spec measurement under various conversion conditions.
  • Page 93 The cycle of the clock is too fast when converting it at the external clock. Moreover, the cause by noise etc. is also concerned. Buffer overflow : The memory overflows since the conversion speed is too fast compared with the one at which data is inputted. (4) Click the “stop” button, and measurement stops. ADA16-32/2(PCI)F...
  • Page 94 - ADA16-32/2(PCI)F The number of channels used, the internal/external clock, the conversion speed, the sampling frequency at which an event generates and number of the samplings to be added can be set. Since the notification of a sampling clock error event is sent, please make use of it for the conversion spec measurement under various conversion conditions.
  • Page 95 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. ADA16-32/2(PCI)F...
  • Page 96: Uninstalling The Driver Libraries

    (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) Select "CONTEC API-AIO(WDM) driver" and "CONTEC API-AIO(WDM) VerX.XX (Development environment)" from the list of applications. Click the [Change/Remove] button. Follow the on-screen instructions to uninstall the function libraries.
  • Page 97: About Software For Linux

    # 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...
  • Page 98: Accessing The Help File

    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. ADA16-32/2(PCI)F...
  • Page 99 5. About Software ADA16-32/2(PCI)F...
  • Page 100: About Hardware

    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. ADA16-32/2(PCI)F...
  • Page 101: Hardware Specification

    TTL (Rising or falling edge can be selected by software) External status output 2 TTL signal Sampling clock output Digital I/O Number of input channels Un-Isolated input 8ch (TTL positive logic) Number of output Un-Isolated output 8ch (TTL positive logic) channels ADA16-32/2(PCI)F...
  • Page 102 *2: This board requires +5V power supply from expansion slots (it does not operate in the environment of only +3.3V power supply). Board Dimensions 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. ADA16-32/2(PCI)F...
  • Page 103: Block Diagram

    Figure 6.1 is a circuit block diagram of this board. 8 Digital Input / 8 Digital Output 32 single-end / External Trigger Input/Output 16 differential Counter Input / Output Analog Inputs Multiplexer Converter Converter Instrument Amplifre Converter FPGA DC/DC converter PCI Bus Figure 6.1. Block Diagram ADA16-32/2(PCI)F...
  • Page 104: 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 6.2 are for standard operating conditions. ADA16-32/2(PCI)F...
  • Page 105: 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 6.3 are for standard operating conditions. ADA16-32/2(PCI)F...
  • Page 106: Control Signal Timings For Counter

    Time Unit Set up time of counter input (Rising edge) nsec Hold time of sampling start (Rising edge) nsec Pulse width of counter output signal 1000 nsec CAUTION The times listed in Table 6.4 are for standard operating conditions. ADA16-32/2(PCI)F...
  • Page 107: About Calibration

    Calibrate each channel separately for each range that you use. Factory setting You can use the calibration program to restore the factory calibration settings. If for some reason you are unable to achieve the rated accuracy, please contact the CONTEC information center. ADA16-32/2(PCI)F...
  • Page 109 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. [07102009] [04102003] Management No. A-46-739 [07102009_rev7] Parts No. LYCP234...

Table of Contents