Home

PCI-1714 PCI-1714UL User Manual

image

Contents

1. AD Channel n DATA n 0 or 2 BASE 30 32 are for four channels DMA data transfer Data transfer will alternate from CHO CHI to CH2 CH3 automatically The format is the same as BASE 0 2 or BASE 4 6 CHO CHI is first 32 bit CH2 CH3 is the second and CHO CHI and so on User only want to transfer CHO CHI please use BASE 0 2 transfer CH2 CH3 please use BASE 4 6 About DMA data transfer please refer to PCI9056 datasheet DMA data transfer support 1 2 or 4 channels data acquisition For 1 channel data acquisition only channel 0 or 2 is acceptable For 2 channels data acquisition only channel 0 1 or 2 3 is acceptable The DMA data transfer to memory format are list as below 1 One channel CHO Memory Address N CHO data 1 CHO data 0 N 1 CHO data 3 CHO data 2 N 2 CHO data 5 CHO data 4 N 3 CHO data 7 CHO data 6 71 Appendix C 2 Two channels CHO CHI Memory Address N CH1 data 0 CHO data 0 N 1 CH1 data 1 CHO data 1 N 2 CH1 data 2 CHO data 2 N 3 CH1 data 3 CHO data 3 3 Four channels CHO CHI CH2 CH3 Memory Address N CH1 data 0 CHO data 0 N 1 CH3 data 0 CH2 data 0 N 2 CH1 data 1 CHO data 1 N 3 CH3 data 1 CH2 data 1 C 19 DMA Request Selector Write BASE 34 DSO This bit select the DMA request
2. DMA Counter Register CN 15 CN 14 CN1 3 CN1 2 CN 11 CN 15 CN 14 CN1 3 CN1 2 CN 11 Rest DMA Counter Table C 3 ECT 714 register format Part 3 Register Format 15 14 13 12 11 Interrupt ontrol Register r Interrupt 55 Appendix C fable C 3 PCI 1714 register format Part 3 W Analog Trigger Threshold voltage Register N A N A Calibration Command Regi CGTICGOJIX PCI 1714 a
3. Register Format 14 13 112 111 Control Register Status Regist FIFO FIF 1 AF O1_ AE Control Register T3 FIFO Status Regist FIFO FIF FIF FIF FIF 3 AF O3_ 03 03 03 AE FF HF EF 0 Programmable Flag Register PF PF13 FP1 PF PF1 PF9 PF8 14 2 110 FIFO O Programmable Flag Register PF PF13 FP1 PF PFT PF9 PF8 14 2 11 jo 1 Programmable Flag Register PF PF13 FP1 PF PF1 PF9 PF8 14 2 110 1 Programmable Flag Register PF PF13 FP1 PF PF1 PF9 PF8 14 2 110 PCI 1714 amp 1714UL User Manual 54 Table C 2 PCI 714 register format Part 2 VV PF 14 2 PF1 3 rogrammable PE 14 PF1 3 FP1 2 PE 11 3 Programmable Flag Register PE 14 PF13 FP1 2 PF PF1 11 0 PF9 PF8 3 Programmable Flag Register PF 14 PF13 FP1 2 PF PF1 10 PF9 PF8
4. 33 Chapter4 4 5 Analog Input Data Format Table 4 2 Analog Input Data Format AID Code Mapping Voltage Hex 000h FS 7FFh 1 LSB 800h 0 FFFh FS 1 LSB 1LSB FS 2048 Table 4 3 Corresponding Full Scale Values for Various Input Volt age Ranges PCI 1714 amp 1714UL User Manual 36 Chapter 5 Calibration The PCI 1714 cards have been well calibrated at the factory for initial use You are not required to calibrate the PCI 1714 cards in normal con ditions However if calibration is required the procedure shown in the next pages will show how it is done To perform an effective calibration prepare a standard 4 1 2 digits reso lution stable and low noise DC voltage source It is important as the accuracy of the device will depend on the accuracy of the DC source 5 1 Calibration Procedure Step 1 Click the Setup button on the Advantech Device Manager win dow Fig 5 1 to launch the PCI 1714 Device Setting window Fig 5 2 Four rs Playfar n Partner ADVANTECH DE retailed Device r Suppe Devisi Advartech DEMO Board branch POT L HG HGL r ddvarbech PO 1711 r Advartech PUI 17T1L PL1 1711 fp Advartech PCI 1712 afp Advantech PC 1713 balvarkoch PO 1714 Advantech POI 1 716 Adv rteck PTI 1720 mu DN 17H Figure 5 1 Click the Setup button to Launch the Device Setting PCI 1714 amp
5. Vieaning Single value acquisition mode SW trigger Pacer acquisition mode Post trigger acquisition mode Delay trigger acquisition mode About trigger acquisition mode N A N A N A a 0O gt 0 QO r QO TS2 TSO Trigger Source selector Vieaning Analog input CHO Analog input CH1 Analog input CH2 Analog input CH3 Digital trigger input N A N A N A gt O O 2 0 gt oO TSE Trigger Edge selector Rising edge trigger Falling edge trigger 61 Appendix C DMA TCF DMA counter terminal count flag DMA counter is not terminal count DMA counter is terminal count TRGF Trigger flag Trigger not occurred Trigger occurred C 8 FIFO Control Write BASE 10 12 FIFO Control FIFO Control Register FCLRn n 0 3 FIFO Clear register Write 1 to this bit to clear FIFO data FRSTn n 0 3 FIFO Reset register Write 1 to this bit to clear FIFO data and reset the AE and AF flag posi tion to 7FH PCI 1714 amp 1714UL User Manual 62 C 9 FIFO Status Read BASE 10 12 Li 13 2 11 O Status Register FIFO FIFO 1 AF 1 AE O Status Register FIFOn EF n 0 3 FIFO Empty Flag 1 FIFO is empty 0 FIFO 1s not empty FIFOn HF n 0 3 FIFO Half full Flag 1 FI
6. 4 1 Analog Input Ranges and Gains e 28 Table 4 1 Gains and Analog Input Range 28 4 2 Analog Input Acquisition Modes s sssmsrssssssssrrrrrrsrssnnrnrrrer 28 4 2 1 Single Value Acquisition Mode unnnneennnneennen 28 4 2 2 Pacer Acquisition M0 ninanasa 29 4 2 3 Post Trigger Acquisition Mode s sssmssssssrsssssseeenrerrrrrnnn 29 Figure 4 1 Post Trigger Acquisition Mode 29 4 2 4 Delay Trigger Acquisition Mode een 30 Figure 4 2 Delay Trigger Acquisition Mode 30 4 2 5 About Trigger Acquisition Mode s ssssessssssessssssosnnnnn 31 Figure 4 3 About Trigger Acquisition Mode 31 4 2 6 Pre Trigger Acquisition Mode s sssssrrrssrsssrrserersssnrrrrrer 32 Figure 4 4 Pre Trigger Acquisition Mode 32 4 3 A D Sample Clock Sources 11111 aa 32 4 3 1 Internal A D Sample Clock 33 4 3 2 External A D Sample Clock 33 4 3 3 External A D Sample Clock 1 33 Figure 4 5 PCI 1714 Sample Clock Sources 34 44 TIS OCR Sources 34 44 1 Sotware Trigger nee een 34 4 4 2 External Digital TTL Trigger 34 4 4 3 Analog Threshold Trigger 0000002 nennen 35 4 5 Analog Input Data Format 36 Table 4 2 Analog Input Data Format 36 Table 4 3 Corresponding Full Scale Values for Various Input Voltage Ranges 36 Chapter 3 Calibra lona RAANINAA ia IB
7. N Calibration Wizard Adjust Offset Value This action will take a few time to adjust Adjust 0 255 Hex Ave Voltage Status Unknow 2050 1101 0 0061 Unknow Start Note If Fail please check input voltage w Figure 5 4 The Adjustment Process of Offset Calibration Step 6 Ifthe reference DC voltage source and the wiring are both correct the calibration will proceed automatically after the Start button is clicked When the offset calibration is completed the Status will indicate Succeeded then click the Next button to proceed to the next step Calibration Wizard Adjust Offset Value This action will take a few time to adjust _ Adjust 07255 Hex Ave Voltage 35 2047 3399 Note If Fall please check input voltage Next gt Cancel Figure 5 5 Offset Calibration Succeeded PCI 1714 amp 1714UL User Manual 40 Step 6a Once the Status indicates Failed please check if both the wiring and the input voltage are correct When finished checking click the Start button again to restart the procedure or click the Cancel button to stop the calibration Adjust Gain Value This action will take a few time to adjust Mate If Fail please check input voltage Hexrt gt Cancel Figure 5 6 Offset Calibration Failed Step 7 If the offset calibration is completed it will proceed to the Gain Calibration The steps of gain calibration are quite sim
8. 1 shows the function of each register of the PCI 1714 cards or driver and their address relative to the cards base address Table C 1 PCI 1714 register format Part I PCI 1 14 Register Format 15 14 113 112 11 110 9 Al Channel 0 Single Value Acquisiti AT Channel 0 Data ITRGFJOV GT G0 JAD JAD JADO 11 10 AT Channel 1 Single Value Acquisiti AT Channel 1 Data TRGF OV GT G0 JAD JAD JADO 11 10 AT Channel 2 Single Value Acquisiti AT Channel 2 Data TRGFIOV GT GO JAD JAD JAD9JAD8 11 10 AT Channel 3 Single Value Acquisition AT Channel 3 Data TRGFIOV GT JGO JAD JAD 11 10 AT Range Control Register CHO _GO CHO G1 G0 G1 G0 A D Converter Enable Registe CH3ICH2ICHTICHO CH3ICH2ICHTICHO 53 Appendix C Table C 1 PCI 1714 register format Part 1 W S1 Trigger Mode and So ister DMA _TCF
9. BASE 28 69 Table C 17 Register for Calibration Command 69 BoardID Read BASE RG aaa 70 Table C 18 Register for BoardID Switch 70 Reset DMA Start Channel to CH0 Write BASE 30 70 Table C 19 Reg for Reset DMA Start Ch to CHO 70 AD Channel n DATA Read BASE 30 32 71 Table C 20 Register for AD Channel n DATA 71 DMA Request Selector Write BASE 34 72 Table C 21 Register for DMA Request Selector 12 vii Table of Contents PCI 1714 amp 17141 User Manual Vill CHAPTER Introduction This chapter will provide information on the features of the PCI 1714 and PCI 1714UL cards a quick installation guide together with some brief infor mation on software and accessories Sections include e Features e Applications e Installation Guide e Software Overview e Device Drivers Programming Road map e Accessories Chapter 1 Introduction Thank you for buying the Advantech PCI 1714 or PCI 1714UL The PCI 1714 and PCI 1714UL are simultaneous 4 channel analog input cards with high sampling rates They are advanced performance data acquisition cards based on 32 bit PCI bus architecture The maximum sampling rate of PCI 1714 is up to 30 MS s and 10 MS s for PCI 1714UL 1 1 Features PCI 1714 and PCI 1714L offer the following main features 32 bit PCI bus Mastering DMA data transfer Four A D converters for simu
10. Mode Software pacer post trigger pre trigger delay trigger about trigger Accuracy D DNLE 1LSB No Missing Codes 12 Bits Guaranteed C INCE 2LSB Offset error Adjustable to 1LSB Gain error Adjustable to 1LSB SINAD S 166 dB Hi Z N D IENOB 10 67 bits Hi Z THD 73 dB Hi Z xternal Clock 1 Logic level TTL Low 0 8 V max High 2 0V min Input imped 50 ohms ance Input coupled IDC Frequency Up to T0MHz xternal Clock 0 Logic level 5 0V peak to peak sin wave Input imped Hi Z ance Input coupled JAC Frequency Up to T0MHz xternal Trigger 0 Logic level TTL Low 0 8 V max High 2 0V min Input imped HiZ ance Input coupled IDC xternal Analog Range By analog input range Trigger Input Resolufion 8 bit Frequency Up to IT MHz PCI 1714 30 MHz is only for FIFO depth of 32K PCI 1714UL 10 MHz is only for FIFO depth of 8K Continuous acquisition depends on performance 47 Appendix A PCI 1714 amp 1714UL User Manual 48 APPENDIX Block Diagram Appendix B Block Diagram o Input Attenuator Ni 50 1M ohm ohm Input 3 Attenuator 50 1M ohm ohm Input Attenuator 1M ohm ohm sait 8 32 K nano PA en 1M ohm Ranger Auto Calibration cow N Amp 3 8 12 bit AD 8 32 K FIFO N Timing and Triggering Control o s External Trigg
11. four BNC ports available for simultaneous signal input 1 6 2 Wiring Boards ADAM 3909 is a DB9 Wiring Terminal for DIN rail Mounting This ter minal module can be readily connected to the Advantech PC LabCard products and allows easy yet reliable access to individual pin connections for the PCI 1714 cards 9 Chapter I PCI 1714 amp 1714UL User Manual 10 CHAPTER Installation This chapter gives a package item checklist proper instructions about unpacking and step by step procedures for both driver and card installation Sections include e Unpacking e Driver Installation Hardware Installation e Device Setup amp Configuration e Device Testing Chapter 2 Installation 2 1 Unpacking After receiving your PCI 1714 package please inspect its contents first The package should contain the following items M PCI 1714 or PCI 1714UL card MI Companion CD ROM DLL driver included M User Manual The PCI 1714 cards harbors certain electronic components vulnerable to electrostatic discharge ESD ESD could easily damage the integrated circuits and certain components if preventive measures are not carefully paid attention to Before removing the card from the antistatic plastic bag you should take following precautions to ward off possible ESD damage Touch the metal part of your computer chassis with your hand to dis charge static electricity accumulated on your body Or use a grounding strap e Touch th
12. is ready to be received For detailed information please refer to Appendix C 8 FIFO Control Appendix C 9 FIFO Status and Appendix C 10 FIFO for Pro grammable Flag PCI 1714 amp 1714UL User Manual 28 4 2 2 Pacer Acquisition Mode Use pacer acquisition mode to acquire data if you want to accurately con trol the time interval between conversions of individual channels in a scan A D conversion clock comes from A D counter or external clock source on connector A D conversion starts when the first clock signal comes in and will not stop if the clock is still continuously sending into it Conversion data is put into the A D FIFO For high speed data acquisi tion you have to use the DMA data transfer for analog input to prevent data loss 4 2 3 Post Trigger Acquisition Mode Post trigger allows you to acquire data based on a trigger event Posttrig ger acquisition starts when the PCI 1714 cards detect the trigger event and stop when the preset number of post trigger samples has been acquired or when you stop the operation This trigger mode must work with the DMA data transfer mode enabled Use post trigger acquisition mode when you want to acquire data when a post trigger event occurs Please specify the following parameters after Post Trigger Acquisition Mode has been set e The A D sample clock source and sampling rate The trigger source The acquired sample number N Trigger Event Lequired number of samples N Ist Ind
13. start configuration using Device Manager which was installed on your system during driver setup A complete device installation procedure should include board selection and device setup The following sections will guide you through the board selection device setup and operation of your device PCI 1714 amp 1714UL User Manual 16 2 4 Device Setup 4 Configuration Device Manager 1s a utility that allows you to setup configure and test your device and later store your settings on the system registry These settings will be used when you call the APIs of Advantech Device Driv ETS Setting Up and Configuring the Device l To connect I O devices with your card you must first run the Advantech Device Manager program by accessing Start Programs Advantech Automation You can then view the device s already installed on your system if any in the Installed Devices list box If you haven t installed any device yet you might see a blank list such as the one below Advantech Device Manager Your e Platform Partner IND ile TM Device Manager wolf Advantech DEMO Board 2 Advantech PCI 1680 i Advantech PCI 1710 L HG HGL Figure 2 4 Device Manager with No Installed Devices Scroll down the Supported Devices list to find the device that you want to install and then click the Add button to evoke the Device s Found dialog box like the one shown in Figure 2 5 The Device s Found dialog box lists all the installed de
14. than repair personnel authorized by Advantech or which have been subject to misuse abuse accident or improper instal lation Advantech assumes no liability under the terms of this warranty as a consequence of such events Because of Advantech s high quality control standards and rigorous test ing most of our customers never need to use our repair service If an Advantech product is defective it will be repaired or replaced at no charge during the warranty period For out of warranty repairs you will be billed according to the cost of replacement materials service time and freight Please consult your dealer for more details If you think you have a defective product follow these steps 1 Collect all the information about the problem encountered For example CPU speed Advantech products used other hardware and software used etc Note anything abnormal and list any onscreen messages you get when the problem occurs 2 Call your dealer and describe the problem Please have your man ual product and any helpful information readily available 3 If your product is diagnosed as defective obtain an RMA return merchandize authorization number from your dealer This allows us to process your return more quickly 4 Carefully pack the defective product a fully completed Repair and Replacement Order Card and a photocopy proof of purchase date such as your sales receipt in a shippable container A product returned without pro
15. 0 Al Channel 3 Single Value Acquisition AT Channel 3 Data TR IOVIGT GO JAD JAD JADY AD8 AD7 AD6 AD5 AD4 AD3 AD2 JAD1 JADO AD11 AD012 bits Data of A D Conversion ADO the least significant bit LSB of A D data AD11 the most significant bit MSB of A D data G1 GO Range code These 2 bits indicate the input range of the data Input range 5 to 5V 2 5 to 2 5V 1 to 1V 0 5 to 0 5V OV Over range flag This bit indicates whether the input voltage is over range or not Read 1 means over range TRGF Trigger Flag For about trigger use only The trigger flag indicates whether a trigger event has happened during A D conversion process PCI 1714 amp 1714UL User Manual 58 C 4 Al Range Control Write Read BASE 3 Table C u A for Analog Input Range Control Register Format 15 114 113 112 11 110 AT Range Control Register Analog Input Range Selector These registers are used to select the analog input range for each channel Input range 5 to 5 V 2 5 to 2 5 V 1to 1V 0 5 to 0 5 V n 0 3 C 5 A D Converter Enable Write Read BASE A Table C rio eae for A D Converter Enable C
16. 1714UL User Manual 38 Step 2 Select the input range of the channel which you want to calibrate Step 3 Click the Calibration button to start the calibration process The Calibration Wizard window will pop up Note Each calibration process can calibrate only one channel and one input range at a time NPLI 1714 Device Setting Base Addess Hex ETOO meruap 11 halo Calbraion X Advanced Setting Maamal allowable PC bus bandwedth Sop haa 80 MBytes Sec an 50V Calibration Maximal allowable intemupt frequency i Ng 1000 Hz CH2 50v Caibraion Maxcmalbutfer for DMA transfer i 4 TE MBytes CH3 25072 Colbration Detauks CE wet ten Figure 5 2 Click the Calibration Button to Launch the Calibration Step 4 Follow the instruction of Calibration Wizard to input a correct DC voltage as a reference and click the Next button to proceed to the next step Calibration Wizard This wizard will help you calibrate your P CI 1714 device Condition Channel 0 inrange ez 50V Offset Calibration IN Please connect a reference voltage of 0 0 V in channel 0 Nate The calibration will fail if the voltage is invalid Pax NGA PA TITTEN DT TE TE Figure 5 3 The Start up Window of Offset Calibration 39 Chapter 5 Step 5 Click the Start button to start the Offset Calibration Note that the Status will indicate Unknown as default at the beginning
17. 5 1 Calibration Proeedure ass 38 Figure 5 1 Setup button to Launch Device Setting 38 Figure 5 2 Click the Calibration Button to Launch the Callbraloh rn as areas 39 Figure 5 3 Start up Window of Offset Calibration 39 Figure 5 4 Adjustment Process of Offset Calibration 40 Figure 5 5 Offset Calibration Succeeded 40 Figure 5 6 Offset Calibration Failed 41 Figure 5 7 Start up Window of Offset Calibration 41 Figure 5 8 Adjustment Process of Gain Calibration 42 PCI 1714 amp 17141 User Manual vi Appendix A A l A 2 Appendix B Appendix C CI OZ C 3 CA Co C 6 Cel C 8 CY C 10 C 11 C 12 C 13 C 14 C 15 C 16 C 17 C 18 C 19 Figure 5 9 Gain Calibration Succeeded 42 Figure 5 10 Gain Calibration Failed 43 Figure 5 11 Calibration Procedure Completed 43 Specifications GANA RANG 46 General AA ern eR 46 PCRIVIMUL A alog pka sann 47 Block Diagram ee 50 Register Structure amp Format 52 CDV CL VIC WY nennen 52 Resister Formatare iise aE ET 52 Table C 1 PCI 1714 register format Part 1 53 Table C 2 PCI 1714 register format Part 2 54 Table C 3 PCI 1714 register format Part 3 55 Table C 4 PCI 1714 register format Part 4 57 A D Single Value Acquisition 57 Table
18. C 5 Register for Single Value Acquisition 317 AI Range Control Write Read BASE 8 59 Table C 6 Register for Analog Input Range Control 59 A D Converter Enable Write Read BASE A 59 Table C 7 Register for A D Converter Enable 59 Clock Source and Divider Write Read BASE C 60 Table C 8 Register for Clock Source and Divider 60 Trigger Mode and Source Write Read BASEFE 61 Table C 9 Register for Trigger Mode and Source 61 FIFO Control Write BASE I0O 12 62 Table C 10 Register for FIFO Control 62 FIFO Status Read BASE 10 12 20022000200000000 63 Table C 11 Register for FIFO Status 63 FIFO for Programmable Flag Write Read 64 Table C 12 Register for FIFO Programmable Flag 64 DMAC ounter Write Read BASE 1C Write BASE 1E 65 Table C 13 Register for DMA Counter 1 65 Interrupt Control Flag Write Read BASE 20 66 Table C 14 Register for Interrupt Control Flag 66 C 12 1 Interrupt Control Register ra 66 C2 Dee Ae TO PAO 2 Nennen 67 Clear Interrupt Write BASE 22 eneeen 67 Table C 15 Register for Clear Interrupt 67 Analog Trigger Threshold V Write Read BASE 24 68 Table C 16 Reg for Analog Trg Threshold Voltage 68 Calibration Command Write Read
19. Digital Input Output Function e Port I O Function e Counter Function e Temperature Measurement Function e Temperature measurement Function e Alarm Function e Communication port Function High speed Function e Hardware Function For the usage and parameters of each function please refer to the Func tion Description chapter in the Device Drivers Manual 1 5 3 Troubleshooting Device Drivers Error Driver functions will return a status code when they are called to perform a certain task for the application When a function returns a code that is not zero it means the function has failed to perform its designated func tion To troubleshoot the Device Drivers error you can pass the error code to DRV_GetErrorMessage function to return the error message Or you can refer to the Device Drivers Error Codes Appendix in the Device Drivers Manual for a detailed listing of the Error Code Error ID and the Error Message PCI 1714 amp 1714UL User Manual 8 1 6 Accessories Advantech offers a complete set of accessory products to support the PCI 1714 cards These accessories include 1 6 1 Wiring Cables PCL 10901 1 is specially designed for PCI 1714 cards to connect to the wiring board ADAM 3909 for external synchronization signal sources such as external triggers and or clock signals PCL 1010B 1 is designed for connecting to a signal source The cable links the PCI 1714 cards with the signal source via the BNC connectors There are
20. FO is half full 0 FIFO is not half full FIFOn FF n 0 3 FIFO Full Flag 1 FIFO is full 0 FIFO is not full FIFOn AE n 0 3 FIFO Almost Empty flag 1 FIFO is almost empty 0 FIFO is not almost empty FIFOn AF n 0 3 FIFO Almost Full flag 1 FIFO is almost full 0 FIFO is not almost full 63 Appendix C C 10 FIFO for Programmable Flag Write Read BASE 14 16 18 1A Table C 12 Register for FIFO Programmable Flag 15114 T0 9 FIFO O Programmable Flag Register PF14 PF13 FP12 PF11 PF10 PF9 FIFO O Programmable Flag Register PF14I1PF13 FP12 PF11 PF10 PF9 FIFO 1 Programmable Flag Register PF14I1PF13 FP12 PF11 PF10 PF9 FIFO 1 Programmable Flag Register PF14I1PF13 FP12 PF11 PF10 PF9 FIFO 2 Programmable Flag Register PF1 L FP12 PF11 PF10 PF9 4 FIFO 2 PF14 PF1 IFP12 PF11 PF10 PF9 3 rogrammable Flag Register FIFO 3 Programmable Flag Register PF14 PF13 FP12 PF11 PF10 PF9 FIFO 3 Programmable Flag Register PF14 PF13 FP12 PF11 PF10 PF9 PF14 PFO FIFO n Programmable
21. Flag Register n 0 3 The FIFO on PCI 1714 cards is very powerful It allows user to define the indicate flag in any depth There are two flags could be defined FIFO Almost Empty flag and FIFO Almost Full flag To define these flags must follow the procedure First write is the Almost Empty flag offset count from the empty Second write is the Almost Full flag offset count from the full Read procedure is the same as write Once set the offset the value will keep until FIFO reset PCI 1714 amp 1714UL User Manual 64 C 11 DMA Counter Write Read BASE 1C Write BASE 1E Table C 13 Register for DMA Counter 15 114 DMA Counter Register CN ICN ICN ICN CN 15 114 113 12 111 CN ICN ICN ICN CN 15 114 113 12 111 Rest DMA Counter CN15 CNO DMA counter register DMA counter is a16 bit counter designed for ABOUT and DELAY trig ger mode only Set the counter value for about trigger data counts after the trigger event Also the value for delay trigger data counts after the trigger event Rest DMA Counter Before start the DMA counter write the BASE 1Eh to reset the DMA counter 65 Appendix C C 12 Interrupt Control Flag Write Read BASE 20 Table C 14 Register for Interrupt Control Flag 15 114 Interrupt Co
22. H3 CH2 CH1 CHO A D converter Enable bit These bits control the A D converter s operation Write 0 will disable the A D while 1 will enable They could be read back for checking purposes 59 Appendix C C 6 Clock Source and Divider Write Read BASE C 15 114 113 12 11 1109 8 Clock Source and Divider Register DIV7 DIVO Clock Divider When select the internal clock source 60MH7 the clock will pre divide by the clock divider The divider is 8 bit wide so it could divide from 2 to 256 DIV7 DIVO Divide value 00h N A 01h divide by 2 02h divide by 3 FEh divide by 255 FFh CKS1 CKSO divide by 256 Clock Source selector These 2 bits select the clock source feed to the A D converters Clock source Internal clock 60MHz External clock 0 External clock 1 Off PCI 1714 amp 1714UL User Manual 60 C 7 Trigger Mode and Source Write Read BASE E Table C a ei lla for Trigger Mode and Source Register Format 15 14 113 112 11 MO 9 18 Trigger Mode and Source Register TR GF TM2 TMO Trigger Mode selector There are 5 trigger modes for PCI 1714 cards Please refer to the opera tion theorem for more information
23. Jrd N Ah Jib Mih Figure 4 1 Post Trigger Acquisition Mode 29 Chapter 4 4 2 4 Delay Trigger Acquisition Mode In delay trigger mode data acquisition will be activated after a preset delay number of sample has been taken after the trigger event The delay number of sample ranges from 2 to 65535 as defined in DMA counter Delay trigger acquisition starts when the PCI 1714 cards detect the trig ger event and stop when the specified number of A D samples has been acquired or when you stop the operation This triggering mode must work with the DMA data transfer mode enabled Please specify the following parameters after the Delay Trigger Acquisition Mode has been set The sample clock source and sampling rate e The trigger source e The acquired sample number N The sample number M delays after the delay trigger event happened Ir eger Event Delay time M Acquired number of samples N from 2 to 65535 samples oS st gan Ind Figure 4 2 Delay Trigger Acquisition Mode PCI 1714 amp 1714UL User Manual 30 4 2 5 About Trigger Acquisition Mode Use about trigger acquisition mode when you want to acquire data both before and after a specific trigger event occurs This operation is equiva lent to doing both a pre trigger and a post trigger acquisition When using software please specify the following parameters after About Trigger Acquisition Mode has been set The sample clock source and sample rate e The trigger sou
24. O O s H FIT 1D O O O as mt my gt Of OD OO gt DO RA O mS O gt O a OF gt 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 Note On 1 Off 0 23 Chapter 3 3 2 2 Power on Configuration after Hot Reset JP1 Use JP1 to set the hot reset type of PCI 1714 Power on configuration after hot reset Keep the hardware register setting after hot reset Load the hardware register default setting after hot reset Default setting 3 2 3 Input Terminator Select JP2 to JP5 Use JP2 to JP5 to set input terminator values for each AI channel CHO to CH3 JP2 JP3 JP4 JP5 Input terminator select 50 ohm 1M ohm Default setting High impedance PCI 1714 amp 1714UL User Manual 24 3 3 Signal Connections 3 3 1 Pin Assignments The pin assignments for the PS 2 connector and the DB9 connector are shown below Table 3 1 PS 2 Pin Assignments Description EXT TRIG O NC EXT CLK 0t GND EXT CLK 0 EXT CLK 1 Table 3 2 DB9 Pin Assignments Description EXT TRIG O NC EXT CLK 0t GND EXT CLK 0 EXT CLK 1 GND GND GND OO N O9 9 PP OI NI gt J1 to J4 BNC are analog input connectors J1 is for AIQ J2 is for All J3 is for AI2 and J4 is for AB 23 Chapter 3 PCI 1714 amp 1714UL User Manual 26 CHAPTER Operation This chapter describes the following features of the PCI 1714 car
25. PCI 1714 30 MS s Simultaneous 4 ch Analog Input Card PCI 1714UL 10 MS s Simultaneous 4 ch Analog Input Card with Universal PCI User Manual Copyright The documentation and the software included with this product are copy righted 2005 by Advantech Co Ltd All rights are reserved Advantech Co Ltd reserves the right to make improvements in the products described in this manual at any time without notice No part of this man ual may be reproduced copied translated or transmitted in any form or by any means without the prior written permission of Advantech Co Ltd Information provided in this manual is intended to be accurate and reli able However Advantech Co Ltd assumes no responsibility for its use nor for any infringements of the rights of third parties which may result from its use Acknowledgements Intel and Pentium are trademarks of Intel Corporation Microsoft Windows and MS DOS are registered trademarks of Microsoft Corp All other product names or trademarks are properties of their respective Owners Part No 2003171410 2nd Edition Printed in Taiwan July 2005 PCI 1714 amp 1714UL User Manual il Product Warranty 2 years Advantech warrants to you the original purchaser that each of its prod ucts will be free from defects in materials and workmanship for two years from the date of purchase This warranty does not apply to any products which have been repaired or altered by persons other
26. ave any doubts Please follow the steps below to install the card in your system Note Note Make sure you have Installed the driver before you install the card Please refer to 2 2 Driver Installation Turn off your computer and unplug the power cord and cables TURN OFF your computer before installing or removing any com ponents on the computer Remove the cover of your computer Remove the slot cover on the back panel of your computer Touch the metal part on the surface of your computer to neutralize the static electricity that might be in your body Insert the card into a PCI slot Hold the card only by its edges and carefully align it with the slot Insert the card firmly into place Use of excessive force must be avoided or the card might be damaged Fasten the bracket of the PCI 1714 card on the back panel rail of the computer with screws Connect appropriate accessories such as source sync signal cables wiring terminals etc if necessary to the card Replace the cover of your computer chassis Re connect the cables you removed in Step 1 Plug in the power cord and turn on the computer In case you installed the card without installing the DLL driver first Windows 98 2000 and XP will recognize your card as an unknown device after rebooting and will prompt you to provide the necessary driver You should ignore the prompting messages just click the Cancel button and set up the driver according to th
27. d Jumper Settings e Signal Connections Chapter 3 Signal Connections 3 1 Overview Maintaining signal connections is one of the most important factors in ensuring that your application system is sending and receiving data cor rectly A good signal connection can avoid unnecessary and costly dam age to your PC and other hardware devices This chapter provides useful information about how to connect input signals to PCI 1714 cards via the I O connectors 3 2 Switch and Jumper Settings PCI 1714 cards have one function switch and five jumper settings Figure 3 1 Card Connector Jumper and Switch Locations PCI 1714 amp 1714UL User Manual 22 3 2 1 BoardID Switch Setting SW1 BoardID settings are used to set a board s unique identifier when multiple identical cards are installed in the same system PCI 1714UL cards have a built in DIP switch SW1 which is used to define each card s unique identifier You can determine the unique identi fier in the register as shown in following table If there are multiple iden tical cards in the same chassis the BoardID switch helps differentiate the boards by identifying each card s device number with the switch setting The BoardID switch s unique identifier has been set to 0 at the factory If you need to adjust it to other numbers set SW1 by referring to DIP switch settings below Board ID OO O SS D O B W N O D DO D
28. djustment a SO om ee rl KUA AEI Ar Ao Analog input CH4 gain adjustment G1 GO Calibration range code Input range 5 to 5 V 2 5 to 2 5 V 1 to 1 V 0 5 to 0 5 V CBUSY Calibration command busy flag This bit indicates the calibration command is complete and ready for next command input 69 Appendix C C 16 BoardID Read BASE 2C Table C 1 L Register for BoardID Switch 15 14 113 Board BID3 BID0 BoardID BoardID selector value is from 0 to 15 Please refer to board ID switch setting C 17 Reset DMA Start Channel to CH0 Write BASE 30 Table C 1 Register for Reset DMA Start Channel to CH0 Register Format 15 114 113 112 111 110 Reset DMA start channel to Reset DMA start channel to CHO Write any value to BASE 30h to reset DMA transfer data from CHO Before start DMA transfer user has to reset the start channel to CHO This only for four channels DMA data transfer PCI 1714 amp 1714UL User Manual 70 C 18 AD Channel n DATA Read BASE 30 32 Table C SM Register for AD Channel n DATA Register Format 15 14 11 T0 AD lea n A TRGFOV IGT GO JAD17 AD10 AD Channel n T DATA TRGFIOV IGT IGO JAD17 AD10
29. drive Step 2 The Setup program will be launched automatically if you have the AUTORUN function enabled on your system When the Setup program is launched you ll see the following setup screen AD ANTECH DA amp C Device Driver CO W2 V Device Manager Individual Driver O Example 8 Utility ER ESS Advance Options Figure 2 1 The Setup Screen of Advantech Automation Software Note If the AUTORUN function is not enabled on your computer use Windows Explorer or the Windows Run command to execute Autorun exe on the com panion CD ROM 13 Chapter2 Step 3 Select the Individual Drivers option Step 4 Select the specific device then just follow the installation instruc tions step by step to complete your device driver setup AD ANTECH DA8C Device Driver CD V2 3 a Ca HE PCI 1716L PCI 1724 re ll gt PCI 1734 RETIS PCI 1763UP 0 Rn MIC 2000 Figure 2 2 Different Options for Driver Setup For further information on driver related issues an online version of the Device Drivers Manual 1s available by accessing Start Programs Advantech Automation Device Driver s Manual PCI 1714 amp 1714UL User Manual 14 2 3 Hardware Installation After the DLL driver installation is completed you can now go on to install the PCI 1714 series card in any PCI slot on your computer It is recommended that you refer to the computer s user manual or related documentation 1f you h
30. ds e Analog input ranges and gains e Analog input acquisition modes e A D sample clock sources e Trigger sources e Analog Input Data Format Chapter4 Operation 4 1 Analog Input Ranges and Gains Each channel on the PCI 1714 cards can measure bipolar analog input signals ranging within 5 V FSR and can be set up with different input ranges respectively The sampling rate can be up to 30 MS s for PCI 1714 and 10 MS s for PCI 1714UL PCI 1714 cards also provide various gain levels that are programmable on each channel Table 4 1 lists the effective ranges supported by the PCI 1714 cards using these gains Table 4 1 Gains and Analog Input Range Gain Code 1 2 Input Range 5 2 5 For each channel choose the gain level that provides the most optimal range that can accommodate the signal range you have to measure For detailed information please refer to Appendix C 4 AI Range Control 4 2 Analog Input Acquisition Modes PCI 1714 cards can acquire data in single value pacer post trigger delay trigger about trigger and pre trigger acquisition modes These ana log input acquisition modes are described in more details below 4 2 1 Single Value Acquisition Mode The single value acquisition mode is the simplest way to acquire data Once the software issues a trigger command the A D converter will con vert one data and return it immediately You can check the A D FIFO status Read BASE 10 12 to make sure if the data
31. e steps described in 2 2 Driver Installation 15 Chapter 2 After the PCI 1714 series card is installed you can verify whether it is properly installed on your system in Device Manager I Access Device Manager through Start Control Panel System Device Manager 2 The device name of card should be listed on the Device Manager tab on the System Property Page System Properties General Device Manager Hardware Profiles Performance f View devices by lype View device by connection BI Computer EHER AdvantechDAg Li nen a kal _ Version B nor 7 w Paa vice tin rere 716 spare 2 COROM Dick dives Display adsplei Floppy disk controllers ga Hard disk cortrobers EB Keyboard Monitors Sy Mouse EJ Network adapters AF Ports COM amp LPT EHE System devices E HE Ge AE HE Ge oe 7 Properties Refresh Remove Pie Lok Coca Figure 2 3 The Device Name Listed in the Device Manager Note If your card is properly installed you should see the device name of your card listed on the Device Manager tab If you see your device name listed but marked with an exclamation sign it means your card has not been correctly installed In this case remove the card device from the Device Manager by selecting its device name and press the Remove button Then go through the driver installation process again After your card is properly installed on your system you can now
32. e anti static bag to a metal part of your computer chassis before opening the bag Hold the card only by the metal bracket when removing it from the bag After taking out the card you should first inspect the card for any possi ble signs of external damage loose or damaged components etc If the card 1s visibly damaged please notify our service department or the local sales representative immediately Avoid installing a damaged card into your system Also pay extra caution to the following aspects to ensure proper installation N Avoid physical contact with materials that could hold static electricity such as plastic vinyl and Styrofoam N Whenever you handle the card grasp it only by its edges DO NOT TOUCH the exposed metal pins of the connector or the electronic compo nents Note Keep the anti static bag for future use You may need the original bag to store the card if you have to remove the card from the PC or transport it elsewhere PCI 1714 amp 1714UL User Manual 12 2 2 Driver Installation We recommend you to install the driver before you install any of the PCI 1714 cards into your system since this will guarantee a smooth installa tion process The Advantech Device Drivers setup program for the PCI 1714 cards is included on the companion CD ROM that is shipped with your DA amp C card package Please follow the steps below to install the driver software Step 1 Insert the companion CD ROM into your CD ROM
33. er o o and Clock PCI BUS 5V 32bit 33MHz PCI 1714 amp 1714UL User Manual 50 Appendix C Register Structure 4 Format C 1 Overview PCI 1714 cards are delivered with an easy to use 32 bit DLL driver for user programming under the Windows 98 2000 and XP operating sys tems We advise users to program the PCI 1714 using the 32 bit DLL driver provided by Advantech to avoid the complexity of low level pro gramming by register The most important consideration in programming the PCI 1714 cards at register level is to understand the function of the cards registers The information in the following sections is provided only for users who would like to do their own low level programming C 2 Register Format The register format is the basis to control the PCI 1714 cards There are some rules for programmer s reference All registers are 32 bit format Please use the DWORD command in your own software Some registers are used only for write or read Some registers can support write and read back they usually use the same name Some registers could write any value to complete a command In general read only register is called status register write only register is called control register Some registers are very similar usually denote as a group For exam ple A4 A3 A2 Al A0 usually denote as A4 A0 In this document 1Fh means hexadecimal number IF PCI 1714 amp 1714UL User Manual 52 Table C
34. ers feature a complete I O function library to help boost your application performance The Advantech Device Drivers for Windows 98 2000 and XP works seamlessly with development tools such as Visual C Visual Basic Borland C Builder and Borland Delphi 1 4 3 Register Level Programming Register level programming is reserved for experienced programmers who find it necessary to write code directly at the level of device regis ters Since register level programming requires much effort and time we recommend that you use the Advantech Device Drivers instead How ever 1f register level programming is necessary you should refer to the relevant information in Appendix C Register Structure and Format or to the example codes included on the companion CD ROM PCI 1714 amp 1714UL User Manual 6 1 5 Device Drivers Programming Roadmap This section will provide you a roadmap to demonstrate how to build an application from scratch using Advantech Device Drivers with your favorite development tools such as Visual C Visual Basic Delphi and C Builder The step by step instructions on how to build your own applications using each development tool will be given in the Device Drivers Manual Moreover a rich set of example source code is also given for your reference 1 5 1 Programming Tools Programmers can develop application programs with their favorite devel opment tools e Visual C e Visual Basic e Delphi e C Builder For ins
35. g edge or falling edge trigger depend ing upon the trigger source type you choose This edge will then act as an A D trigger event For detailed information please refer to Appendix C 7 Trigger Mode and Source 4 4 2 External Digital TTL Trigger For analog input operations an external digital trigger event occurs when PCI 1714 cards detect either a rising or falling edge on the External A D TTL trigger input signal from screw terminal EXT TRIG on the ADAM 3909 screw terminal board The trigger signal is TTL compatible PCI 1714 amp 1714UL User Manual 34 4 4 3 Analog Threshold Trigger For analog input operations an analog trigger event occurs when PCI 1714 cards detect a transition from above a threshold level to below a threshold level falling edge or a transition from below a threshold level to above a threshold level rising edge You should connect the analog signals from the external device to one of the four BNC source connec tors Which one of the four sources is selected as the trigger source can be defined or identified by writing to or reading from the flags from TSO to TS2 of Write Read BASE Eh On the PCI 1714 cards the analog trigger threshold voltage level is set using a dedicated 8 bit DAC you can write or read the flags from ATO to AT7 on Write Read BASE 24h to define or identify the analog trigger threshold voltage level Please also refer to the Appendix C 14 Analog Trigger Threshold Voltage for more details
36. gger can acquire a sample whenever needed while the internal pacer saves CPU resources by triggering the sampling at a pre programmed frequency An external pacer can also be used for triggering by externally connected equipment 1 1 4 On board FIFO Memory There is 32k of FIFO sample memory on PCI 1714 and 8k of FIFO sam ple memory on PCI 1714UL This is an important feature for faster data transfers and more predictable performance under Windows systems 1 1 5 Auto Calibration PCI 1714 cards feature software auto calibration There is no variable resister trimming required This is convenient for user calibration Note For detailed specifications of the PCI 1714 cards please refer to Appendix A Specifications 3 Chapter I 1 2 Applications The following are some of the possible applications of PCI 1714 cards e Testing Instruments Ultrasound Imaging e Gamma Camera Imaging e CCD Camera Imaging e Video Digitizing 1 3 Installation Guide Before you install your PCI 1714 or PCI 1714UL card please make sure you have the following necessary components e PCI 1714 or PCI 1714UL DA amp C card PCI 1714 amp 1714UL User Manual Driver software Advantech DLL drivers included in the companion CD ROM Wiring cables PCL 10901 1 PCL 1010B 1 optional e Wiring board ADAM 3909 optional e Computer Personal computer or workstation with a PCI bus slot running Win dows 98 2000 or XP Some optional components are al
37. hardware signal DREQ user could use selector DMA Request selector FIFO 0 flag or FIFO 2 flag to generate DREQ 0 I FIFO 0 flag FIFO 2 flag PCI 1714 amp 1714UL User Manual 72
38. ilar to those of the offset calibration Follow the instructions of the Calibration Wizard to input a correct DC voltage and click the Next button to proceed Calibration Wizard i xj Condition Channel 0 in range g BOY Gain Calibration AN Please connect a reference voltage of 4 9987 in channel Mate The calibration will fail if the voltage is invalid Figure 5 7 The Start up Window of Offset Calibration 41 Chapter 5 Step 8 Click the Start button to start gain calibration Note that the Sta tus will indicate Unknown as default at the beginning Figure 5 8 The Adjustment Process of Gain Calibration Step 9 When the gain calibration is completed click the Next button to proceed Figure 5 9 Gain Calibration Succeeded PCI 1714 amp 1714UL User Manual 42 Step 9a Once the Status indicates Failed please check if both the wiring and the input voltage are correct When finished checking click the Start button again to restart the procedure or click the Cancel button to stop the calibration Adjust Gain Value This action will take a few time to adjust Adjust 0 255 Hex Ave Voltage Status 20481 ami 0 0012 Fal Note 1F Fail please check input voltage Hest Cancel Figure 5 10 Gain Calibration Failed Step 10 When the current channel is calibrated click the Finish button to end the procedure You can proceed to Step 3 to select another channe
39. l for calibration and repeat from Step 4 to Step 9 until the rest of the channels are all calibrated one after one Calibration Wizard Adjust Gain Value Channel 0 has been successfully calibrated Adjust 0 255 Hex Ave Voltage Status Unknow 40944299 4 9976 Success Finish Eancel Figure 5 11 Calibration Procedure Completed 43 Chapter 5 PCI 1714 amp 1714UL User Manual 44 Appendix A Specifications A 1 General I O Connector Type 4 BNC connector for Al 1 PS2 connector for ext clock and trigger Dimensions 137 x 107 mm 5 4 x 4 2 Power Typical 5 V 850 mA 12 V 600 mA Consumption Max 5V 1A 12 V 700mA Temperature Operating 9 70 C 32 158 F Storage 20 85 C 4 185 F Relative Humidity 5 95 RH non condensing refer to IEC 68 2 3 Certification CE certified PCI 1714 amp 1714UL User Manual 46 A 2 PC1 1714 and PCI 1714UL Analog Input annels 4 single ended analog input channels Resolution 12 bit FIFO Size PCI 1714 32K PCI 1714UL 8K ax Sampling 30MHz For PCI 1714 Rate 10MHz For PCI 1714UL nput range and Gain 10 Gain List Range 0 5V Drift Gain Zero UV C Gain ppm C Small Signal Band Gain 10 width for PGA Bandwidth 7MHZ 7MHz 7MHz 7MHz 3dB ax Input voltage 15 V Input Surge Protection 30 Vp p nput Impedance 50 1M Hi Z jumper selectable 100pF rigger
40. lear Interrupt Write any value to this address will clear interrupt It will clear all flags to 0 if there is no any interrupt in coming 67 Appendix C C 14 Analog Trigger Threshold Voltage Write Read BASE 24 Table C 1 0 Register for Analog Trigger Threshold Voltage Register Format 15 114 113 12 111 1019 8 17 J6 Analog Trigger Threshold voltage Register AT7 AT6 Analog Trigger Threshold voltage Register AT7 AT6 AT5 AT4 JAT3 JAT2 JAT1 ATO AT7 ATO Analog Trigger Threshold voltage Register These registers set the analog trigger threshold voltage level AT7 ATO FFh FEh 81h 80h 79h 01h 00h PCI 1714 amp 1714UL User Manual 68 C 15 Calibration Command Write Read BASE 28 Table C 17 Register for Calibration Command 4 Register Format 151413 112 111 10 19 Calibration Command Register CD7 CDOCalibration data The value is from 00h to FFh CM2 CMOC alibration Command Register Meaning Analog input CHO offset adjustment Analog input CHO gain adjustment Analog input CH1 offset adjustment Analog input CH1 gain adjustment Analog input CH2 offset adjustment Analog input CH2 gain adjustment Analog input CH3 offset a
41. ltaneous sampling 12 bit A D converter with up to 30 MS s for PCI 1714 and 10 MS s for PCI 1714UL 4 single ended analog input channels Programmable gain for each input channel On board FIFO memory Multiple A D triggering modes Programmable pacer counter Auto calibration BoardID switch PCI 1714UL Only Universal PCI interface accepts both 3 3 and 5 V PCI 1714UL Only Some of the features are described in details from the next page PCI 1714 amp 1714UL User Manual 2 1 1 1 32 bit PCI bus Mastering DMA Data Transfer PCI 1714 cards support PCI bus mastering DMA for high speed data transfers By setting aside a block of memory in the PC the cards perform bus mastering data transfers without CPU intervention freeing the CPU to perform other more urgent tasks such as data analysis and graphic manipulation The function allows users to run all I O functions simulta neously at full speed without losing data 1 1 2 Four A D Converters for Simultaneous Sampling PCI 1714 cards are capable of simultaneous sampling with their 4 identi cal circuits and a dedicated A D converter for each analog input channel When the time relationship between inputs is important this feature lets you sample simultaneously 1 1 3 Supports S W Internal amp External Pacer Triggering PCI 1714 cards support three kinds of trigger modes for A D conversion software triggering internal pacer triggering and external pacer trigger ing The software tri
42. mp 1714UL User Manual 56 Table C 4 PCI 1714 register format Part 4 9 Reset start read channel to CHO AD Channel n DATA TR JOV IGT GO JAD1 GF 1 N A AD Channel n 1 DATA TR JOV IGT GO JAD1 GF 1 uest selector C 3 A D Single Value Acquisition Write BASE 0 2 4 6 In single value acquisition mode SW trigger the A D converter will convert one sample when you write to the register Write BASE 0 2 4 6 with any value User can check the A D FIFO status FIFOn FE to make sure if the data is ready to be received Table C aH chi lished for Single Value Acquisition Register Format 15 114 113 12 111 10 9 8 7 Al Channel O Single Value Acquisition AT Channel 0 Data TR OV GT GO JAD JAD AD9 AD8 AD7AD6 AD5 AD4 ADSJAD2 JAD1 JADO 57 Appendix C Table C gt Register for une isda a W 10 Al Channel 2 Single Value Acquisition AT Channel 2 Data TR IOVIGT GO JAD JAD AD9 AD8 AD7 GF 11 11
43. ng Boards nm a2 a Naa ees 9 Installations esserne 12 Unpacking a N 12 Driver Installation sa are ee 13 Figure 2 1 The Setup Screen of Advantech Automation SOLL WAL ee ANA ALAGA 13 Figure 2 2 Different Options for Driver Setup 14 Hardware Installation san 15 Figure 2 3 Device Name Listed in Device Manager 16 Device Setup amp Configuration sssssssrssssssssoreonrrrrrnnnr 17 Figure 2 4 Device Manager w No Installed Devices 17 Figure 2 5 The Device s Found Dialog Box 18 Figure 2 6 The Device Name Appearing on the list of De VICES DON sin 18 Device TOS UNO seele 19 Figure 2 7 The Device Test Dialog Box of PCI 1714 19 2 5 1 Testing the Analog Input Function s000nnnnnnnnneseeesesee 20 Figure 2 8 Analog Input tab on the Device Test dialog DOK innere 20 Signal Connections cccccccceeceececccccccee 22 OVEIVIE AA 22 Switch and Jumper Settings ssssmmmmsssrerrrrrrrrrrrrrrrerrrrrrr rr ra 22 Vv Table of Contents Figure 3 1 Card Conn Jumper and Switch Locations 22 3 2 1 BoardID Switch Setting SW1 QQQXXa 23 3 2 2 Power on Configuration after Hot Reset JP1 24 3 2 3 Input Terminator Select JP2 to JP5 24 33 S1onalConnectons zielen 25 33 1 PIR AS STOR MENES az rate KANAN NANA 25 Table 3 1 PS 2 Pin Assignments u 11 11 1 25 Table 3 2 DB9 Pin Assignments ssssssssesrerrerssssnnrrrrsr gt 25 Chapter 4 Operation 28
44. nput range Analog input reading Mm 5 hy 00017712 r Channel mode m 5 py 00279667 4 single ended channels m 5 0 0 01 09857 Sampling period T000 ms 2 50V A al gt _ _v Change device Exit Figure 2 7 The Device Test Dialog Box of PCI 1714 In the Device Test dialog box you are free to test various functions of PCI 1714 cards on the analog input tab functions on the other tabs are not supported for this model 19 Chapter2 2 5 1 Testing the Analog Input Function Make sure the Analog Input tab is selected otherwise click on the Ana log Input tab to bring it up to the front of the screen Select the input range for each channel in the Input range drop down boxes Configure the Sampling period on the scroll bar to adjust the sampling rate the Ana log input reading windows will show the readings of all four channels accordingly Scroll the Sampling period scroll bar freely to test any sam pling rate you want When the device is fully tested click the Exit button to end the aan RA Pulwantech Device Tasi PLI 1714 Road Del 1 4 Digdalinput Digital output Cc ji EG Figure 2 8 Analog Input tab on the Device Test dialog box PCI 1714 amp 1714UL User Manual 20 CHAPTER Signal Connections This chapter provides useful informa tion about how to connect input signals to the PCI 1714 cards via the I O con nectors Sections include e Overview e Switch an
45. ntrol Register INT E Interrupt INT F C 12 1 Interrupt Control Register PCI 1714 cards provide 9 sources to generate the interrupt Write 1 to enable the interrupt write O to disable The INTE is control the total inter rupt FIFO0 HFFIFO 0 Half Full FIFO0 AFFIFO 0 Almost Full FIFO1 HFFIFO 1 Half Full FIFO1 AFFIFO 1 Almost Full FIFO2 HFFIFO 2 Half Full FIFO2 AFFIFO 2 Almost Full FIFO3 HFFIFO 3 Half Full FIFO3 AFFIFO 3 Almost Full DMA TCDMA counter Terminal Count INTE Total Interrupt Enable PCI 1714 amp 1714UL User Manual 66 C 12 2 Interrupt Flag These bits correspond to the same bit number of the interrupt control reg ister to indicate which interrupt occurred Read I means interrupt occurred INTFO INTFI INTF2 INTF3 INTF4 INTFS INTF6 INTF7 INTF8 INTF FIFO 0 Half Full interrupt flag FIFO 0 Almost Full interrupt flag FIFO 1 Half Full interrupt flag FIFO 1 Almost Full interrupt flag FIFO 2 Half Full interrupt flag FIFO 2 Almost Full interrupt flag FIFO 3 Half Full interrupt flag FIFO 3 Almost Full interrupt flag DMA counter Terminal Count interrupt flag Total Interrupt flag C 13 Clear Interrupt Write BASE 22 Table C 15 Register for Clear Interrupt Register Format 15 14 113 112 11 110 Clear Interrupt C
46. of of the purchase date is not eligible for war ranty service 5 Write the RMA number visibly on the outside of the package and ship it prepaid to your dealer ill CE This product has passed the CE test for environmental specifications when shielded cables are used for external wiring We recommend the use of shielded cables This kind of cable is available from Advantech Please contact your local supplier for ordering information Technical Support and Assistance Step 1 Visit the Advantech web site at www advantech com support where you can find the latest information about the product Step 2 Contact your distributor sales representative or Advantech s cus tomer service center for technical support if you need additional assistance Please have the following information ready before you call Product name and serial number Description of your peripheral attachments Description of your software operating system version appli cation software etc A complete description of the problem The exact wording of any error messages Packing List Before setting up the system check that the items listed below are included and in good condition If any item does not accord with the table please contact your dealer immediately M PCI 1714 or PCI 1714UL card M Companion CD ROM DLL driver included M User Manual Safety Precaution Static Electricity Follow these simple precautions to protect yourself fr
47. om harm and the products from damage I To avoid electrical shock always disconnect the power from your PC chassis before you work on it Don t touch any components on the CPU card or other cards while the PC is on 2 Disconnect power before making any configuration changes The sudden rush of power as you connect a jumper or install a card may damage sensitive electronic components PCI 1714 amp 1714UL User Manual iv Chapter Chapter Chapter 1 pd UI NI 1 5 1 6 NN NA N 23 2 4 ZEN D We Ge Contents INAKO dUC NON NANANG sad PA a aa aaa Laan 2 1 1 1 32 bit PCI bus Mastering DMA Data Transfer 3 1 1 2 Four A D Converters for Simultaneous Sampling 3 1 1 3 Supports S W Internal amp External Pacer Triggering 3 1 1 4 On board FIFO Memory 1 1mmaaaaaaa rr nn nn 3 Lelio ATO Calhbra oN rennen n aaahh 3 ADD CAI ONS 2080 550 ra AA NAANTIG 4 Installation AE 4 Figure 1 1 Installation Flow Chart 00000000 5 Sol ware Overview AG burde 6 1 4 1 Programming Choices for DA amp C Cards n 6 LARD Device DING za e 6 1 4 3 Register Level Programming een 6 Device Drivers Programming Roadmap 7 ES Programmi Tools ar Arena 7 1 5 2 Programming with Device Drivers Function Library 8 1 5 3 Troubleshooting Device Drivers Error 8 ACCES SOTIE Sein T a einen 9 1 6 1 Wine Cables nee RS 9 1 6 2 Wiri
48. quired sample number is N then set the total sample number to be N 2 rigger Event Acquired number of samples N 2 Samples Figure 4 4 Pre Trigger Acquisition Mode 4 3 A D Sample Clock Sources The PCI 1714 cards can adopt both internal and external clock sources for pacer post trigger delay trigger about trigger acquisition modes e Internal A D sample clock with 8 bit divider e External A D sample clock that is connected to either the EXT CLKO the differential clock source or the EXT CLK1 the single ended clock source on the ADAM 3909 screw terminal board The internal and both external A D sample clocks are described in more details in the next pages PCI 1714 amp 1714UL User Manual 32 4 3 1 Internal A D Sample Clock The internal A D sample clock uses a 60 MHz time base 20 MHz time base for PCI 1714UL Conversions start on the rising edge of the counter output You can use software to specify the clock source as internal and the sampling frequency to pace the operation The minimum frequency is 234375 S s the maximum frequency 1s 30 MS s 10 MS s for PCI 1714UL According to the sampling theory Nyquist Theorem you must specify a frequency that is at least twice as high as the input s high est frequency component to achieve valid sampling For example to accurately sample a 300 kHz signal you have to specify sampling fre quency of at least 600 kHz This consideration can avoid an error condi tion of
49. rce e The total acquired sample number N e The specific sample number M after the trigger event The range of pre set sample number is from 2 to 65536 samples In about trigger mode users must first designate the size of the allocated memory and the amount of samples to be snatched after the trigger event happens The about trigger acquisition starts when the first clock signal comes in Once a trigger event happens the on going data acquisition will continue until the designated amount of samples have been reached When the PCI 1714 cards detect the selected about trigger event the cards keeps acquiring the preset number of samples and keep the total number of samples on the FIFO rigger Event Acquired number ol samples M after rigge r event happened Total Acquired sample number N Figure 4 3 About Trigger Acquisition Mode 31 Chapter4 4 2 6 Pre Trigger Acquisition Mode Pre Trigger mode is a particular application of about trigger mode Use pre trigger acquisition mode when you want to acquire data before a spe cific trigger event occurs Pre trigger acquisition starts when you start the operation and stops when the trigger event happens Then the specific number of samples will be reversed in the FIFO before the pre trigger event occurred Please specify the following parameters after Pre trigger Acquisition Mode has been set e The sample clock source and sample rate e The trigger source e Assume the total ac
50. so available for enhanced operation e Application software ActiveDAQ or other third party software packages After you get the necessary components and maybe some of the accesso ries for enhanced operation of your Multifunction card you can then begin the installation procedures Figure 1 1 on the next page provides a concise flow chart for a broad picture of the software and hardware instal lation procedure PCI 1714 amp 1714UL User Manual 4 Install Driver from CD ROM and turn off computer Install hardware and turn on computer Use driver utility to configure hardware Use test utility to test hardware Read examples amp driver manual Start to write your own application Figure 1 1 Installation Flow Chart gt Chapter 1 1 4 Software Overview Advantech offers a rich set of DLL drivers third party driver supports and application software to help fully utilize the functions of your PCI 1714 cards e Device Drivers on the companion CD ROM e LabVIEW driver e ADAQView 1 4 1 Programming Choices for DA amp C Cards You may use Advantech application software such as Advantech Device Drivers On the other hand advanced users may choose register level programming although it is not recommended due to its laborious and time consuming nature 1 4 2 Device Drivers The Advantech Device Drivers software is included on the companion CD ROM It also comes with all Advantech DA amp C cards Advantech s device driv
51. ten know as aliasing in which high frequency input components appear erroneously as lower frequencies when sampling 4 3 2 External A D Sample Clock 0 The external sample clock 0 is a sine wave signal source which is con verted to a TTL signal inside PCI 1714 cards This signal is AC coupled The input impedance of the external clock 0 is 50 ohms and the input level is 5 volts peak to peak Please note that the frequency of the external clock is the system clock The maximum A D clock frequency is half of the system clock 4 3 3 External A D Sample Clock 1 The external sample clock 1 is a digital clock The input impedance is 50 ohms and the input level should be 2V 5V into the 50 ohm load This signal is DC coupled EXT CLE 0 Trigger EXTCLKI po 33 Chapter 4 Figure 4 5 PCI 1714 Sample Clock Sources 4 4 Trigger Sources PCI 1714 cards support the following trigger sources for post delay about and pre trigger acquisition modes e Software trigger e External digital TTL trigger e Analog threshold trigger You can define the type of trigger source as rising edge or falling edge These following sections describe these trigger sources in more detail 4 4 1 Software Trigger A software trigger event occurs when you start the analog input operation the computer issues a write to the board to begin acquisitions When you write the value to analog input trigger flag TRGF on Write BASE Eh to produce either a risin
52. tructions on how to begin programming in each development tool Advantech offers a Tutorial Chapter in the Device Drivers Manual for your reference Please refer to the corresponding sections in this chapter of the Device Drivers Manual to begin your programming efforts You can also look at the example source code provided for each programming tool The Device Drivers Manual can be found on the companion CD ROM Or if you have already installed the Device Drivers on your system the Device Drivers Manual can be readily accessed through the Start but ton Start Programs Advantech Automation Device Driver s Manual The example source codes can be found under the corresponding installa tion folder such as the default installation path Program Files Advantech ADSAPI Examples For information about using other function groups or other development tools please refer to the Device Driver Programming Guide and the Function Reference on the Device Drivers Manual 7 Chapter 1 1 5 2 Programming with Device Drivers Function Library Advantech Device Drivers offers a rich function library to be utilized in various application programs This function library consists of numerous APIs that support many development tools such as Visual C Visual Basic Delphi and C Builder According to their specific functions or services the APIs can be catego rized into several function groups e Device Function e Analog Input Output Function e
53. vices on your system Select the device you want to configure from the list box and press the OK button 17 Chapter 2 Advantech PCI 1714 device s found Figure 2 5 The Device s Found Dialog Box 4 After you have finished configuring the device click OK and the device name will appear in Installed Devices as shown below Advantech Device Manager Your ePlatform Partner RON ze Device Manager mo Advantech DEMO Board Sili a Advantech PCI 1680 i Advantech PCI 1712 aati Advantech PCI 1713 Figure 2 6 The Device Name Appearing on the list of Devices box Note As we have noted the device name 001 lt PCI 1714 BoardID 7 I O c800H gt begins with a device number 000 which is specifically assigned to each card The device number is passed to the driver to specify which device you wish to control If you want to test the card device further go to the next section on the Device Testing You can find rich examples on the CD ROM to speed up your programming PCI 1714 amp 1714UL User Manual 18 2 5 Device Testing Following the setup and configuration procedure to the last step described in the previous section you can now proceed to test the device by click ing the Test button in Device Manager s dialog box A Device Test dialog box will appear See Figure 2 7 JA Advantech Device Test PCI 1714 BoardID 15 Q ec00H Analoginput Analog output Digitalinput Digital output Channel No I

Download Pdf Manuals

image

Related Search

Related Contents

Smeg SCP109-8  Samsung LE26D450G1W Инструкция по использованию  PD-PC3 8CH LIGHT SWITCH PANEL User Manual - Techni-Lux  Télécharger (168 ko)    HP マルチコア時代のNonStop新アーキテクチャー  第一章 建置WebGuard防火墙  Installations- und Betriebsanleitung  EQS-10 EQS灯体の取扱説明書  User Manual  

Copyright © All rights reserved.
Failed to retrieve file