Adlink cPCI-9116 Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Sprzęt komputerowy Adlink cPCI-9116. ADLINK cPCI-9116 User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 98
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
cPCI-9116®/cPCI-9116R®
64 Ch, 16 bit, 250KS/s
Analog input Card
For 3U CompactPCI
User’s Guide
Recycled Paper
Przeglądanie stron 0
1 2 3 4 5 6 ... 97 98

Podsumowanie treści

Strona 1 - User’s Guide

cPCI-9116®/cPCI-9116R® 64 Ch, 16 bit, 250KS/s Analog input Card For 3U CompactPCI User’s Guide

Strona 2

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

Strona 3

Introduction • 1 1 Introduction The cPCI-9116 series products are advanced data acquisition cards based on the 32-bit CompactPCI architecture. The 91

Strona 4 - Getting service from ADLINK

2 • Introduction 1.1 Features The 9116 series CompactPCI Advanced Data Acquisition Card provides the following advanced features: • 32-bit PCI-Bus,

Strona 5 - Table of Contents

Introduction • 3 1.3 Specifications ♦ Analog Input (A/D) • Converter: LT1606 (or equivalent) 250KHz • Number of channels: (programmable) 3 64 single-

Strona 6

4 • Introduction • Trigger Mode: 3 Software-trigger. 3 Pre-trigger. 3 Post-trigger. 3 Middle-Trigger. 3 Delay Trigger • Data Transfer: 3 Polling.

Strona 7

Introduction • 5 ♦ General Specifications • Connector: 100-pin D-type SCSI-II connector • Operating Temperature: 0° C ~ 60° C • Storage Temperature:

Strona 8

6 • Introduction 1.4 Software Support ADLINK provides versatile software drivers and packages for users’ different approach to building a system. We

Strona 9 - Figures

Introduction • 7 1.4.3 DAQBenchTM: ActiveX Controls We suggest customers who are familiar with ActiveX controls and VB/VC++ programming use the DAQBe

Strona 10 - Outline of Chapters

8 • Installation 2 Installation This chapter describes how to install the 9116 series cards. The contents of the package and unpacking information th

Strona 11 - Introduction

Installation • 9 2.2 Unpacking The card contains electro-static sensitive components that can be easily be damaged by static electricity. Therefore,

Strona 13 - 1.3 Specifications

10 • Installation 2.3 cPCI-9116 and cPCI-9116R Layout Figure 1: PCB Layout of the cPCI-9116

Strona 14

Installation • 11 Figure 2: PCB Layout of cPCI-9116R and Rear I/O adaptor

Strona 15

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

Strona 16 - 1.4 Software Support

Signal Connections • 13 3 Signal Connections This chapter describes the connectors of the 9116 series. The signal connections between the 9116 serie

Strona 17 - : ActiveX Controls

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

Strona 18 - Installation

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

Strona 19 - 2.2 Unpacking

16 • Signal Connections 3.2 Analog Input Signal Connection The 9116 series provides up to 64 single-ended or 32 differential analog input channels.

Strona 20 - 10 • Installation

Signal Connections • 17 Differential input mode The differential input mode provides two inputs that respond to signal voltage differences between t

Strona 21 - Installation • 11

18 • Signal Connections User Common Mode (U_CMMD) To measure ground-referenced signal sources, which are connected to the same ground point, you can

Strona 22 - 2.4 PCI Configuration

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

Strona 23 - Signal Connections

©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

Strona 24 - 14 • Signal Connections

20 • Registers I/O Address Read Write Base + 0x00 Scan Interval Counter Scan Interval Counter Base + 0x04 Sample Interval Counter Sample Inte

Strona 25 - 3.1.2 Legend of J1

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

Strona 26 - 3.2.2 Input Configurations

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

Strona 27

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

Strona 28 - 3.3 Digital I/O Connection

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

Strona 29 - Registers

