Adlink PCI-7300A Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Hardware Adlink PCI-7300A herunter. ADLINK PCI-7300A User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 112
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Advance Technologies; Automate the World.
Manual Rev. 2.01
Revision Date: December 21, 2006
Part No: 50-11106-101
cPCI-7300A/PCI-7300A
80MB Ultra-High Speed 32-CH
Digital I/O Boards
User’s Manual
Seitenansicht 0
1 2 3 4 5 6 ... 111 112

Inhaltsverzeichnis

Seite 1 - User’s Manual

Advance Technologies; Automate the World.Manual Rev. 2.01Revision Date: December 21, 2006Part No: 50-11106-101cPCI-7300A/PCI-7300A80MB Ultra-High S

Seite 2

vi Table of ContentsWarranty Policy ... 99

Seite 3 - Getting Service from ADLINK

88 C/C++ Libraries5.24 _7300_DO_Timer@ Description This function is used to set the internal timer pacer for digital out-put. Timer pacer frequency =

Seite 4

C/C++ Libraries 895.25 _7300_Int_Timer@ Description This function is used to set Counter #2.@ SyntaxVisual C/C++ (Windows 95)int W_7300_Int_Timer (in

Seite 5 - Table of Contents

90 C/C++ Libraries5.26 _7300_Get_Sample@ Description For the language without pointer support such as Visual Basic,programmer can use this function to

Seite 6

C/C++ Libraries 915.27 _7300_Set_Sample@ Description For the language without pointer support such as Visual Basic,programmer can use this function t

Seite 7 - Table of Contents iii

92 C/C++ Libraries5.28 _7300_GetUnderrunStatus@ Description When you use _7300_DO_DMA_Start to output data, the outputdata is read from the FIFO on th

Seite 8

Appendix 93Appendix8254 Programmable Interval TimerNote: The material of this section is adopted from “Intel Micropro-cessor and Peripheral Handbook

Seite 9 - Table of Contents v

