
NuDAQ / NuIPC PCI-7200 / cPCI-7200 12MB/S High Speed Digital Input/ Output Card User’s Guide Recycled Paper
How to Use This Guide This manual is designed to help you use the PCI-7200 and cPCI-7200. The functionality of PCI-7200 and cPCI-7200 are the same e
Introduction • 1 1 Introduction The PCI-7200/cPCI-7200 is PCI/CompactPCI form factor high-speed digital I/O card, it consists of 32 digital input cha
2 • Introduction 1.2 Features The PCI-7200 high-speed DIO Card provides the following advanced features: u 32 TTL digital input channels u 32 TTL d
Introduction • 3 l Input Voltage: Low: Min. 0V; Max. 0.8V High: Min. +2.0V l Input Load: Low: +0.5V @ -0.6mA max. High: +2.
4 • Introduction 1.4 Software Supporting ADLink provides versatile software drivers and packages for users’ different approach to built-up a system.
Introduction • 5 1.4.2 PCIS-LVIEW: LabVIEW® Driver PCIS-LVIEW contains the VIs, which are used to interface with NI’s LabVIEW® software package. The
6 • Introduction 1.4.7 PCIS-ISG: ISaGRAFTM driver The ISaGRAF WorkBench is an IEC1131-3 SoftPLC control program development environment. The PCIS-I
Installation • 7 2 Installation This chapter describes how to install the PCI-7200. At first, the content of the package and the unpacking informatio
8 • Installation 2.2 Unpacking Your PCI-7200 card contains sensitive electronic components that can be easily damaged by static electricity. The ca
Installation • 9 2.4 cPCI/PCI-7200’s Layout CN1PCI-7200 Rev A1CN2ALTERAPCI -BusController. .. .. .. .. .. .. .. .. .. .. ..
10 • Installation Figure 2.1(b) cPCI-7200 Layout Diagram
Installation • 11 2.5 Hardware Installation Outline Hardware configuration The PCI cards (or CompactPCI cards) are equipped with plug and play PCI c
12 • Installation 2.6 Connector Pin Assignments 2.6.1 PCI-7200 Pin Assignments The PCI-7200 comes equipped with one 37-pin D-Sub connector (CN2) lo
Installation • 13 1 2 3 4 5 6 10 11 12 13 14 15 7 8 9 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 29 35 36 37 34 DI 1 DI 2 DI 3 DI 4 DI 5 DI
14 • Installation 2.6.2 cPCI-7200 Pin Assignments (1)(2)(3)(52)(53)(51)(48)(49)(50)(98)(99)(100) (1) DO0 (26) O_TRG (51) DO1 (76) GND (2) DO2
Installation • 15 2.7 8254 for Timer Pacer Generation Timer 0Timer 1Timer 2CLK0GATE0OUT0CLK1GATE1CLK2GATE2OUT1OUT28254 Timer/CounterDigital Input Ti
16 • Registers Format 3 Registers Format 3.1 I/O Registers Format The PCI-7200 occupies 8 consecutive 32-bit I/O addresses in the PC I/O address spa
Registers Format • 17 3.2 Digital Input Register (BASE + 10) 32 digital input channels can be read from this register Address: BASE + 10 Attribute:
18 • Registers Format u Digital Input Mode Setting: I_ACK: Input ACK Enable 1: Input ACK is enabled (input ACK will be asserted after input data is r
Registers Format • 19 O_TRG: Digital Output Trigger Signal This bit is used to control the O_TRG output of PCI-7200, the signal is on CN1 pin 36 of P
©Copyright 1999~2000 ADLINK Technology Inc. All Rights Reserved. Manual Rev. 2.20: October 14, 2000 The information in this document is subject to
20 • Registers Format T0_EN: Interrupt is triggered by timer 0 output. 1: Timer 0 interrupt is enabled 0: Timer 0 interrupt is disabled T1_EN: Inter
Registers Format • 21 T1_T2: Timer 1 is cascaded with timer 2 1: Timer 1 and timer 2 are cascaded together, output of timer 2 connects to the clock i
22 • Registers Format 3.6 8254 Timer Registers (BASE + 0) The 8254 timer/ counter IC occupies 4 I/O address. Users can refer to Tundra's or In
Operation Theorem • 23 4 Operation Theorem In PCI-7200, there are four data transfer modes can be used for digital I/O access and control, these mode
24 • Operation Theorem 4.2 Timer Pacer Mode The digital I/O access control is clocked by timer pacer, which is generated by an interval programming
Operation Theorem • 25 4.3 External Clock Mode The digital input is clocked by external strobe, which is from the Pin 19 (I_REQ) of CN2 (PCI-7200) o
26 • Operation Theorem O_REQ & O_ACK for Digital Output 1. Digital Output Data is moved from PC memory to FIFO o f PCI-7200 by u
Operation Theorem • 27 4.5 Timing Characteristic 1. I_REQ as input data strobe (Rising Edge Active) th ≥ 60ns tI ≥ 60ns tCYC ≥ 5 PCI CLK Cycle ts
28 • Operation Theorem 3. I_REQ & I_ACK Handshaking valid dataD10~DI31valid datat1t2t5t4t3IN I_REQIN I_ACK t1 ≥ 0ns t5 ≥ 60ns t3 ≥ 2 PCI CLK C
Operation Theorem • 29 5. O_REQ & O_ACK Handshaking OUT_REQt1t3valid dataDO0~Do31t1 19nst3t21 PCI CLK Cycle OUT_ACK5 PCI CLK Cycle valid datat2
30 • C/C++ Libraries 5 C/C++ Libraries This chapter describes the software library for operating this card. Only the functions in DOS library and Win
C/C++ Libraries • 31 5.2 Programming Guide 5.2.1 Naming Convention The functions of the NuDAQ PCI cards or NuIPC CompactPCI cards’ software driver
32 • C/C++ Libraries 5.3 _7200_Initial @ Description A PCI-7200 card is initialized according to the card number. Because the PCI-7200 is PCI bus a
C/C++ Libraries • 33 5.4 _7200_Switch_Card_No @ Description After initialized more than one PCI-7200 card, this function is used to select which car
34 • C/C++ Libraries 5.6 _7200_AUX_DI_Channel @ Description Read data from auxiliary digital input channel of cPCI-7200 card. There are 4 digital in
C/C++ Libraries • 35 5.8 _7200_AUX_DO_Channel @ Description Write data to auxiliary digital output channel (bit). There are 4 auxiliary digital outp
36 • C/C++ Libraries 5.10 _7200_DI_Channel @ Description This function is used to read data from digital input channels (bit). There are 32 digital
C/C++ Libraries • 37 5.12 _7200_DO_Channel @ Description This function is used to write data to digital output channels (bit). There are 32 digital
38 • C/C++ Libraries 5.13 _7200_Alloc_DMA_Mem @ Description Contact Windows 95/98 system to allocate a block of contiguous memory for single-buffered
C/C++ Libraries • 39 5.14 _7200_Free_DMA_Mem @ Description Release the system DMA memory under Windows 95/98 environment. This function is only avail
Getting service from ADLINK Customer Satisfaction is always the most important thing for ADLINK Tech Inc. If you need any help or service, please co
40 • C/C++ Libraries the actual size of allocated memory for each half of circular buffer. @ Return Code ERR_NoError ERR_SmallerDMAMemAllocated 5.16
C/C++ Libraries • 41 Bus Mastering DMA mode of PCI-7200 : PCI bus mastering offers the highest possible speed available on the PCI-7200. When the fun
42 • C/C++ Libraries @ Syntax Visual C++ (Windows 95) int W_7200_DI_DMA_Start (U8 mode, U32 count, U32 handle, Boolean wait_trg, U8 trg_pol, Boolean
C/C++ Libraries • 43 clear_fifo : 0: retain the FIFO data 1: clear FIFO data before perform digital input disable_di : 0: digital inp
44 • C/C++ Libraries 5.19 _7200_DI_DMA_Stop @ Description This function is used to stop the DMA data transferring. After executing this function,
C/C++ Libraries • 45 5.21 _7200_CheckHalfReady @ Description When you use _7200_DI_DMA_Start to sample digital input data and double buffer mode i
46 • C/C++ Libraries 5.23 _7200_GetOverrunStatus @ Description When you use _7200_DI_DMA_Start to convert Digital I/O data with double buffer mode
C/C++ Libraries • 47 C/C++ (DOS) int _7200_DO_DMA_Start (U8 mode, U32 count, U32 *do_buffer, Boolean repeat) @ Argument mode : Digital output tri
48 • C/C++ Libraries C/C++ (DOS) int _7200_DO_DMA_Status (U8 *status , U32 *count) @ Argument status : status of the DMA data transfer 0 : DO_DMA_S
C/C++ Libraries • 49 5.27 _7200_DI_Timer @ Description This function is used to set the internal timer pacer for digital input. There are two conf
50 • C/C++ Libraries Note : Since the Integer type in Visual Basic is signed integer. Its range is within -32768 and 32767. In Visual Basic, if you w
C/C++ Libraries • 51 @ Syntax Visual C++ (Windows 95) int W_7200_DO_Timer (U16 c1, U16 c2, Booelan mode) Visual Basic (Windows 95) W_7200_DO_Timer (B
52 • Double Buffer Mode Principle 6 Double Buffer Mode Principle The data buffer for double-buffered DMA DI operation is a circular buffer logically.
Double Buffer Mode Principle • 53 The PCI-7200 double buffer mode functions were designed according to the principle described above. If you use _720
54 • Limitation 7 Limitation The 12 MB/sec data transfer rate can only be possibly achieved in a system in which the PCI-7200 card is the only device
Product Warranty/Service • 55 Product Warranty/Service Seller warrants that equipment furnished will be free form defects in material and workmanship
Table of Contents • i Table of Contents Chapter 1 Introduction... 1 1.1 Applications...
ii • Table of Contents Chapter 5 C/C++ Libraries .....30 5.1 Libraries Installation...
Comentários a estes Manuais