
Advance Technologies; Automate the World.Manual Rev. 2.00Revision Date: March 31, 2006Part No: 50-11102-1030NuDAQ / NuIPCPCI-7200 / cPCI-7200 / LPC
vi List of TablesList of TablesTable 2-1: CN1A Pin Assignments ... 19Table 2-2: CN1B Pin Assignments ...
List of Figures viiList of FiguresFigure 2-1: PCI-7200 Layout Diagram ... 11Figure 2-2: cPCI-7200 Layout Diagram
Introduction 11 IntroductionThe PCI-7200, cPCI-7200, and LPCI-7200S are PCI/CompactPCI/Low profile PCI form factor high-speed digital I/O cards, cons
2Introduction1.2 FeaturesThe PCI-7200 high-speed DIO Card provides the followingadvanced features:X 32 TTL digital input channelsX 32 TTL digital outp
Introduction 31.3 SpecificationsDigital I/O (DIO)X Number of DI Channels: 32 TTL compatible X Number of DO Channels: 32 TTL compatible X Data Transfe
4IntroductionProgrammable CounterX Device: 82C54-10, with a 4MHz time baseX Timer 0: DI clock source X Timer 1: DO clock source X Timer2: Base clock
Introduction 51.4 Supporting SoftwareADLINK provides versatile software drivers and packages forusers’ different approach to building a system. We no
6IntroductionDAQ-LVIEW PnP: LabVIEW® DriverDAQ-LVIEW PnP contains the VIs, which are used to interfacewith NI’s LabVIEW® software package. The DAQ-LVI
Introduction 7server is included on the ADLINK CD. It requires a license. TheDDE server can be used in conjunction with any DDE client underWindows N
Copyright 2006 ADLINK TECHNOLOGY INC.All Rights Reserved. The information in this document is subject to change without priornotice in order to improv
8Introduction
Installation 92 InstallationThis chapter describes how to install the PCI-7200. Package con-tents and unpacking information are described. Because th
10 Installation2.2 UnpackingThe PCI-7200 card contains sensitive electronic components thatcan be easily damaged by static electricity.The work area s
Installation 112.4 PCI-7200/cPCI-7200/LPCI-7200S LayoutFigure 2-1: PCI-7200 Layout Diagram
12 InstallationFigure 2-2: cPCI-7200 Layout Diagram
Installation 13Figure 2-3: LPCI-7200S Layout Diagram
14 Installation Figure 2-4: LPCI-7200S with standard PCI bracket
Installation 152.5 Hardware Installation OutlineHardware configurationThese PCI cards (or CompactPCI, Low Profile PCI cards) areequipped with a Plug
16 Installation2.6 Connector Pin AssignmentsPCI-7200 Pin AssignmentsThe PCI-7200 comes equipped with one 37-pin D-Sub connector(CN2) located on the re
Installation 17Figure 2-5: CN1 Pin AssignmentsFigure 2-6: CN2 Pin Assignments 2120234567891011 1213 1415 1617192223 2425 2627 28371829353433323031361
Getting Service from ADLINKCustomer Satisfaction is top priority for ADLINK Technology Inc.Please contact us should you require any service or assista
18 InstallationcPCI-7200 Pin AssignmentsFigure 2-7: CN Pin Assignments
Installation 19LPCI-7200S Pin AssignmentsTable 2-1: CN1A Pin AssignmentsDIN0 A1 A35 GNDDIN1 A2 A36 GNDDIN2 A3 A37 GNDDIN3 A4 A38 GNDDIN4 A5 A39
20 InstallationTable 2-2: CN1B Pin AssignmentsDOUT0 B1 B35 GNDDOUT1 B2 B36 GNDDOUT2 B3 B37 GNDDOUT3 B4 B38 GNDDOUT4 B5 B39 GNDDOUT5 B6 B40 GNDD
Installation 212.7 8254 for Timer Pacer GenerationFigure 2-8: 8254 configurationThe internal timer/counter 8254 on the PCI-7200 is configured asthe a
22 Installation2.8 LPCI-7200S PCI Bus SignalingLow-Profile PCI is a new PCI card standard for space-constrainedsystem designs. The new form factor has
Installation 23Figure 2-9: Digital input pull-up resistor and termination circuit diagram.
24 Installation
Register Format 253 Register Format3.1 I/O Registers FormatThe PCI-7200 occupies eight consecutive 32-bit I/O addresses inthe PC I/O address space. T
26 Register Format3.3 Digital Output Register (BASE + 14)32 digital output channels can be written and read to/from this reg-isterAddress: BASE + 14At
Register Format 27I_REQ: Input REQ Strobe Enabled1: Use I_REQ edge to latch input data0: I_REQ is disabledI_TIME0: Input Timer 0 Enable1: Input is sa
28 Register Formatput FIFO to DO registers when output of Counter1 goes low0: Output Counter 1 is disabledO_FIFO: Output FIFO Enable1: Output FIFO is
Register Format 293.5 Interrupt Status & Control Register (BASE + 1C)The interrupt mode/status is set/checked through this register.Address: BASE
30 Register FormatThe following bits are used to check interrupt status:SO_ACK: Status of O_ACK interrupt1: O_ACK Interrupt occurred0: No O_ACK interr
Register Format 31clock input.X I_REQ Polarity Selection:When the input sampling is controlled by the I_REQ signal only, the I_REQ can be programmed
32 Register Format3.6 8254 Timer Registers (BASE + 0)The 8254 timer/counter IC occupies four I/O address. Users canrefer to Tundra's or Intel&apo
Operation Theory 334 Operation TheoryIn PCI-7200, there are four data transfer modes can be used fordigital I/O access and control, these modes are:1
34 Operation Theory4.2 Timer Pacer ModeThe digital I/O access control is clocked by timer pacer, which isgenerated by an interval programming timer/co
Operation Theory 354.3 External Clock ModeThe digital input is clocked by external strobe, which is from Pin 19(I_REQ) of CN2 (PCI-7200), Pin 24 of C
36 Operation Theory4.4 HandshakingThe PCI-7200 also supports a handshaking digital I/O transfermode. That is, after input data is ready, an I_REQ is s
Operation Theory 37O_REQ & O_ACK for Digital Output1. Digital Output Data is moved from PC memory to FIFOof PCI-7200 by using DMA data mastering
Table of Contents iTable of ContentsTable of Contents... iList of Tables...
38 Operation Theory4.5 Timing Characteristic1. I_REQ as input data strobe (Rising Edge Active)2. I_REQ as input data strobe (Falling Edge Active)th ≥
Operation Theory 393. I_REQ & I_ACK HandshakingNote: I_REQ must be asserted until I_ACK asserts, I_ACK will be asserted until I_REQ de-asserts.4.
40 Operation Theory
C/C++ Libraries 415 C/C++ LibrariesThis chapter describes the software library for operating the card.Only the functions in DOS library and Windows 9
42 C/C++ Libraries5.1 Libraries InstallationPlease refer to the “Software Installation Guide” for the detailedinformation about how to install the sof
C/C++ Libraries 435.2 Programming GuideNaming ConventionThe functions of the NuDAQ PCI cards or NuIPC CompactPCIcards’ software drivers use full-name
44 C/C++ Libraries5.3 _7200_Initial@ DescriptionA PCI-7200 card is initialized according to the card number. Because the PCI-7200 is PCI bus architect
C/C++ Libraries 45ERR_PCIBiosNotExistERR_PCICardNotExistERR_PCIIrqNotExistERR_BaseAddressError
46 C/C++ Libraries5.4 _7200_Switch_Card_No@ DescriptionAfter initializing more than one PCI-7200 card, this function isused to select which card is cu
C/C++ Libraries 475.5 _7200_AUX_DI@ DescriptionRead data from auxiliary digital input port of cPCI-7200 card. Allfour bits input data can be found by
ii Table of Contents3.3 Digital Output Register (BASE + 14)... 263.4 DIO Status & Control Register (BASE + 18)...
48 C/C++ Libraries5.6 _7200_AUX_DI_Channel@ DescriptionRead data from the auxiliary digital input channel of cPCI-7200card. There are four digital inp
C/C++ Libraries 495.7 _7200_AUX_DO@ Description Write data to auxiliary digital output port. There are four auxiliarydigital outputs on the cPCI-7200
50 C/C++ Libraries5.8 _7200_AUX_DO_Channel@ DescriptionWrite data to auxiliary digital output channel (bit). There are fourauxiliary digital output ch
C/C++ Libraries 515.9 _7200_DI@ DescriptionThis function is used to read data from digital input port. There are32-bit digital inputs on the PCI-7200
52 C/C++ Libraries5.10 _7200_DI_Channel@ DescriptionThis function is used to read data from digital input channels (bit).There are 32 digital input ch
C/C++ Libraries 535.11 _7200_DO@ Description This function is used to write data to the digital output port. Thereare 32 digital outputs on the PCI-7
54 C/C++ Libraries5.12 _7200_DO_Channel@ DescriptionThis function is used to write data to digital output channels (bit).There are 32 digital output c
C/C++ Libraries 555.13 _7200_Alloc_DMA_Mem@ DescriptionContact the Windows 95/98 system to allocate a block of contigu-ous memory for single-buffered
56 C/C++ Libraries@ Return CodeERR_NoErrorERR_SmallerDMAMemAllocated
C/C++ Libraries 575.14 _7200_Free_DMA_Mem@ DescriptionReleases system DMA memory. This function is only available inWindows 95/98.@ SyntaxVisual C++
Table of Contents iii@ Argument ... 49@ Return Code ...
58 C/C++ Libraries5.15 _7200_Alloc_DBDMA_Mem@ DescriptionContact Windows 95/98 system to allocate a block of contiguousmemory as circular buffer for d
C/C++ Libraries 595.16 _7200_Free_DBDMA_Mem@ DescriptionReleases a system’s circular buffer DMA memory. This function isonly available in Windows 95/
60 C/C++ Libraries5.17 _7200_DI_DMA_Start@ Description The function will perform digital input N times with DMA data trans-fer by using one of the fol
C/C++ Libraries 61bus master operation and can be a large number up to64 million (2^26) bytes. Since PCI-7200 transfers arealways long words, this eq
62 C/C++ LibrariesVisual Basic (Windows 95)W_7200_DI_DMA_Start (ByVal mode As Byte, ByVal count As Long, ByVal handle As Long, ByVal wait_trg as Byte,
C/C++ Libraries 63DI_WAITING: the input samples waiting rising or falling edge trig-ger to start DI trig_pol: trigger polarity
64 C/C++ Libraries5.18 _7200_DI_DMA_Status@ Description Since the _7200_DI_DMA_Start function is executed in back-ground, users can issue this functio
C/C++ Libraries 655.19 _7200_DI_DMA_Stop@ Description This function is used to stop the DMA data transferring. After exe-cuting this function, the _7
66 C/C++ Libraries5.20 _7200_DblBufferMode@ Description This function is used to enable or disable double buffer mode forDMA DI operation.@ SyntaxVisu
C/C++ Libraries 675.21 _7200_CheckHalfReady@ Description When you use _7200_DI_DMA_Start to sample digital input dataand double buffer mode is set as
iv Table of Contents@ Argument ... 58@ Return Code ...
68 C/C++ Libraries5.22 _7200_DblBufferTransfer@ Description Use this function to copy the input data in the circular buffer to thetransfer buffer. It
C/C++ Libraries 695.23 _7200_GetOverrunStatus@ Description When using _7200_DI_DMA_Start to convert Digital I/O data withdouble buffer mode enabled,
70 C/C++ Libraries5.24 _7200_DO_DMA_Start@ Description The function will perform digital output N times with DMA datatransfer by using the following f
C/C++ Libraries 71W_7200_Alloc_DMA_Mem must be called to allocate a contigu-ous DMA memory and get the handle of it. AlsoW_7200_Alloc_DMA_Mem will at
72 C/C++ Libraries5.25 _7200_DO_DMA_Status@ Description Since the _7200_DO_DMA_Start function is executed in back-ground, users can issue the function
C/C++ Libraries 735.26 _7200_DO_DMA_Stop@ Description This function is used to stop the DMA DO operation. After execut-ing this function, the _7200_D
74 C/C++ Libraries5.27 _7200_DI_Timer@ Description This function is used to set the internal timer pacer for digital input.There are two configuration
C/C++ Libraries 75@ Argumentc0: frequency divider of Counter #0. Valid value ranges from 2 to65535.c2: frequency divider of Counter #2. Valid value r
76 C/C++ Libraries5.28 _7200_DO_Timer@ Description This function is used to set the internal timer pacer for digital out-put. There are two configurat
C/C++ Libraries 77@ Argumentc1 : frequency divider of Counter #1c2 : frequency divider of Counter #2Note : Since the Integer type in Visual Basic is
Table of Contents v@ Argument ... 69@ Return Code ...
78 C/C++ Libraries
Double Buffer Mode Principle 796 Double Buffer Mode PrincipleThe data buffer for a double-buffered DMA DI operation is logicallya circular buffer div
80 Double Buffer Mode Principlehalf-full and ready for copying to the transfer buffer. Then call_7200_DblBufferTransfer() to copy data from the ready
Limitations 817 LimitationsThe 12MB/sec data transfer rate can only be possibly achieved insystems where the PCI-7200 card is the only device using t
82 Limitations
Warranty Policy 83Warranty PolicyThank you for choosing ADLINK. To understand your rights andenjoy all the after-sales services we offer, please read
84 Warranty Policy3. Our repair service is not covered by ADLINK's guaranteein the following situations:X Damage caused by not following instruct
Komentáře k této Příručce