Registers • 25 CH3 ~ CH0 (bit11~ bit8): Internal A/D Channel selection bits EN3 ~ EN0 (bit7~ bit4): Multiplexer Enable selection bits Gain1~Gain0 (

Strona 30

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

Strona 31

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

Strona 32

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

Strona 33

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

Strona 34 - 4.5 A/D Data Registers

Getting service from ADLINK Customer Satisfaction is the most important priority for ADLINK Tech Inc. If you need any help or service, please contact

Strona 35

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

Strona 36

Registers • 31 TimeBase(bit5) : The Timebase Selection of 9116 series 1: External Timebase 0: Internal Timebase (24 MHz) TrgP (bit4): The Trigger

Strona 37

32 • Registers SCTC_en (bit11): Trigger Complete Interrupt Enable Control 1: Enable 0: Disable Hfull_en (bit10): A/D FIFO Half Full Interrupt Enab

Strona 38

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

Strona 39 - 4.9 Digital I/O register

34 • Operation Theory 5 Operation Theory The operation theory of the functions on the 9116 series is described in this chapter. The functions includ

Strona 40

Operation Theory • 35 5.1.2 Software conversion with polling data transfer acquisition mode (Software Polling) This is the easiest way to acquire a

Strona 41

36 • Operation Theory 5.1.2.1 Specifying Channels, Gains, and input configurations in the Channel Gain Queue In both Software Polling and programmab

Strona 42

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

Strona 43

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

Strona 44 - Operation Theory

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

Strona 45

Table of Contents • i Table of Contents Tables...

Strona 46

40 • Operation Theory Acquisition_in_progressScan_start AD_conversion Scan_in_progress (SSH_OUT)(pin47) (M_counter = M = 3, DIV_counter=4, SC_coun

Strona 47 - SI_COUNTER/TimeBase

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

Strona 48

42 • Operation Theory Acquisition_in_progressScan_start AD_conversion Scan_in_progress (SSH_OUT)(pin47) (M_counter = M = 3, DIV_counter=4, SC_coun

Strona 49

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)(

Strona 50

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)(

Strona 51

Operation Theory • 45 Delay Trigger Acquisition Use delay trigger acquisition in applications where you want to delay the data collection after the o

Strona 52

46 • Operation Theory Post-Trigger or Delay-trigger Acquisition with re-trigger Use post-trigger or delay-trigger acquisition with re-trigger functio

Strona 53

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

Strona 54

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

Strona 55

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

Strona 56 - Retrig_no

ii • Table of Contents Chapter 5 Operation Theory...34 5.1 A/D Conversion...

Strona 57 - EOC Interrupt Transfer

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

Strona 58 - DMA Transfer

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

Strona 59 - Operation Theory • 49

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

Strona 60 - 50 • Operation Theory

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

Strona 61 - C/C++ Library

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

Strona 62 - 6.2 Programming Guide

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

Strona 63

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

Strona 64 - 6.3 Initial functions

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

Strona 65 - 6.3.2 _9116_AD_Clr_DFIFO

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

Strona 66 - 6.4 DIO functions

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

Strona 67 - 6.5.1 _9116_AD_Clr_CFIFO

Table of Contents • iii 6.9 AD one-shot scan data acquisition with DMA transfer functions...69 6.9.1 _9116_AD_DMA_Start...

Strona 68 - 6.5.2 _9116_AD_Set_CFIFO

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 _

Strona 69

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

Strona 70 - 6.5.3 _9116_AD_CFIFO_SetDone

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_

Strona 71 - 6.6.1 _9116_AD_Acquire

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

Strona 72

64 • C++ Library 6.8 AD Counter setting functions These functions are for the setting of the counter values when using programmable scan acquisition

Strona 73

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_

Strona 74 - 6.8.1 _9116_AD_Set_SC

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

Strona 75 - 6.8.3 _9116_AD_Set_SI2

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

Strona 76 - 6.8.5 _9116_AD_Set_DLY1

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. @

Strona 77 - 6.8.6 _9116_AD_Set_M

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

Strona 78 - 6.8.7 _9116_AD_Set_Retrig

iv • Tables Tables Table 1. Legend of J1 Connector ...15 Table 2. I/O Port Address...

Strona 79 - 6.9.1 _9116_AD_DMA_Start

70 • C++ Library @ Return Code ERR_NoError ERR_BoardNoInit, ERR_InvalidADChannel, ERR_InvalidTimerValue ERR_AD_InvalidGain 6.9.2 _9116_AD_DMA_Statu

Strona 80 - 6.9.2 _9116_AD_DMA_Status

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

Strona 81 - 6.9.3 _9116_AD_DMA_Stop

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

Strona 82 - 6.10.1 _9116_AD_INT_Start

C++ Library • 73 Mode: EOC or Half-full interrupt transfer mode selection 0: EOC interrupt transfer mode 1: Half-full interrupt transfer mode @ R

Strona 83 - 6.10.2 _9116_AD_INT_Status

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

Strona 84 - 6.10.3 _9116_AD_INT_Stop

C++ Library • 75 6.11 AD continuous scan data acquisition with double-buffered DMA transfer functions These functions are used to perform continuous

Strona 85 - 6.11.1 _9116_DblBufferMode

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

Strona 86

C++ Library • 77 6.11.3 _9116_GetOverrunStatus @ Description When you perform continuous scan data acquisition with double-buffered mode DMA transer

Strona 87 - 6.12.1 _9116_GP0_Set_Mode

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

Strona 88 - 6.12.3 _9116_GP0_Set_CLK

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

Strona 89

Figures • v Figures Figure 1: PCB Layout of the cPCI-9116 ...10 Figure 2: PCB Layout of cPCI-9116R and Re

Strona 90 - 6.12.7 _9116_GP0_EN

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

Strona 91 - 6.12.8 _9116_GP0_Read_Count

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

Strona 92

82 • Software Utility & Calibration 7 Software Utility & Calibration This software CD provides a utility program, 9116util.exe, and is intend

Strona 93 - 7.2 Calibration

Software Utility & Calibration • 83 ****** cPCI-9116 Utility Rev. 1.0 ****** Copyright © 2001-2002, ADLINK Technology Inc. All rights reserved

Strona 94 - Table 18. Functions of VRs

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

Strona 95 - 7.3 Functional Testing

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

Strona 96

86 • Software Utility & Calibration ****** cPCI-9116 Function Testing ****** <0> : DI/DO Test <1> : A/D with Polling Test (ch0~31) &

Strona 97

Warranty Policy • 87 Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please

Strona 98 - • Warranty Policy

88 • Warranty Policy • Damage caused by inappropriate storage environments such as with high temperatures, high humidity, or volatile chemicals. • D

Komentarze do niniejszej Instrukcji

Brak uwag