NuDAQ ACL-8111 User Manual

16-bit high resolution data acquisition card

Advertisement

Quick Links

®
NuDAQ
ACL-8111
16-bit High Resolution
Data Acquisition Card
User's Guide
Recycled Paper

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ACL-8111 and is the answer not in the manual?

Questions and answers

Summary of Contents for NuDAQ ACL-8111

  • Page 1 ® NuDAQ ACL-8111 16-bit High Resolution Data Acquisition Card User’s Guide Recycled Paper...
  • Page 3 Trademarks NuDAQ is a registered trademark of ADLINK Technology Inc., Other product names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks of their respective...
  • Page 4 Customer Satisfaction is the most important priority for ADLINK Tech Inc. If you need any help or service, please contact us. ADLINK Technology Inc. Web Site http://www.adlinktech.com Sales & Service Service@adlinktech.com NuDAQ + USBDAQ + PXI nudaq@adlinktech.com Automation automation@adlinktech.com Technical Support NuIPC nuipc@adlinktech.com...
  • Page 5: Table Of Contents

    Table of Contents Chapter 1 Introduction ............. 1 Features .................2 Applications................3 Specifications .................4 Software Supporting ..............7 1.4.1 ACLS-DLL2 .................7 1.4.2 ACLS-LVIEW...............7 Chapter 2 Installation ............8 Unpacking ................9 What You Have ..............9 PCB Layout ................10 Base Address Setting ............11 D/A Reference Voltage Setting ..........13 Connectors Pin Assignments..........14 Daughter Board Connection ..........16 2.7.1...
  • Page 6 Chapter 4 Operation Theorem ........26 A/D Conversion ..............26 4.1.1 A/D Conversion Procedure..........27 4.1.2 A/D Clock Sources (Trigger Modes) ........27 4.1.3 A/D Data Transfer Modes..........29 D/A Conversion ..............30 Digital Input and Output ............32 Chapter 5 C/C++ Library for DOS ........33 DOS Software Library Installation........34 5.1.1 Installation .................34...
  • Page 7: Chapter 1 Introduction

    IBM Personal Computer and compatible computers. The registers map is fully compatible with PCL-711B. The ACL-8111 is designed to combine all the data acquisition functions, such A/D, D/A, D/O, and D/I in a single board, The high-end specifications of the card makes it ideal for wide range of applications in industrial and laboratory automation.
  • Page 8: Features

    Features The ACL-8111 Enhanced Multi-function Data Acquisition Card provides the following advanced features: • 8 single-ended 12-bit analog input channels • On-chip sample & hold • Variable input range: ± 5V, ± 2.5V, ± 1.25V, ± 0.625V, and ± 0.3125V •...
  • Page 9: Applications

    Applications • Industrial and laboratory ON/OFF control • Energy management • Annunciation • 16 TTL/DTL compatible digital input channels • Security controller • Product test • Period and pulse width measurement • Event and frequency counting • Waveform and pulse generation Introduction •...
  • Page 10: Specifications

    Specifications ♦ Analog Input (A/D) • Converter: ADS-774 or equivalent one, successive approximation type • Resolution: 12-bit • Number of channels: 8 single-ended • Programmable Gain: 1, 2, 4, 8, 16 (programmable) • Input Range: (programmable) Bipolar: ±5V, ± 2.5V, ±1.25V, ±0.625V, and ±0.3125V •...
  • Page 11 ♦ Digital I/O (DIO) • Number of channel: 16 DI & 16 DO (TTL compatible) • Input Voltage: • Low: Min. 0V; Max. 0.8V • High: Min. +2.0V • Input Load: • Low: +0.5V @ -0.2mA max. • High: +2.7V @+20 uA max. •...
  • Page 12 • +5 V @ 440 mA typical • +12V @ 60 mA typical • Dimension: 158mm X 108mm 6 • Introduction...
  • Page 13: Software Supporting

    ADLINK CD. It need license. 1.4.2 ACLS-LVIEW For easily link the ACL-8111 with LabView of National Instrument, the ACLS- LVIEW includes the Vis of the ACL-8111 under for Windows 3.1/95/98 and NT. ACLS-LVIEW is included in ADLINK CD. It need license.
  • Page 14: Chapter 2 Installation

    Installation This chapter describes how to install the ACL-8111. The following list shows the installation procedures: Unpacking and check what you have. Check the PCB and the location of jumper and switch. Setup the jumpers according to the system and applications setting.
  • Page 15: Unpacking

    Unpacking The ACL-8111 card contains sensitive electronic components that can be easily damaged by static electricity. The card should be done on a grounded anti-static mat. The operator should be wearing an anti-static wristband, grounded at the same point as the anti- static mat.
  • Page 16: Pcb Layout

    PCB Layout In ACL-8111, there are three connectors (CN1~CN3), one switch (SW1), one jumper (JP1) and 5 variable resistors (VR1~VR5). Please refer Figure 2.3 to identify the location these components. The card's jumpers and switches are preset at the factory. Please setup the switch and jumper according to the system setting and the application requirements.
  • Page 17: Base Address Setting

    Base Address Setting The ACL-8111 requires 16 consecutive address locations in I/O address space. The base address of the ACL-8111 is restricted by the following conditions. The base address must be within the range Hex 200 to Hex 3FF. The base address should not conflict with any PC reserved I/O address.
  • Page 18 ON: 0 OFF: 1. A4 ... A9 are correspond to PC address lines. How to Define a Base Address for the ACL-8111? The DIP1 to DIP6 in the switch SW1are one to one corresponding to the PC bus address line A9 to A4. A0, A1, A2, and A3 are always 0.
  • Page 19: D/A Reference Voltage Setting

    D/A Reference Voltage Setting The analog output range of ACL-8111 depends on the reference voltage, which is selected by JP1. There are two range of reference voltages can be assigned as either -5V or -10V, that will generate output range 0V ~ +5V or 0V ~ +10V, respectively.
  • Page 20: Connectors Pin Assignments

    Connectors Pin Assignments The ACL-8111 has three connectors: one 37-pin D-type connector (CN1) and two 20-pin insulation displacement connectors (CN2 and CN3). CN1 is for analog input and analog output signals. CN2 is for digital input signal. CN3 is for digital output signal.
  • Page 21 CN 2: Digital Input Signals ( DI 0 - 15) DI 1 DI 0 DI 3 DI 2 DI 5 DI 4 DI 7 DI 6 DI 9 DI 8 9 10 DI 11 DI 10 11 12 DI 13 DI 12 13 14 DI 15...
  • Page 22: Daughter Board Connection

    The ACLD-9182 is a 16 channel isolated digital input board. This board is connected with CN2 of ACL-8111 via 20-pin flat cable. The advantage of this board is a 500Vdc isolation voltage is provided, and it can protect your PC system from damage when an abnormal input signal is occurred.
  • Page 23: Connect With Acld-9188

    2.7.4 Connect with ACLD-9188 ACLD-9188 is a general-purpose terminal board for the entire card, which comes equipped with 37-pin D-sub connector. ACLD-9188 ACL- 8111 Installation • 17...
  • Page 24: Chapter 3 Registers Format

    Registers Address Map The ACL-8111 requires 16 consecutive addresses in the I/O address space. The following table (Table 3.1) shows the location of each register relative to the base address and register descriptions.
  • Page 25: A/D Data Registers

    A/D Data Registers ACL-8111 provides 8 single-end A/D input channels. The 12 bit A/D data is put in two 8-bit registers. The low byte date (8 LSBs) is at address BASE+4 and the high byte data (4 MSBs) is at address BASE+5. The DRDY bit is used to indicate the status of A/D conversion.
  • Page 26: A/D Channel Multiplexer Register

    A/D Channel Multiplexer Register This register is used to control the A/D channels number to convert. It's a write only register. When the channel number is written to the register, the multiplexer switches to the new channel and waits for conversion. Address: BASE + 10 Attribute: write only Data Format:...
  • Page 27: A/D Input Range Control Register

    A/D Input Range Control Register The gain control register is a write-only register using address Base + 9. It is used to adjust the gain of the analog input programmable amplifier. The data format is specified as follows: Address: BASE + 9 Attribute: write only Data Format: BASE+9...
  • Page 28: Mode And Interrupt Control Register

    Mode and Interrupt Control Register The Mode and Interrupt control register is a write-only register. This register control the AD operating modes and the IRQ level of the ACL-8111. The AD operation modes include the AD clock source and the AD data transfer method.
  • Page 29: Interrupt Status Register

    A/D conversion. You have to clear the status flag by just writing any data to this register, let the ACL-8111 can generate next interrupt if a new A/D conversion is happen.
  • Page 30: Digital I/O Register

    There are 16 digital input channels and 16 digital output channels are provided by the ACL-8111. The address Base + 6 and Base + 7 are used for digital input channels, and the address Base + 13 and Base + 14 are used for digital output channels.
  • Page 31 Note: The D/A registers are "double buffered" so that the D/A analog output signals will not updated until the second (high) byte is written. This can insure a single step transition when the D/A conversion. Registers Format • 25...
  • Page 32: Chapter 4 Operation Theorem

    Operation Theorem The chapter describe the operation theorem of ACL-8111. The functions include the A/D conversion, D/A conversion, and digital I/O. The operation theorem can help you to understand how to manipulate and to program the ACL-8111. A/D Conversion Before programming the ACL-8111 to perform the A/D conversion, you should understand the following issues: •...
  • Page 33: A/D Conversion Procedure

    A/D Conversion Procedure The A/D conversion is starting by a trigger source, then the A/D converter will start to convert the signal to a digital value. The ACL-8111 provides three trigger modes, see section 4.1.2. The DRDY bit in the A/D data register (Base+5) will become to 0 once the A/D conversion is completed and data on the Base+4 and Base+5 are ready.
  • Page 34 A/D sampling rate. It can be combined with the EOC (end-of-conversion) interrupt data transfer. On the ACL-8111, the 8253 chip for timer pacer trigger source is configured as below: The pacer rate of above configuration is determined by the formula:...
  • Page 35: A/D Data Transfer Modes

    It is possible to read A/D converted data without polling. The A/D conversion time will not excess 8 µ s on ACL-8111 card. Hence, after software trigger, the software can wait for at least 25 µ s then read the A/D register without polling.
  • Page 36: D/A Conversion

    The operation of D/A conversion is simpler than A/D operation. You only need to write digital values into the D/A data registers and the corresponding voltage will be output from the AO. The ACL-8111 has one uni-polar analog output channels. To make the D/A output connections from the appropriate D/A output, please refer Figure 4.2.
  • Page 37 When write 12 bits data to D/A registers of the ACL-8111, the low byte must be written before the high byte. This procedure can insure a single step transition when the D/A conversion.
  • Page 38: Digital Input And Output

    Digital Input and Output The ACL-8111 provides 16 digital input and 16 digital output channels through the connector CN2 and CN3 on board. The digital I/O signal are fully TTL/DTL compatible. The detailed digital I/O signal specification can be referred in section 1.3.
  • Page 39: Chapter 5 C/C++ Library For Dos

    C/C++ Library for DOS This chapter describes the DOS software library, which is free supplied. The DOS library software includes a utility program, C language library, and some demonstration programs, which can help you reduce the programming work. To program in Windows environment, please use ACLS-DLL2. The function reference manual of ACLS-DLL2 is included in the ADLINK CD.
  • Page 40: Dos Software Library Installation

    DOS Software Library Installation 5.1.1 Installation To install the DOS library software and utilities, please follow the following installation procedures: Put ADLINK CD into the appropriate CD-ROM drive. Type the following commands to change to the card’s directory (X indicates the CD-ROM drive): X:\>...
  • Page 41: 8111_Initial

    _8111_Initial @ Description An ACL-8111 card is initialized according to the card number and the corresponding base address. Every ACL-8111 Multi-Function Data Acquisition Card have to be initialized by this function before calling other functions. @ Syntax int _8111_Initial(int card_number, int base_addresss )
  • Page 42: 8111_Switch_Card_No

    _8111_Switch_Card_No @ Description This function is used on dual-cards system. After two ACL-8111 cards are initialized by the initial function, you can select one card which you want to operate. @ Syntax int _8111_Switch_Card_No(int card_number) @ Argument: card_number: The card number to be initialized, only two cards can be initialized, the card number must be CARD_1 or CARD_2.
  • Page 43 This function is used to read data from digital input port. There are 16-bit digital inputs on the ACL-8111. The bit 0 to bit 7 are defined as low byte and the bit 8 to bit 15 are defined as the high byte.
  • Page 44: Di _Channel

    _8111_DI _Channel @ Description This function is used to read data from digital input channels (bit). There are 16 digital input channels on the ACL-8111. When performs this function, the digital input port is read and the value of the corresponding channel is returned.
  • Page 45 @ Description This function is used to write data to digital output ports. There are 16 digital outputs on the ACL-8111, they are divided by two ports, DO_LO_BYTE and DO_HI_BYTE. The channel 0 to channel 7 are defined in DO_LO_BYTE port and the channel 8 to channel 15 are defined as the DO_HI_BYTE port.
  • Page 46 _8111_DA @ Description This function is used to write data to D/A converters. There is a Digital-to- Analog conversion channel on the ACL-8111. The resolution is 12-bit, i.e. the range is from 0 to 4095. @ Syntax int _8111_DA(unsigned int data )
  • Page 47: 8111_Ad_Set_Channel

    This function is used to set AD channel by means of writing data to the multiplexer scan channel register. There are 8 single-ended A/D channels in ACL-8111, so the channel number should be set between 0 to 7 only. The initial state is channel 0 which is a default setting by the ACL-8111 hardware configuration.
  • Page 48: 8111_Ad_Set_Gain

    This function is used to set the A/D analog input range by means of writing data to the A/D range control register. The initial value of gain is “1’ which is set by the ACL-8111 harware. The relationship between gain and input voltage ranges is specified by following tables: The initial value of gain is '1‘...
  • Page 49: 5.10 _8111_Ad_Set_Mode

    This function is used to set the A/D trigger and data transfer mode by means of writing data to the mode control register. The hardware initial state of the ACL-8111 is set as AD_MODE_1 software( internal) trigger with program polling data.
  • Page 50: 5.11 _8111_Ad_Soft_Trig

    5.11 _8111_AD_Soft_Trig @ Description This function is used to trigger the A/D conversion by software. When the function is called, a trigger pulse will be generated and the converted data will be stored in the base address Base +4 and Base +5, and can be retrieved by function _8111_AD_Aquire().
  • Page 51: 5.12 _8111_Ad_Aquire

    ErrCode; _8111_Initial( CARD_1, 0x220 ); /* Assume NoError when Initialize ACL-8111 /* Set to software trigger at first*/ _8111_AD_Set_Mode( IRQ5, AD_MODE_1 ); /* then trigger the AD */ _8111_AD_Soft_Trig(); /* wait for AD data ready then read it */ ErrCode = _8111_AD_Aquire( &ad_data );...
  • Page 52: 5.13 _8111_Clr_Irq

    @ Description This function is used to clear interrupt request which requested by the ACL-8111. If you use interrupt to transfer A/D converted data, you should use this function to clear interrupt request status, otherwise no new coming interrupt will be generated.
  • Page 53: 5.14 _8111_Ad_Int_Start

    5.14 _8111_AD_INT_Start @ Description The function will perform A/D conversion N times with interrupt data transfer by using pacer trigger. It takes place in the background which will not be stopped until the Nth conversion has been completed or your program execute _8111_AD_INT_Stop() function to stop the process.
  • Page 54: 8111_Ad_Int_Status

    5.15 _8111_AD_INT_Status @ Description Since the _8111_AD_INT_Start() function executes in background, you can issue the function _8111_AD_INT_Status to check the status of interrupt operation. @ Syntax int _8111_AD_INT_Status( int *status , int *count ) @ Argument: status: status of the INT data transfer 0: A/D INT is completed 1: A/D INT is not completed count:...
  • Page 55: 5.17 _8111_Ad_Timer

    It is possible to stop the pacer trigger by setting any one of the dividers as 0. The AD conversion rate is limited due to the conversion time of the AD converter, the highest sampling rate of the ACL-8111 can not be exceeded 30 KHz,Thus the multiplication of the dividers must be larger than 70.
  • Page 56: Chappter 6 Calibration

    This chapter will guide you to calibrate your ACL- 8111 to an accuracy condition. Note : Your ACL-8111 board has been carefully calibrated in the factory before it is shipped to you. What do you need...
  • Page 57: Vr Assignments

    VR Assignments There are five variable resistors (VR) on the ACL-8111 board to allow you making accurate adjustment on A/D and D/A channels. The function of each VR is specified below: VR No. Function D/A full scale adjustment D/A zero offset adjustment...
  • Page 58: A/D Calibration

    A/D Calibration Since the ACL-8111 provides versatile A/D input ranges, the calibration on one A/D range may cause a small offset on other ranges. It is suggested that you calibrate the A/D range which you need best accuracy. The procedures of calibration are as follows: Set the analog input range as: +/- 5V, i.e.
  • Page 59: Appendix A. Demo. Programs

    Appendix A. Demo. Programs In this software diskette, there are 6 demonstration programs are provided. They could help you to program your application by using C Language Library easily. The description of these programs are specified as follows: A/D conversion uses software trigger and AD_DEMO1.C: program data transfer.
  • Page 60: Warranty Policy

    Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please read the following carefully. Before using ADLINK’s products please read the user manual and follow the instructions exactly. When sending in damaged products for repair, please attach an RMA application form which can be downloaded from: http://rma.adlinktech.com/policy/.
  • Page 61 • Damage caused by leakage of battery fluid during or after change of batteries by customer/user. • Damage from improper repair by unauthorized ADLINK technicians. • Products with altered and/or damaged serial numbers are not entitled to our service. • This warranty is not transferable or extendible.

Table of Contents