cPCI-9116®/cPCI-9116R® 64 Ch, 16 bit, 250KS/s Analog input Card For 3U CompactPCI User’s Guide
vi • Outline of Chapters Outline of Chapters This manual is designed to help you use the 9116 series. The manual describes how to modify various sett
Introduction • 1 1 Introduction The cPCI-9116 series products are advanced data acquisition cards based on the 32-bit CompactPCI architecture. The 91
2 • Introduction 1.1 Features The 9116 series CompactPCI Advanced Data Acquisition Card provides the following advanced features: • 32-bit PCI-Bus,
Introduction • 3 1.3 Specifications ♦ Analog Input (A/D) • Converter: LT1606 (or equivalent) 250KHz • Number of channels: (programmable) 3 64 single-
4 • Introduction • Trigger Mode: 3 Software-trigger. 3 Pre-trigger. 3 Post-trigger. 3 Middle-Trigger. 3 Delay Trigger • Data Transfer: 3 Polling.
Introduction • 5 ♦ General Specifications • Connector: 100-pin D-type SCSI-II connector • Operating Temperature: 0° C ~ 60° C • Storage Temperature:
6 • Introduction 1.4 Software Support ADLINK provides versatile software drivers and packages for users’ different approach to building a system. We
Introduction • 7 1.4.3 DAQBenchTM: ActiveX Controls We suggest customers who are familiar with ActiveX controls and VB/VC++ programming use the DAQBe
8 • Installation 2 Installation This chapter describes how to install the 9116 series cards. The contents of the package and unpacking information th
Installation • 9 2.2 Unpacking The card contains electro-static sensitive components that can be easily be damaged by static electricity. Therefore,
10 • Installation 2.3 cPCI-9116 and cPCI-9116R Layout Figure 1: PCB Layout of the cPCI-9116
Installation • 11 Figure 2: PCB Layout of cPCI-9116R and Rear I/O adaptor
12 • Installation 2.4 PCI Configuration 1. Plug and Play: As a plug and play component, the board requests an interrupt number via a system call. T
Signal Connections • 13 3 Signal Connections This chapter describes the connectors of the 9116 series. The signal connections between the 9116 serie
14 • Signal Connections 3.1.1 100-pin SCSI-type connector (J1) U_CMMD 1 51 AGND AIH0 AI0 2 52 AI32 AIL0 AIH1 AI1 3 53 AI33 AIL1 AIH2 AI2 4
Signal Connections • 15 3.1.2 Legend of J1 Signal Name Definition U_CMMD User Common Mode AIn Analog Input Channel n (single-ended) AIHn Analog
16 • Signal Connections 3.2 Analog Input Signal Connection The 9116 series provides up to 64 single-ended or 32 differential analog input channels.
Signal Connections • 17 Differential input mode The differential input mode provides two inputs that respond to signal voltage differences between t
18 • Signal Connections User Common Mode (U_CMMD) To measure ground-referenced signal sources, which are connected to the same ground point, you can
Registers • 19 4 Registers The descriptions of the registers and structure of the cPCI-9116 are outlined in this chapter. The information in this ch
©Copyright 2002 ADLINK Technology Inc. All Rights Reserved. Manual Rev. 1.10: April 28, 2003 Part No: 50-15002-101 The information in this document i
20 • Registers I/O Address Read Write Base + 0x00 Scan Interval Counter Scan Interval Counter Base + 0x04 Sample Interval Counter Sample Inte
Registers • 21 4.2 Internal Timer/Counter Register The 9116 series card basically has 6 counters, which are responsible for the scan timing of the a
22 • Registers 4.3 General Purpose Timer/Counter Register One 16-bit, general-purpose timer/counter exists in the 9116 series card. Writing to this
Registers • 23 Counter en (bit7): GPTC0 count enable 1: enable GPTC0 0: disable GPTC0 UpDown (bit6): GPTC0’s up/down pin software control 1: Up co
24 • Registers 4.5 A/D Data Registers The digital converted data is 16-bits and is stored into 32-bit registers. Address: BASE +24 Attribute: read
Registers • 25 CH3 ~ CH0 (bit11~ bit8): Internal A/D Channel selection bits EN3 ~ EN0 (bit7~ bit4): Multiplexer Enable selection bits Gain1~Gain0 (
26 • Registers 4.7 A/D & FIFO Control Register Address: BASE + 28 Attribute: Write Data Format: Bit 7 6 5 4 3 2 1 0 SC_dis Clear Chann
Registers • 27 Write 1 to clear the trigger status: 0: no effect 1: clear trigger detect status Clear SC_TC(Bit2) : Write 1 to clear Write 1 to clear
28 • Registers ACQ (Bit7): Read Only, set when acquisition is in progress. Full (Bit6): Read Only A/D FIFO Full status (Fatal Error!) 0: FIFO Full
Registers • 29 4.9 Digital I/O register There are 8 digital input and 8 digital output channels provided by the 9116 series cards. The address Base
Getting service from ADLINK Customer Satisfaction is the most important priority for ADLINK Tech Inc. If you need any help or service, please contact
30 • Registers 4.10 A/D Trigger Mode Register Address: BASE + 0x34 Attribute: write only Data Format: Bit 7 6 5 4 3 2 1 0 Retrig DLYSRCTim
Registers • 31 TimeBase(bit5) : The Timebase Selection of 9116 series 1: External Timebase 0: Internal Timebase (24 MHz) TrgP (bit4): The Trigger
32 • Registers SCTC_en (bit11): Trigger Complete Interrupt Enable Control 1: Enable 0: Disable Hfull_en (bit10): A/D FIFO Half Full Interrupt Enab
Registers • 33 4.12 Interrupt Status Register Address: BASE + 0x38 Attribute: read Data Format: Bit 7 6 5 4 3 2 1 0 --- --- --- Timer STTC
34 • Operation Theory 5 Operation Theory The operation theory of the functions on the 9116 series is described in this chapter. The functions includ
Operation Theory • 35 5.1.2 Software conversion with polling data transfer acquisition mode (Software Polling) This is the easiest way to acquire a
36 • Operation Theory 5.1.2.1 Specifying Channels, Gains, and input configurations in the Channel Gain Queue In both Software Polling and programmab
Operation Theory • 37 Timebase clock source In scan acquisition mode, all the A/D conversions start on the output of counters, which use Timebase as
38 • Operation Theory Note: 1. The maximum A/D sampling rate is 250kHz. Therefore, SI2_counter can’t be smaller than 96 while using the internal Tim
Operation Theory • 39 Then Acquisition sequence of channels: 1, 2, 0, 2, 1, 2, 0, 2, 1, 2, 0, 2. Sampling Interval = 240/24M s = 10 us Scan Interval
Table of Contents • i Table of Contents Tables...
40 • Operation Theory Acquisition_in_progressScan_start AD_conversion Scan_in_progress (SSH_OUT)(pin47) (M_counter = M = 3, DIV_counter=4, SC_coun
Operation Theory • 41 When an external trigger signal occurs before the first M scans of data are converted, the amount of stored data could be fewer
42 • Operation Theory Acquisition_in_progressScan_start AD_conversion Scan_in_progress (SSH_OUT)(pin47) (M_counter = M = 3, DIV_counter=4, SC_coun
Operation Theory • 43 (M_Counter=M=3, DIV_Counter=4, SC_Counter=N=1) Acquisition_in_progressScan_start AD_conversion Scan_in_progress (SSH_OUT)(
44 • Operation Theory (M_Counter=M=2, DIV_Counter=4, SC_Counter=N=2) Acquisition_in_progressScan_start AD_conversion Scan_in_progress (SSH_OUT)(
Operation Theory • 45 Delay Trigger Acquisition Use delay trigger acquisition in applications where you want to delay the data collection after the o
46 • Operation Theory Post-Trigger or Delay-trigger Acquisition with re-trigger Use post-trigger or delay-trigger acquisition with re-trigger functio
Operation Theory • 47 5.1.4 A/D Data Transfer Modes After the end of the A/D conversion, A/D data are buffered into the Data FIFO memory. The FIFO s
48 • Operation Theory DMA Transfer PCI bus-mastering DMA is necessary for high speed DAQ in order to utilize the maximum PCI bandwidth. The bus-mast
Operation Theory • 49 5.3 General Purpose Timer/Counter Operation An independent 16-bit up/down timer/counter is designed in the FPGA for user appli
ii • Table of Contents Chapter 5 Operation Theory...34 5.1 A/D Conversion...
50 • Operation Theory Mode 0: Interrupt on Terminal Count Mode 0 is typically used for event counting, as illustrated in fig 20. After the initial co
C++ Library • 51 6 C/C++ Library This chapter describes the software library for operating this card. Only the functions in DOS library are describ
52 • C++ Library 6.2 Programming Guide 6.2.1 Naming Convention The functions of the NuDAQ PCI cards or NuIPC CompactPCI cards’ software driver are us
C++ Library • 53 6.2.3 Sample Programs List (DOS) You can get sample programs once cPCI-9116 dos driver is installed. The following is the list of
54 • C++ Library 6.3 Initial functions 6.3.1 _9116_Initial @ Description This function is used to initialize the cPCI-9116. Each cPCI-9116 card must
C++ Library • 55 6.3.2 _9116_AD_Clr_DFIFO @ Description This function is used to clear the A/D Data FIFO. @ Syntax C/C++ (DOS) int _9116_AD_Clr_DFIFO
56 • C++ Library 6.4 DIO functions 6.4.1 _9116_DI @ Description This function is used to read data from the digital input port. There are 8 digital i
C++ Library • 57 6.5 AD Channel Gain Queue configuration functions 6.5.1 _9116_AD_Clr_CFIFO @ Description This function is used to reset the A/D Cha
58 • C++ Library 6.5.2 _9116_AD_Set_CFIFO @ Description This function is used to specify the A/D channel and the input range. Note: _9116_AD_Clr_CFI
C++ Library • 59 AD_INPUT GAIN Input type (Bipolar or Unipolar)Input Range AD_B_5_V 1 Bipolar ±5V AD_B_2_5_V 2 Bipolar ±2.5V AD_B_1_25_V 4 Bipola
Table of Contents • iii 6.9 AD one-shot scan data acquisition with DMA transfer functions...69 6.9.1 _9116_AD_DMA_Start...
60 • C++ Library 6.5.3 _9116_AD_CFIFO_SetDone @ Description This function is used to stop setting A/D channel gain queue. @ Syntax C/C++ (DOS) int _
C++ Library • 61 6.6 AD Software-Polling functions 6.6.1 _9116_AD_Acquire @ Description This function is used to poll the A/D converted data. It wil
62 • C++ Library 6.7 AD Trigger control functions 6.7.1 _9116_AD_Trig_Ctrl _9116_AD_Set_TrigMode _9116_AD_Set_TrigPol _9116_AD_Set_Timebase _9116_
C++ Library • 63 Trig_pol: trigger polarity setting: RISE_TRIG (or 0): rising edge trigger FALL_TRIG (or 1): falling edge trigger Timebase_sel: T
64 • C++ Library 6.8 AD Counter setting functions These functions are for the setting of the counter values when using programmable scan acquisition
C++ Library • 65 6.8.2 _9116_AD_Set_SI @ Description Set SI_Counter value for programmable scan acquisition mode. @ Syntax C/C++ (DOS) int _9116_AD_
66 • C++ Library 6.8.4 _9116_AD_Set_DIV @ Description Set DIV_Counter value for programmable scan acquisition mode. Refer to Chapter 5 for definitio
C++ Library • 67 6.8.6 _9116_AD_Set_M @ Description Set M_Counter value when pre-trigger or middle-trigger mode is selected. @ Syntax C/C++ (DOS) in
68 • C++ Library 6.8.7 _9116_AD_Set_Retrig @ Description Set the number of re-trigger counts when post-trigger or delay-trigger mode is selected. @
C++ Library • 69 6.9 AD one-shot scan data acquisition with DMA transfer functions These functions are used to start scan data acquisition with DMA
iv • Tables Tables Table 1. Legend of J1 Connector ...15 Table 2. I/O Port Address...
70 • C++ Library @ Return Code ERR_NoError ERR_BoardNoInit, ERR_InvalidADChannel, ERR_InvalidTimerValue ERR_AD_InvalidGain 6.9.2 _9116_AD_DMA_Statu
C++ Library • 71 6.9.3 _9116_AD_DMA_Stop @ Description This function is used to stop the DMA data transfer and obtain the start index of the data buf
72 • C++ Library 6.10 AD one-shot scan data acquisition with interrupt- transfer functions These functions are used to start scan data acquisition w
C++ Library • 73 Mode: EOC or Half-full interrupt transfer mode selection 0: EOC interrupt transfer mode 1: Half-full interrupt transfer mode @ R
74 • C++ Library 6.10.3 _9116_AD_INT_Stop @ Description This function is used to stop the interrupt data being transferred. @ Syntax C/C++ (DOS) in
C++ Library • 75 6.11 AD continuous scan data acquisition with double-buffered DMA transfer functions These functions are used to perform continuous
76 • C++ Library 6.11.2 _9116_DblBufferTransfer @ Description Using this function to copy the converted A/D data from the circular to transfer buffer
C++ Library • 77 6.11.3 _9116_GetOverrunStatus @ Description When you perform continuous scan data acquisition with double-buffered mode DMA transer
78 • C++ Library @ Return Code ERR_NoError ERR_BoardNoInit 6.12.2 _9116_GP0_Set_Count @ Description This function is used to set the initial count v
C++ Library • 79 6.12.4 _9116_GP0_Set_GATE_SRC @ Description This function is used to select the gate source of GPTC. When internal gate source is se
Figures • v Figures Figure 1: PCB Layout of the cPCI-9116 ...10 Figure 2: PCB Layout of cPCI-9116R and Re
80 • C++ Library @ Return Code ERR_NoError ERR_BoardNoInit 6.12.6 _9116_GP0_Set_UPDOWN @ Description This function is used to select up/down operati
C++ Library • 81 @ Return Code ERR_NoError ERR_BoardNoInit 6.12.8 _9116_GP0_Read_Count @ Description This function is used to read back the counte
82 • Software Utility & Calibration 7 Software Utility & Calibration This software CD provides a utility program, 9116util.exe, and is intend
Software Utility & Calibration • 83 ****** cPCI-9116 Utility Rev. 1.0 ****** Copyright © 2001-2002, ADLINK Technology Inc. All rights reserved
84 • Software Utility & Calibration 7.2.2 VR Assignment There are 4 variable resistors (VR) on the 9116 series board that allows you to make adju
Software Utility & Calibration • 85 7.2.3.1 PGA offset Calibration 1. Short the A/D channel 0 (pin 2 of J1) to ground (pin51 of J1). 2. Use mu
86 • Software Utility & Calibration ****** cPCI-9116 Function Testing ****** <0> : DI/DO Test <1> : A/D with Polling Test (ch0~31) &
Warranty Policy • 87 Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please
88 • Warranty Policy • Damage caused by inappropriate storage environments such as with high temperatures, high humidity, or volatile chemicals. • D
Comentários a estes Manuais