NuDAQ 6208 Series Multi-channel Analog Output Board User’s Guide
@Copyright 1999 ADLink Technology Inc. All Rights Reserved. Manual Rev. 3.00: October 15, 1999 The information in this document is subject to change without prior notice in order to improve reliability, design and function and does not represent a commitment on the part of the manufacturer.
CONTENTS CONTENTS .................................................... i How to Use This Guide................................ iii CHAPTER 1 Introduction ............................ 1 1.1 Features......................................................................... 2 1.2 Applications .................................................................. 2 1.3 Specifications................................................................ 2 CHAPTER 2 2.1 2.2 2.3 2.4 2.5 2.6 What You Have.................
CHAPTER 5 Software Library................... 19 5.1 Installation................................................................... 19 5.1.1 5.1.2 MS-DOS Software Installation................................. 19 Windows 95/98 Software Installation...................... 19 5.2 C/C++ Programming Library....................................... 20 5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 Data Types .............................................................. 21 _6208_Initial ......................
How to Use This Guide This manual is designed to help you use the 6208 series products. It describes how to modify and control various functions on these products to meet your requirements. It is divided into six chapters: • Chapter 1, "Introduction", gives an overview of the product features, applications, and specifications. • Chapter 2, "Installation", describes how to install the 6208 series products.
1 Introduction The 6208 series products are multi-channel analog output cards. They include the following three products: • • • cPCI/PCI-6208V: 8-CH voltage output card for cPCI/PCI interface cPCI/PCI-6208A: 8-CH voltage and current output card for cPCI/PCI interface PCI-6216V: 16-CH voltage output card for PCI interface cPCI/PCI-6208V: cPCI/PCI-6208V is a high-density analog output card with 8 identical voltage output channels. Each channel is equipped with B.B.
1.1 Features l 32-bit cPCI/PCI-Bus, Plug and Play l 16-bit high resolution voltage outputs l Output Range : ±10V (14-bit resolution guarantee) for cPCI/PCI-6208V and PCI-6216V only l Output Range : 0-20mA, 4-20mA, 5-25mA (14-bit resolution guarantee) for cPCI/PCI-6208A only l 0.001% of FSR typical. Differential linearity error l Fast 2 µs voltage settling time (-10V~+10V) l On board DC-to-DC converter to provide stable power and current source for analog outputs 1.
Differential Linearity Error: ± 0.001 % Full Scale Range Output initial status : 0V (after RESET or POWER-ON) Data Transfer: Programmed I/O ♦ Current Output Numbers of channel: 8 channel for cPCI/PCI-6208A Current output ranges: (software programmable) q 0~20mA, 4~20mA, 5~25mA. Voltage to current converter: B.B. XTR110 or equivalent Settling time: 17 µ second (0~20mA) Slew rate: 1.3mA / µs Non-linearity: ± 0.01 % of Span Span error: 0.
Connector: 37-pin D-sub connector (female) Bus interface: 32-bit slave PCI bus Power consumption: qPCI-6208V: +5VDC @ 580mA typical +12VDC @ 70mA typical qPCI-6208A: +5VDC @ 670mA typical +12VDC @ 90mA typical or +12VDC @ 370mA (when all current output channel is 25mA) qPCI-6216V: +5VDC @ 1.
2 Installation This chapter describes how to install the 6208 series card. Please follow the following steps to complete the installation. 2.1 What You Have In addition to this User's Manual, the package includes the following items: l 6208 Series Card l Manual & Software Utility CD If any of these items is missing or damaged, contact the dealer whom you purchased the product from. Save the shipping materials and carton in case you want to ship or store the product in the future. 2.
After opening the card module carton, exact the system module and place it only on a grounded anti-static surface component side up. Note : DO NOT APPLY POWER TO THE CARD IF IT HAS BEEN DAMAGED. You are now ready to install your 6208 series card. 2.3 Device Installation for Windows 95/98 While you first plug 6208 series card and enter Windows 95/98, the system will detect this device automatically. Please follow the steps to install the device. 1.
2.4 PCB Layout Figure 2.
Figure 2.
2.5 Connector Pin Assignment The pin assignment of 6208 series card are shown in Figure 2.2 DI3 (1) DI2 (2) DI1 (3) DI0 (4) GND (5) +5V (6) +15V (7) A.GND (8) V14(A6) (9) V6 (10) A.GND (11) V12(A4) (12) V4 (13) A.GND (14) V10(A2) (15) V2 (16) A.GND (17) V8(A0) (18) V0 (19) (20) DO3 (21) DO2 (22) DO1 (23) DO0 (24) GND (25) -15V (26) A.GND (27) V15(A7) (28) V7 (29) A.GND (30) V13(A5) (31) V5 (32) A.GND (33) V11(A3) (34) V3 (35) A.GND (36) V9(A1) (37) V1 Figure 2.
2.6 Install 6208 Series Card to cPCI/PCI Connector Note that the PC power should be ‘OFF’ before installing, and be careful to install the cards properly and tighten the screw. Improper installation of the cPCI/PCI cards may damage the cards. 2.6.1 Hardware configuration Memory usage (I/O port locations) of the cPCI/PCI card is assigned by system BIOS. The address assignment is done on a board-by-board basis for all cPCI/PCI cards in the system. 2.5.
3 Registers Format In this chapter, the register format of the analog output channel and digital I/O ports are introduced. Before programming or applying the 6208 series cards to your applications, please go through this chapter to understand the features of the functions. The 6208 functions as a 32-bit PCI target device to any master on the PCI bus. There are three types of registers: PCI Configuration Registers (PCR), Local Configuration Registers (LCR) and 6208 registers.
3.1 Analog Output Registers There are 8 and 16 voltage output channels for cPCI/PCI-6208V and PCI-6216V respectively. For cPCI/PCI-6208A, there are 8 voltage and current out-put channels, the voltage output controls the current source. The programming method of all the analog output channels are identical. For the three analog output cPCI/PCI cards, the programming are compatible. The following table shows the address of every analog output ports relative to the base address.
3.2 Analog Output Status Register The DAC is with series bus hence it take times to send digital value out. The data transfer time for every DA data write takes 2.2µs, therefore the software driver must wait for 2.2µs before send another data to any analog output port. While the DA value is sending, the Data_Send bit is ‘H’. The software driver should check this bit before write any data to output port. This register is read only. Offset Address 0x00 D16~D1 X D0 Data_Send 3.
4 Operation Theorem In this chapter, the detail operation theorem of 6208 series cards is described. Before programming or applying the 6208 series cards to your applications, please go through this chapter to understand the features of the functions. 4.1 Voltage Output The DA converters used on the cPCI/PCI-6208 are Burr-Brown PCM56U. The DAC is 16 bit resolution with bi-polar output. The voltage output range is +/-10V. Therefore, the data register are all 16-bits value with sign.
Digital Value 32767 16384 8192 1 0 -1 -8192 -16384 -32767 -32768 HEX value 0x7FFF 0x4000 0x2000 0x0001 0x0000 0xFFFF 0xE000 0xC000 0x8001 0x8000 Output Voltage +9.99969V +5.00000V +2.50000V 0.00031V 0.00000V -0.00031V -2.50000V -5.00000V -9.99969V -10.00000V 4.2 Current Output and Range Control The current output is implemented by the precision voltage-to-current converter XTR110. The current output channel n (An) is control by the voltage of channel n (Vn).
The cPCI/PCI-6208A provides an on board +15V power supply. Each current output channel is a current source which is controlled by the voltage of the corresponding channel. For example, voltage output channel 3 control the current source channel 3. The output current range is programmable. All the 8 current channels on cPCI/PCI-6208A are controlled by one control register. The control voltage range is always uni-polar 0~10V. There are three kinds of output current range.
5 Software Library This chapter describes the software library for programming the 6208 series cards. The software library for DOS and Windows 95 are provided. Seven Clanguage functions are provided in this software library to support users to program their own applications. The function prototypes and some useful constants are defined in the Pci_6208.h and Acl_pci.h. 5.1 Installation 5.1.1 MS-DOS Software Installation step 1. Place ADLink’s “All-in-one” CD into the appropriate CD drive. step 2.
After a welcome dialog box, Setup prompts the following dialog box for you to specify the destination directory. The default path is C:\ADLink\6208\W95. If you want to install 6208 series DLL for Windows 95 in another directory, please click Browse button to change the destination directory. Then you can click next to begin installing 6208 series DLL for Windows 95. After you complete the installation of 6208 series Software, 6208 series DLL (6208.
In DOS Environment : _{hardware_model}_{action_name}. e.g. _6208_Initial(). All functions in cPCI/PCI-6208V/A, PCI-6216 library are with 6208 as {hardware_model}. But they can be used by cPCI/PCI-6208V, cPCI/PCI6208A, and PCI-6216V. In order to recognize the difference between DOS library and Windows 95 library, a capital "W" is put on the head of each function name of the Windows 95 DLL driver e.g. W_6208_Initial(). 5.2.1 Data Types We defined some data type in Pci_6208.h (DOS) and Acl_pci.
@ Syntax C/C++ (DOS) U16 _6208_Initial (U16 *existCards, PCI_INFO *pciInfo) C/C++ (Windows 95/98) U16 W_6208_Initial (U16 *existCards, PCI_INFO *pciInfo) Visual Basic (Windows 95/98) W_6208_Initial (existCards As Integer, pciInfo As PCI_INFO) As Integer @ Argument existCards: pciinfo: number of existing 6208 series cards relative information of the 6208 series cards @ Return Code ERR_NoError ERR_BoardNoInit ERR_PCIBiosNotExist 5.2.
5.2.4 _6208_DA @ Description This function is used to write data to D/A converters. There are 8 and 16 Digital-to-Analog conversion channels on the cPCI/PCI-6208.and PCI-6216 respectively. The resolution of each channel is 16 bits with sign; i.e. the digital value range from -32768 (0x8000) to +32767 (0x7FFF).
@ Return Code ERR_NoError 5.2.5 _6208_Get_DA_Status @ Description This function is used to check the DA data sending status. Because the data transfer time for every DA data takes 2.2 µs, the software driver must wait for 2.2µs before sending another data to any analog output port. This function should be called before writing any data to output port. While the DA value is sending, the returned value is “1”, otherwise the returned value is “0”.
@ Syntax C/C++ (DOS) U16 _6208_DI (U16 cardNo, U16 *DIData) C/C++ (Windows 95/98) U16 W_6208_DI (U16 cardNo, U16 *DIData) Visual Basic (Windows 95/98) W_6208_DI (ByVal cardNo As Integer, DIData As Integer) As Integer @ Argument cardNo: the card number of 6208 series card initialized. The first card (in the most prior PCI slot) is with cardNo = 0. DIData: the value read from digital input port, please refer to the above description paragraph for getting the correct DI data @ Return Code ERR_NoError 5.2.
@ Argument cardNo: the card number of 6208 series card initialized. The first card (in the most prior PCI slot) is with cardNo = 0. DOData: the value written to digital output port @ Return Code ERR_NoError 5.2.8 _6208_I2V_Control @ Description This function is used to set cPCI/PCI-6208A voltage-to-current mode control. There are three modes of range for cPCI/PCI-6208A. Please refer to section 3.3 for the detailed description of voltage to current conversion.
@ Argument cardNo: the card number of 6208 series card initialized. The first card (in the most prior PCI slot) is with cardNo = 0. ctrl: the voltage-to-current mode, the valid modes are shown in the above table. The constants are defined in Pci_6208.h (DOS) and Acl_pci.h (Windows 95).
6 Utility / Calibration This software CD provides a utility program, 6208util.exe, which provides two functions, Calibration, and Functional Testing. This utility is designed as menu-driven based windowing style. The text messages are shown for operating guidance. This utility is described in the following sections. 6.1 Running the 6208util.
6.1.1 Functional Testing This function is used to test the D/A functions of cPCI/PCI-6208V /6208A /6216V. When you choose one of the testing function from the functions menu, a channel selection menu is displayed on the screen. Move cursor and press to select the channel you want to test. After you select a channel from the channel selection menu, a testing window appears. The figures below are the function testing menu window, 6208V Testing window. Fig. 6.1 Function Testing Menu Window Fig. 6.
6.1.2 Calibration This function guides you to calibrate the 6208 series card. The calibration program serves as a useful test of the 6208 series D/A functions and can aid in troubleshooting if problems arise. Note : For an environment with frequently large changes of temperature and vibration, a 3 months re-calibration interval is recommended.
Use to select a DA Channel or ‘q’ to exit After you select a channel from the channel selection menu, a calibration window appears. The figures below are the 6208V calibration window.
6.2 Calibration of Analog Output Channel 6.2.1 What You Need Before calibrating your 6208 series card, you should prepare a 6 1/2 digital multimeter for measruing the voltage signals. 6.2.2 VR Assignemnt of cPCI/PCI-6208 and PCI-6216 There are 8 and 16 voltage output channels on cPCI/PCI-6208 and PCI6216, respectively. For each channel, two VRs are used for adjustment the full range and offset of the output voltage. The follow table shows the assignment and function of the VRs.
6.2.3 Voltage Output Calibration Because there is internal reference voltage for every DA channels, the calibration for every channels are independent. In the following procedure, VRn-1 and VRn-2 is used to represent the full range and offset of the nth channels. The following is the calibration procedure of the DA output. Step 1. Connect the n th DA output (Vn) to VDM(+) of the digital multimeter. Connect the AGND signal to VDM (-). Step 2. Send digital value ‘0’ to DA.
Product Warranty/Service Seller warrants that equipment furnished will be free form defects in material and workmanship for a period of one year from the confirmed date of purchase of the original buyer and that upon written notice of any such defect, Seller will, at its option, repair or replace the defective item under the terms of this warranty, subject to the provisions and specific exclusions listed herein.