Advertisement

Quick Links

Model AOB8/16 & AOB16/16
Product Manual
MANUAL NUMBER : 00650-010-6C

Advertisement

Table of Contents
loading

Summary of Contents for ICS Advent AOB8/16

  • Page 1 Model AOB8/16 & AOB16/16 Product Manual MANUAL NUMBER : 00650-010-6C...
  • Page 2 Support Library. Thank you. The information in this document is provided for reference only. ICS Advent does not assume any liability arising from the application or use of the information or products described herein. This document may contain or reference information and products protected by copyrights or patents and does not convey any license under the patent rights of ICS Advent, nor the rights of others.
  • Page 3 This page intentionally left blank Page - iv...
  • Page 4 The limited warranty is void if the product has been subjected to alteration, neglect, misuse, or abuse; if any repairs have been attempted by anyone other than ICS Advent or its authorized agent; or if the failure is caused by accident, acts of God, or other causes beyond the control of ICS Advent or the manufacturer.
  • Page 5 Limitation of Liability In no event shall ICS Advent be liable for any defect in hardware, software, loss, or inadequacy of data of any kind, or for any direct, indirect, incidental, or consequential damages in connection with or arising out of the performance or use of any product furnished hereunder.
  • Page 6 Use caution when servicing any electrical component. We have tried to identify the areas which may pose a Caution or Warning condition in this manual; however, ICS Advent does not claim to have covered all situations which might require the use of a Caution or Warning.
  • Page 7 This page intentionally left blank Page - viii...
  • Page 8: Table Of Contents

    Table of Contents Chapter 1: Installation ....................1 Backing up the Disk ..........................1 Hard Disk Installation ..........................1 Installing the Card ..........................2 Chapter 2: Functional Description ................3 Chapter 3: Option Selection ..................5 Output Ranges ............................. 5 Analog Outputs Update .........................
  • Page 9 List of Figures Figure 2-1: Block Diagram .......................... 4 Figure 3-1: Option Selection Map ....................... 6 Figure 4-1: Standard Address Assignments for PC and PC/XT Computers ..........7 Figure 5-1: Data Format ..........................11 Current Revision 6C December 2000 Page - x...
  • Page 10: Chapter 1: Installation

    Chapter 1: Installation Backing up the Disk The software provided with the AOBx/16 is in DOS, diskette format. You should make back-up copies for everyday use and place your original master diskette in a safe location. You may make as many back-up copies as needed. The easiest way to make a back-up copy is to use the DOS DISKCOPY utility.
  • Page 11: Installing The Card

    AOB8/16 &AOB16/16 Manual Installing the Card Before installing the card carefully read the Address Selection and Option Selection sections of this manual and configure the card according to your requirements. Be especially careful with address selection. If the addresses of two installed functions overlap you will experience unpredict- able computer behavior.
  • Page 12: Chapter 2: Functional Description

    Chapter 2: Functional Description The AOB8/16 and AOB16/16 are full-size cards that can be installed in any long I/O slot of PC-AT class computers. They contain either 8 or 16 double-buffered digital-to-analog converters (DAC) and provide 8 or 16 independent analog output channels of 16-bit resolution. Each analog output...
  • Page 13: Figure 2-1: Block Diagram

    AOB8/16 &AOB16/16 Manual ADDRESS SELECT SWITCHES INITIALIZE DACS ADDRESS 16-BIT DECODE UPDATE DACS DAC #15 (AOB16/16) PRE-LOAD REGISTER DAC OUTPUT DAC #7 (AOB8/16) INTERFACE BIP. UNIP. BIP. UNIP. INITIALIZE OUTPUT MODE COMPUTER BUS RANGE 16-BIT PRE-LOAD DAC #0 REGISTER DAC OUTPUT BIP.
  • Page 14: Chapter 3: Option Selection

    Chapter 3: Option Selection Voltage output ranges are determined by jumper placement as described in the following para- graphs. Also, the method to update D/A outputs is programmable as described here and in the Programming section of this manual. Output Ranges To select output voltage ranges (either unipolar or bipolar) set three jumpers located below each DAC output chip.
  • Page 15: Figure 3-1: Option Selection Map

    AOB8/16 &AOB16/16 Manual Figure 3-1: Option Selection Map Page 6 Manual Number: 00650-010-6...
  • Page 16: Chapter 4: Address Selection

    Chapter 4: Address Selection The AOB8/16 and AOB16/16 require 16 or 32 consecutive address locations in I/O space, respec- tively. The starting, or base address, can be selected anywhere within an I/O address range 100-3FF hex (except 1F0 through 1F8) in AT-class computers and 200- 3FF in XT-class computers, provid- ing that the address does not overlap with other functions.
  • Page 17 AOB8/16 &AOB16/16 Manual The AOBx/16 base address bits A5 through A9 are set by DIP switch S1. The setup program provided on diskette with your card includes an interactive base-address selection program. The computer monitor presents a pictorial display of the DIP switch and, when you enter your desired hex base address, the display changes to show proper switch settings for that address.
  • Page 18: Chapter 5: Programming

    Chapter 5: Programming Programming the AOBx/16 is very straightforward as there are only two operating modes, three sets of jumpers, and one unique addition. The basic operation of a Digital to Analog card is to write a 16-bit value to a Digital to Analog Converter (DAC) preload register where it is buffered and loaded with an update command to a DAC register which produces the corresponding analog out- put (Defined by the range and polarity jumpers for that channel).
  • Page 19 AOB8/16 &AOB16/16 Manual The AOB8/16 and AOB16/16 cards use 16 and 32 consecutive I/O addresses, respectively. The I/ O address map is as follows: Address Write * Read Base + 0 DAC 0 Low Byte Place card in Simultaneous Mode without updating outputs.
  • Page 20: Figure 5-1: Data Format

    Figure 5-1: Data Format For UNIPOLAR ranges: For Unipolar ranges, data are in true binary form. 0000 0000 0000 0000 = ZERO 1000 0000 0000 0000 = 1/2 SCALE 1111 1111 1111 1111 = FULL SCALE MSB or B1<— | —> B16 or LSB For BIPOLAR ranges: For Bipolar ranges, data are in complementary offset binary form.
  • Page 21 AOB8/16 &AOB16/16 Manual This page intentionally left blank Page 12 Manual Number: 00650-010-6...
  • Page 22: Chapter 6: Software

    Chapter 6: Software The AOBx/16 cards are straightforward to program. The following example is in BASIC, but for languages such as C or Pascal the procedure is simplified by their support of two-byte output operations: To output an analog value with 16-bit resolution, a corresponding decimal number N between 0 and 65536 is calculated (2^16 = 65536).
  • Page 23 AOB8/16 &AOB16/16 Manual To use these files in a VisualBASIC program, you must create a .MAK file (File l New Project) similar to the sample provided (or else, modify your existing project file) and include the .GBL file (File | Add File). Once this has been done, VisualBASIC will be enhanced with the addition of the following functions.
  • Page 24 Note: That in all of the above functions, an inherent limitation of BASIC in general, and VisualBASIC in particular, makes the values sent less intuitive. All integers in BASIC are signed numbers, wherein data are stored in two’s complement form. All bit patterns must be converted to-and-from this two’s complement form if meaningful display is required.
  • Page 25 AOB8/16 &AOB16/16 Manual This page intentionally left blank Page 16 Manual Number: 00650-010-6...
  • Page 26: Chapter 7: Calibration

    Chapter 7: Calibration Periodic calibration of the AOBx/16 cards are recommended if it is used in extreme environmental conditions. The card uses very stable components but vibration, or high-low temperature cycles might result in slight analog output errors. Factory calibration and periodic calibration of the card includes adjustment of the internal refer- ence voltage unless you are using an external reference voltage.
  • Page 27 AOB8/16 &AOB16/16 Manual This page intentionally left blank Page 18 Manual Number: 00650-010-6...
  • Page 28: Chapter 8: Connector Pin Assignments

    Chapter 8: Connector Pin Assignments The analog outputs are accessible via a female 37-pin D type connector that extends through the back of the computer case and a DB37P solder cup plug may be used to make connections. Pin assignments are as follows: Name Function D/A 0 Out...
  • Page 29 AOB8/16 &AOB16/16 Manual Note: The figure below shows how pins are numbered on D type connectors. Page 20 Manual Number: 00650-010-6...
  • Page 30: Chapter 9: Specifications

    Chapter 9: Specifications Analog Outputs Resolution: 16 Binary bits (0 to 65535 decimal). Channels: 16 or 8 Voltage output channels Voltage output ranges at 5mA max. 0.0 to 5.0 VDC. (76uV/bit) 0.0 to 10.0 VDC. -5.0 to +5.0 VDC. -10.0 to +10.0 VDC Digital-to-Analog Converter: AD660 D/A Converter, Double buffered / Simultaneous update...
  • Page 31 AOB8/16 &AOB16/16 Manual This page intentionally left blank Page 22 Manual Number: 00650-010-6...
  • Page 32: Appendix A: Sample Programs

    Appendix A: Sample Programs Sample programs are provided on diskette with the AOBx/16. Sample Program #1 demonstrates general use of the card. This program prompts you for a voltage, calculates the closest actual voltage based on the 16-bit resolution of the DAC, and then programs the card to output this volt- age.
  • Page 33 AOB8/16 &AOB16/16 Manual printf(“(20000 maximum, program will use modulus if needed);”); scanf(“%u”,&counts); counts%=20001; /end setparms*/ Function: sendtoport( ) - local routine Purpose: Writes point buffer to the DAC until a key is pressed Input: None Calls: None Output: None void sendtoport() i,temp;...
  • Page 34 void sinecurve() double rads,sine; if (counts == 0) return; /*no point -- no curve */ clrscr(); printf(“Calculating sine wave points..”); rads = (double) 2 * PI / (counts - 1); /* rad per count */ for(i = 0;i <counts;i++) sine = (sin(rads * i) + 1.0) * 32767; progstruct[i] = (unsigned) sine;...
  • Page 35 AOB8/16 &AOB16/16 Manual temp = 65535 - temp; progstruct[i+counts/2+1] = (int)temp; clrscr(); printf(“Generating triangle wave, press any key to stop..”); sendtoport(); /* end triangle curve */ Function: sawcurve() - local routine Purpose: Calculate the points to create a sawtooth wave...
  • Page 36 void menulist(void) clrscr(); printf(“\n\n\n”); printf(“Your menu selections are:\n”); printf(“1. Input Card Data (do this first.)\n”): printf(“2. Sine Curve\n”); printf(“3. Triangle Curve\n”); printf(“4. Sawtooth Curve\n”); printf(“5. End Program, Return to DOS\n”); printf(“Input Choice;”); /* end menulist */ Function: main() - local routine Purpose: Controls program execution Input:...
  • Page 37 AOB8/16 &AOB16/16 Manual This page intentionally left blank Page 28 Manual Number: 00650-010-6...
  • Page 38 Chapter X: XXXXX ADDENDUM IRQGEN.VXD and Win32IRQ.DLL IRQGEN.VXD Description IRQGEN.VXD is a Virtual Device Driver, or VxD, for Windows95. Together with Win32IRQ.DLL, it allows a program to easily respond to hardware interrupt requests, or IRQs. Installation To install IRQGEN.VXD, copy it to C:\Windows\System. If your hard drive has a letter other than C, substitute the appropriate letter.
  • Page 39 DetectIRQ This function suspends the thread that it was called from and waits for an IRQ to occur on the IRQ number that was passed to InitIRQ. DetectIRQ will return immediately, however, if an IRQ occured anytime before the DetectIRQ call, as long as an IRQ number was initialized with InitIRQ. Otherwise, DetectIRQ will not return until an IRQ occurs.
  • Page 40 The technical documentation required to demonstrate this product meets the requirements of the EMC Directive and the Low Voltage Directive has been compiled by ICS Advent and is available for inspection by the relevant enforcement authorities. The CE mark was first applied in 2000.

This manual is also suitable for:

Aob16/16

Table of Contents