94 AppendixControl Byte: (Base + 7, Base + 11)X SC1 & SC1 - Select Counter (Bit7 & Bit 6)X RL1 & RL0 - Select Read/Load operation (Bit 5 &

Seite 10

Appendix 95 2. The count of the BCD counter is from 0 up to 99,999.Mode DefinitionIn 8254, there are six different operating modes can be select

Seite 11 - List of Tables

96 AppendixThe gate input when low, will force the output high. When thegate input goes high, the counter will start form the initial count.Thus, the

Seite 12 - List of Figures

Appendix 97Mode 5: Hardware Triggered Strobe.The counter will start counting after the rising edge of the trig-ger input and will go low for one cloc

Seite 13 - 1 Introduction

List of Tables viiList of TablesTable 2-1: Connector Pin Assignment ... 12Table 3-1: I/O Port Base Address ...

Seite 15 - 1.3 Specifications

Warranty Policy 99Warranty PolicyThank you for choosing ADLINK. To understand your rights andenjoy all the after-sales services we offer, please read

Seite 16 - 4Introduction

100 Warranty Policy3. Our repair service is not covered by ADLINK's guaranteein the following situations:X Damage caused by not following instruc

Seite 17 - 1.4 Software Support

viii List of FiguresList of FiguresFigure 2-1: PCI-7300A Layout Diagram... 9Figure 2-2: cPCI-7300A Layout Diagram

Seite 18 - : ActiveX Controls

Introduction 11 IntroductionThe cPCI/PCI-7300A is cPCI/PCI form factor ultra-high speed dig-ital I/O card, it consists of 32 digital input or output

Seite 19 - 2 Installation

2Introduction1.1 ApplicationsX Interface to high-speed peripheralsX High-speed data transfers from other computersX Automated test equipment (ATE)X El

Seite 20 - 2.2 Unpacking

Introduction 31.3 SpecificationsDigital I/O (DIO)X Numbers of Channel: 32 TTL compatible inputs and/or out-putsX Device: IDT 74FCT373X I/O Configurat

Seite 21 - 2.4 PCI-7300A's Layout

4IntroductionDMA Transfer count: X No limitation for chaining mode (scatter/gather) DMAMax. Transfer rate: X DO: 80M Bytes/sec: 32-bit output @ 20 MHz

Seite 22 - 10 Installation

Introduction 51.4 Software SupportADLINK provides versatile software drivers and packages forusers’ different approach to built-up a system. We not

Seite 23 - Installation 11

6IntroductionDAQ-LVIEW PnP: LabVIEW® DriverDAQ-LVIEW PnP contains the VIs, which are used to interfacewith NI’s LabVIEW® software package. The DAQ-LVI

Seite 24 - 2.6 Connector Pin Assignment

Installation 72 InstallationThis chapter describes how to install the cPCI/PCI-7300A. At first,the contents in the package and unpacking information

Seite 25

Copyright 2006 ADLINK TECHNOLOGY INC.All Rights Reserved. The information in this document is subject to change without priornotice in order to improv

Seite 26 - 14 Installation

8Installation2.2 UnpackingYour cPCI/PCI-7300A card contains sensitive electronic compo-nents that can be easily damaged by static electricity.The card

Seite 27 - 2.7 Wiring and Termination

Installation 92.4 PCI-7300A's LayoutFigure 2-1: PCI-7300A Layout Diagram

Seite 28 - Connect with DIN-502S

10 InstallationFigure 2-2: cPCI-7300A Layout Diagram

Seite 29 - 3Registers

Installation 112.5 Hardware Installation OutlinePCI configurationThe PCI cards (or CompactPCI cards) are equipped with plugand play PCI controller, i

Seite 30 - 3.1 I/O Port Base Address

12 Installation2.6 Connector Pin AssignmentThe PCI-7300A comes equipped with one 100-pin SCSI type con-nector (CN1) located on the rear mounting plate

Seite 31 - Registers 19

Installation 1384 DITRIG CONTROL IDI TRIG – can be used to control the start of data acquisition in all DI modes.78…81 AUXDI3…0 DATA IAUX DI 3…0 – ca

Seite 32

14 InstallationFigure 2-3: CN1 Pin Assignment

Seite 33 - Registers 21

Installation 152.7 Wiring and TerminationTransmission line effects and environment noise, particularly onclock and control lines, can lead to incorr

Seite 34

16 Installation2.8 Termination Board SupportingThe cPCI/PCI-7300A can be connected with two daughter boards:DIN-100S or DIN-502S. The functionality an

Seite 35 - Registers 23

Registers 173RegistersIn this chapter, the registers’ format of the cPCI/PCI-7300A isdescribed. Please note that the registers’ map of the PCI-7300AR

Seite 36 - Bit # 31~8 Don’t Care

Getting Service from ADLINKCustomer Satisfaction is top priority for ADLINK Technology Inc.Please contact us should you require any service or assista

Seite 37 - Registers 25

18 Registers3.1 I/O Port Base AddressThe registers of the cPCI/PCI-7300A are shown in Table 3.1. Thebase address of these registers is also assigned

Seite 38 - Bit # 31_16 DI_FIFO_32

Registers 19Legend:X DI_CSR: Digital input control & status registerX DO_SCR: Digital output control & status registerX AUX_DIO: Auxiliary di

Seite 39 - Bit # 31_16 DO_FIFO_32

20 Registers3.2 DI_CSR: DI Control & Status Register Digital input control and status checking is done by this register.Address: BASE + 00Attribut

Seite 40 - Bit 31_16 PA_PAE_PAF

Registers 21DI_EN (R/W) X 0: Disable digital inputsX 1: Enable digital inputsDI_FIFO_CLR (R/W) X 0: No effectX 1: Clear digital input FIFO. If both P

Seite 41 - Register

22 Registers3.3 DO_CSR: DO Control & Status RegisterDigital input control and status checking is done by this register.Address: BASE + 04Attribute

Seite 42 - 30 Registers

Registers 23DO_WAIT_TRIG (R/W) X 0: start output data immediatelyX 1: delay output data until DOTRIG is actived PB_TERM_OFF (R/W) X 0: PORTB terminat

Seite 43 - 4 Operation Theory

24 Registers3.4 Auxiliary Digital I/O RegisterAuxiliary 4-bit digital inputs and 4-bit digital outputsAddress: BASE + 08 Attribute: READ/WRITEData For

Seite 44 - 4.2 Block Diagram

Registers 253.5 INT_CSR: Interrupt Control and Status Register The interrupt of PCI-7300A is controlled and status is checkedthrough this register.

Seite 45 - 4.3 Digital I/O Data Flow

26 Registers3.6 DI_FIFO: DI FIFO direct access port The digital input FIFO data can be accessed through this portdirectly. Address: BASE + 0x10Attrib

Seite 46 - 34 Operation Theory

Registers 273.7 DO_FIFO: DO external data FIFO direct access port The digital output FIFO data can be accessed through this portdirectly. Address: B

Seite 48 - 36 Operation Theory

28 Registers3.8 FIFO_CR: FIFO almost empty/full register The register is used to control the FIFO programmable almostempty/full flag. Address: BASE +

Seite 49 - 4.6 Scatter/gather DMA

Registers 293.9 POL_CNTRL: Control Signal Polarity Control Register The register is used to control the control signals’ polarity. Thecontrol signa

Seite 50 - 4.7 Clocking Mode

30 Registers3.10 PLX PCI-9080 DMA Control RegistersThe registers of bus-mastering DMA as well as the control andstatus registers of PCI-bus interrupts

Seite 51 - Operation Theory 39

Operation Theory 314 Operation TheoryThis chapter provides the detailed operation information for thecPCI/PCI-7300A, including I/O configuration, blo

Seite 52 - 4.9 Active Terminator

32 Operation TheoryX DO0:output LSB, DO31:output MSB.X LSB: Least Significant Bit, MSB: Most Significant Bit4.2 Block DiagramFigure 4-1 shows the bloc

Seite 53 - Operation Theory 41

Operation Theory 334.3 Digital I/O Data FlowWhen applying digital input functions, the data will be sampled intothe input FIFO periodically as we con

Seite 54 - 42 Operation Theory

34 Operation Theory4.4 Input FIFO and Output FIFODue to the data transfer rate between external devices and thecPCI/PCI-7300A is independent from that

Seite 55 - Operation Theory 43

Operation Theory 35do chaining mode DMA which will generate the desired pat-tern repetitively.4.5 Bus-mastering DMADigital I/O data transfer between

Seite 56 - 44 Operation Theory

36 Operation Theorytransfer the maximum data size as they have on their systemmemory. However, if the data should be real-time saved to thehard-disk r

Seite 57 - Operation Theory 45

Operation Theory 374.6 Scatter/gather DMAThe PCI Bridge also supports the function of scatter/gather busmastering DMA, which helps the users to trans

Seite 58 - 46 Operation Theory

Table of Contents iTable of ContentsTable of Contents... iList of Tables...

Seite 59 - Continuous Digital Input

38 Operation Theory4.7 Clocking ModeThe data input to or output from the FIFO is operated in a specificrate. The specific sampling rate or the pacer r

Seite 60 - 48 Operation Theory

Operation Theory 39tion of DI-ACK. If the external device follows the rule,there would be no data lost due to FIFO overrun.3. Handshaking: For the di

Seite 61 - Operation Theory 49

40 Operation Theory4.8 Starting ModeUsers can also control the starting mode of digital input and outputby external signals (DITRIG and DOTRIG) with t

Seite 62 - 50 Operation Theory

Operation Theory 414.10 Digital Input Operation ModeDigital Input DMA in Internal Clock ModeThere are three sources to trigger digital input in the i

Seite 63 - Operation Theory 51

42 Operation TheoryThe operation flow is show as below: Note: When the DMA function of digital input starts, the input data will be stored in the FIF

Seite 64 - 52 Operation Theory

Operation Theory 43than the on-board FIFO buffer time. The FIFO size is 16K sample, so it has 1.6 ms buffer time for 10MHz sampling rate if the FIFO

Seite 65 - Operation Theory 53

44 Operation TheoryThe operation flow is show as below: The followings are timing diagrams of the DI-REQ and the inputdata. The active edge of DI-REQ

Seite 66 - 54 Operation Theory

Operation Theory 45Figure 4-8: DIREQ as input data strobe (Falling Edge Active)Note: From the timing diagram of external clock mode, the maxi-mum fr

Seite 67 - Pattern Generator

46 Operation Theoryfer.The operations sequence of digital input with handshaking arelisted:1. Define the input configuration to be 32-bit, 16-bit or 8

Seite 68 - 4.12 Auxiliary DIO

Operation Theory 47The following figure shows the timing requirement of the hand-shaking mode digital input operation.Figure 4-9: DIREQ & DIACK H

Seite 69 - 5 C/C++ Libraries

ii Table of Contents3.10 ... PLX PCI-9080 DMA Control Registers 304 Operation Theory ...

Seite 70 - 5.2 Programming Guide

48 Operation Theoryand remove the unnecessary processes in your applica-tion programs.3. When high-speed sampling frequency is applied, thelarger bloc

Seite 71 - 5.3 _7300_Initial

Operation Theory 494.11 Digital Output Operation ModeDigital Output DMA in Internal Clock ModeThere are three sources to trigger digital output: 20MH

Seite 72 - @ Return Code

50 Operation TheoryAs the data output in the internal clock mode, the DOREQ signalcould be use as the output strobe to indicate the output operationto

Seite 73 - 5.4 _7300_Close

Operation Theory 51The operations sequence of digital output in handshaking modeare listed:1. Define the input configuration to be 32-bit, 16-bit or

Seite 74 - 5.5 _7300_Configure

52 Operation TheoryThe timing diagram of the DOREQ and DOACK in the DO hand-shaking mode is shown as follows:Figure 4-11: DOREQ & DOACK Handshakin

Seite 75

Operation Theory 53The operations sequence of digital output in burst handshakingmode are listed:1. Define the input configuration to be 32-bit, 16-b

Seite 76 - 5.6 _7300_DI_Mode

54 Operation TheoryThe operation flow is show as below: Note: When the DMA function of digital output starts, the output data will transfer to the out

Seite 77 - 5.7 _7300_DO_Mode

Operation Theory 55Pattern GeneratorThe digital data is output to the peripheral device periodicallybased on the clock signals occur at a constant ra

Seite 78

56 Operation Theory4.12 Auxiliary DIOThe cPCI/PCI-7300A also includes four auxiliary digital inputs andfour digital outputs, which can be applied to a

Seite 79 - 5.8 _7300_AUX_DI

C/C++ Libraries 575 C/C++ LibrariesThis chapter describes the software library for operating this card.Only the functions in DOS library and Windows

Seite 80 - 5.9 _7300_AUX_DI_Channel

Table of Contents iii@ Description ... 62@ Syntax ...

Seite 81 - 5.10 _7300_AUX_DO

58 C/C++ Libraries5.2 Programming GuideNaming ConventionThe functions of the NuDAQ PCI cards or NuIPC CompactPCIcards’ software driver are using full

Seite 82 - 5.11 _7300_AUX_DO_Channel

C/C++ Libraries 595.3 _7300_Initial@ DescriptionA PCI-7300A card is initialized according to the card number.Because the cPCI/PCI-7300A is PCI bus ar

Seite 83 - 5.12 _7300_Alloc_DMA_Mem

60 C/C++ Librariesirq_no:system will give an available interrupt number to this cardautomatically.pci_master:TRUE: BIOS enabled PCI bus mastering

Seite 84 - 5.13 _7300_Free_DMA_Mem

C/C++ Libraries 615.4 _7300_Close@ DescriptionClose a previously initialized PCI-7300A card.@ SyntaxVisual C/C++ (Windows 95)int W_7300_Close (int ca

Seite 85 - 5.14 _7300_DI_DMA_Start

62 C/C++ Libraries5.5 _7300_Configure@ DescriptionSet the port DI/O configuration, terminator control, and control sig-nal polarity for the PCI-7300A

Seite 86 - @ Syntax

C/C++ Libraries 63PAON_PBOFF: PORTA terminator ON, PORTB terminator OFFPAON_PBON: PORTA terminator ON, PORTB terminator ONNote: term_cntrl is used to

Seite 87 - @ Argument

64 C/C++ Libraries5.6 _7300_DI_Mode@ DescriptionSet the clock mode and start mode for the PCI-7300A DI opera-tion.@ SyntaxVisual C/C++ (Windows 95)int

Seite 88

C/C++ Libraries 655.7 _7300_DO_Mode@ DescriptionSet the clock mode and start mode for the PCI-7300A DO opera-tion.@ SyntaxVisual C/C++ (Windows 95)in

Seite 89 - 5.15 _7300_DI_DMA_Status

66 C/C++ LibrariesDO_WAIT_BOTH: delay output data until DOTRIG is active and FIFO is not almost empty.fifo_threshold:programmable almost empty thresho

Seite 90 - 5.16 _7300_DI_DMA_Abort

C/C++ Libraries 675.8 _7300_AUX_DI@ DescriptionRead data from auxiliary digital input port. You can get all 4 bitsinput data by using this function.@

Seite 91 - 5.17 _7300_GetOverrunStatus

iv Table of Contents@ Description ... 72@ Syntax ...

Seite 92 - 5.18 _7300_DO_DMA_Start

68 C/C++ Libraries5.9 _7300_AUX_DI_Channel@ DescriptionRead data from auxiliary digital input channel. There are 4 digitalinput channels on the PCI-73

Seite 93

C/C++ Libraries 695.10 _7300_AUX_DO@ DescriptionWrite data to auxiliary digital output port. There are 4 auxiliary dig-ital outputs on the PCI-7300A.

Seite 94 - 5.19 _7300_DO_DMA_Status

70 C/C++ Libraries5.11 _7300_AUX_DO_Channel@ DescriptionWrite data to auxiliary digital output channel (bit). There are 4 aux-iliary digital output ch

Seite 95 - 5.20 _7300_DO_DMA_Abort

C/C++ Libraries 715.12 _7300_Alloc_DMA_Mem@ DescriptionContact Windows 95 system to allocate a memory for DMA trans-fer. This function is only availa

Seite 96 - 5.21 _7300_DO_PG_Start

72 C/C++ Libraries5.13 _7300_Free_DMA_Mem@ DescriptionDeallocate a system DMA memory under the Windows 95 envi-ronment. This function is only availabl

Seite 97 - DMADscrBadAlign

C/C++ Libraries 735.14 _7300_DI_DMA_Start@ Description The function will perform digital input by DMA data transfer.It will take place in the backgro

Seite 98 - 5.22 _7300_DO_PG_Stop

74 C/C++ Librariesdata transfer continually tests if any data in the FIFO andthen blocks transfer, the system will continuously loopuntil the conditio

Seite 99 - 5.23 _7300_DI_Timer

C/C++ Libraries 75@ Argumentcard_number:The card number of the PCI-7300A card.mode (DOS):CHAIN_DMA: chaining DMA mode. By using thescatter-gather cap

Seite 100 - 5.24 _7300_DO_Timer

76 C/C++ LibrariesPCICardNotInitDMATransferNotAllowedInvalidDIOCountBufNotDWordAlignDMADscrBadAlign

Seite 101 - 5.25 _7300_Int_Timer

C/C++ Libraries 775.15 _7300_DI_DMA_Status@ Description Since the _7300_DI_DMA_Start function is executed in back-ground, you can issue this function

Seite 102 - 5.26 _7300_Get_Sample

Table of Contents v@ Argument ... 84@ Return Code ...

Seite 103 - 5.27 _7300_Set_Sample

78 C/C++ Libraries5.16 _7300_DI_DMA_Abort@ Description This function is used to stop the DMA DI operation. After executingthis function, the DMA trans

Seite 104 - 5.28 _7300_GetUnderrunStatus

C/C++ Libraries 795.17 _7300_GetOverrunStatus@ Description When you use _7300_DI_DMA_Start to input data, the input datais stored in the FIFO of PCI

Seite 105 - Appendix

80 C/C++ Libraries5.18 _7300_DO_DMA_Start@ Description The function will perform digital output N times with DMA datatransfer. It will takes place in

Seite 106

C/C++ Libraries 81count:For non-chaining mode, this is the total number of digitaloutput data in double-words (4-byte). The value of count can notexc

Seite 107 - Mode Definition

82 C/C++ Libraries5.19 _7300_DO_DMA_Status@ Description Since the _7300_DO_DMA_Start function is executed in back-ground, you can issue the function _

Seite 108 - 96 Appendix

C/C++ Libraries 835.20 _7300_DO_DMA_Abort@ Description This function is used to stop the DMA DO operation. After execut-ing this function, the _7300_

Seite 109 - Appendix 97

84 C/C++ Libraries5.21 _7300_DO_PG_Start@ Description The function will perform pattern generation with the data stored inbuff_ptr. It will takes plac

Seite 110 - 98 Appendix

C/C++ Libraries 85DMADscrBadAlign

Seite 111 - Warranty Policy

86 C/C++ Libraries5.22 _7300_DO_PG_Stop@ Description This function is used to stop the pattern generation operation.After executing this function, the

Seite 112 - 100 Warranty Policy

C/C++ Libraries 875.23 _7300_DI_Timer@ Description This function is used to set the internal timer pacer for digital input.Timer pacer frequency = 10

Kommentare zu diesen Handbüchern

Keine Kommentare