Home
User`s Manual V1 - Chase Scientific Company
Contents
1. Operating Temperature 0 to 70 degrees C standard 40 to 85 degrees C extended Operating Humidity 5 to 95 non condensing Size PC 104 Plus 3 55 x 3 775 Data Bus Chase Scientific Company 32 bits PCI techsupport chase2000 com 5 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE 1 5 Technical Support Software Updates For technical support Phone 360 221 8455 Fax 360 221 8457 Email techsupport chase2000 com Mail Chase Scientific Company P O Box 1487 Langley WA 98260 For software updates Email techsupport chase2000 com Web http www chase2000 com 1 6 Warranty Chase Scientific Company hereafter called Chase Scientific warrants to the original purchaser that its AD2100 12 1M 104P and the component parts thereof will be free from defects in workmanship and materials for a period of ONE YEAR from the data of purchase Chase Scientific will without charge repair or replace at its option defective or component parts upon delivery to Chase Scientific s service department within the warranty period accompanied by proof of purchase date in the form of a sales receipt EXCLUSIONS This warranty does not apply in the event of misuse or abuse of the product or as a result of unauthorized alterations or repairs It is void if the serial number is altered defaced or removed Chase Scientific shall not be liable
2. Declaration void ad2100 SoftTrig DWORD BrdNum Parameters BrdNum lt CardNum lt 4 Return Value None Example ad2100 SoftTrig 1 Creates trigger under software control for Brd 1 4 3 2 10 ad2100 Digitize Description Must always call ad2100 Reset first to reset memory controller Board must be open of course see ad2100 Open All other functions such as SetClockRate SetSegmentSize SetNumSegments SetTrigPol do not have to be called again unless changes are made Reset is the only function that 1s required to called each time before a new digitize Declaration void ad2100 Digitize DWORD BrdNum Parameters BrdNum 1 lt CardNum lt 4 Return Value None Example ad2100 Digitize 1 Starts to digitize on board 1 O Chase Scientific Company techsupport chase2000 com 18 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE 4 3 2 11 ad2100 Digitize Done Description This function is used to check to see if ad2100 Digitize had comleted This call can be put into a multiplexed timing loop or thread to avoid tying up the microprocessor When this function comes back 1 then the user can transfer the data safely Declaration DWORD ad2100 Digitize Done DWORD BrdNum Parameters BrdNum 1 lt CardNum lt 4 Return Value 0 False 1 True Example DWORD BoardDone ad2100 Digitize Done 1 Check to see if Board 1 has completed the digitize process 4 3 2 12 ad
3. Ie gt Valid for INT1 shorted INTA open If INT1 open and INTA shorted then INTA always selected regardless of SEL_1 0 IDSEL and BUS CLOCK SELECT Headers gt l a LK HDR 4X IDSELD IDSEL1 IDSEL3 gt gt IDSEL HEADER 42 HDR 4X2 O Chase Scientific Company techsupport chase2000 com 9 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE 2 5 Hardware Register Definitions Due to hardware protocol complexity the details on how to use these ports are beyond the scope of this manual The software drivers should provide an effortless integration path for the user However if the need arises that is beyond what the sofiware drivers can provide please call the factory for technical support 2 6 Analog Input Ranges and Resolution Analog input range is by default 0 528V Consult factory for user gain setting options The resolution is 12 bits O Chase Scientific Company techsupport chase2000 com 10 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE 3 THEORY OF OPERATION 3 1 Introduction Because the PC 104 Plus bus is slower than the digitizing rate of the AD2100 the data must first be digitized and stored on the AD2100 and then transferred to system memory at the slower bus speed 3 2 Acquiring Analog Input Data Before capturing data the user must first setup the correct digitizing rate trigger input mode trigger polarity number of segments segment size and pretrig
4. 0 Digitize Done 1 1 Poll until Digitize 1 ad2100 TransferData 1 128 1 TempArray Transfer data to User Array printf TRANSFER DATA COMPLETE An break for DWORD x 0 x lt 40 x printf CHAN 1 2d 5d CHAN 2 2d 5d n x TempArray x 0Ox0000FFF x TempArray x gt gt 12 Ox0000FFF ad2100 Close 1 Run this before quitting shutting down master program otherwise you can leave card open return 0 5 MISCELLANEOUS 5 1 Calibration The AD2100 has no user feature to calibrate for input and output gain accuracy or offsets The gains and offsets are calibrated at the factory to be within 3 at 25 C and nominal voltages with inputs terminated by 50 ohms source 5 2 Maintenance No maintenance is required However a yearly calibration is recommended if the user desires to maintain the AD2100 modules specified accuracy Call factory for maintenance and or extended warranty information O Chase Scientific Company techsupport chase2000 com 21 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE Trademarks MS DOS Windows 3 1 Windows 95 Windows NT Windows 2000 and Windows XP are registered trademarks of Microsoft Corporation O Chase Scientific Company techsupport chase2000 com 22
5. 2100_TransferData Description Transfers the stored digitized data located on the PC 104 module to the System memory location pointed to by UserArrayPtr ad2100 Digitize Done much be True before calling this function Declaration void ad2100 TransferData DWORD BrdNum DWORD SEG SIZE DWORD NUM SEGS PVOID UserArrayPtr Parameters BrdNum 1 lt CardNum lt 4 SEG SIZE 1 lt SEG SIZE lt 2097151 NUM SEGS NUM SEGS SEG SIZE 2MEG UserArrayPtr Pointer to User s Array Return Value None Example ad2100 TransferData 1 128 1 UserArrayPtr Transfers 1 segment worth of 128 samples data from board 1 to users array pointed to by UserArrayPtr O Chase Scientific Company techsupport chase2000 com 19 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE 4 4 Programming Examples 4 4 4 Windows Linux Example Using Generic C C AAA AAA AAA AAA d dd dd dd dd AAA AAA AAA P P PPP MM File ad2100 test c Example code for accessing the AD2100 PC 104 module ddddddddd dd dd dd d dd dd dd dd dd d dd AAA AAA IP P Mg IM LP BP Ml ll llli finclude lt stdio h gt finclude lt stdlib h gt include lt string h gt include lt math h gt include a2100 dll import h int main int argc char argv nnn 1 INITIALIZE VARIABLES HE DWORD TempArray 8192 printf Mn DWORD NumCards DWORD ad2100
6. ORD CardNum IMPORT DWORD ad2100 Close DWORD CardNum IMPORT void ad2100 Reset DWORD BrdNum IMPORT void ad2100 SetClockRate DWORD BrdNum DWORD DivideBy SegSize 2 to 2097151 PreTrig 0 to 2097149 IMPORT void ad2100 SetSegment Size DWORD BrdNum DWORD SegSize DWORD PreTrig IMPORT void ad2100 SetNumSegments DWORD BrdNum DWORD NumSeg 1 1048575 IMPORT void ad2100 SetTrigPol DWORD BrdNum DWORD TrigPol O Pos Edge 1 Neg Edge IMPORT void ad2100 SoftTrig DWORD BrdNum IMPORT void ad2100 Digitize DWORD BrdNum IMPORT DWORD ad2100 Digitize Done DWORD BrdNum IMPORT void ad2100_TransferData DWORD BrdNum DWORD SEG SIZE S DWORD NUM SEGS PVOID UserArrayPtr dendif 4 3 2 Function Call Descriptions Usage 4 3 2 1 ad2100 CountCards Description Returns number of AD2100 cards present on computer Declaration DWORD ad2100 CountCards void Parameters none Return Value Returns with an encoded value which represents the number of AD2100 Return Values O Chase Scientific Company techsupport chase2000 com 14 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE 0 Kernel Driver ok but no card found 1 4 Normal range of possible number of cards detected 13 Kernel Driver not working Example DWORD Num ad2100 Boards ad2100 CountCards 4 3 2 2 ad2100_Open Description Loads the AD2100 software drivers and sets the AD2100 board to its default state Declaration DWORD ad2100 O
7. User Manual for AD2100 12 1M 104P DMA PreTrigger Capable Version Dual Channel 100 MSPS 12 bit PC 104 PLUS Analog Input Module CHASE SCIENTIFIC COMPANY P O Box 1487 Langley WA 98260 Tel 360 221 8455 Fax 360 221 8457 Email techsupport chase2000 com Web http www chase2000 com Original Document AD2100 12 1M 104P DMA PreTrig manual odt created 05 06 2004 updated 11 6 2011 Copyright 2004 2010 by Chase Scientific Company This manual the AD2100 module and the software drivers outlined in this document are copyrighted with all rights reserved Under the copyright laws the above mentioned may not be copied in whole or in part without the express written consent of Chase Scientific Company AD2100 User Manual TABLE OF CONTENTS 100 MSPS PC 104 ANALOG INPUT MODULE 1 GENERAL INFORMA TION Vissssssssscennsssnsscsseocsesencevcsavdectencsdescsccvanssossesnsssucstessesdessnsesseucseevencsaseccdesssscsssesssoeseued 4 1 1 INTRODUCTION iere Ee Beh eee ei e D ev o A a EE EO E se sts ia 4 172 REFERENCES edere e D HR OE Ed RE EN REPRE e Ue nde eres BORE E EEE OER BR 4 1 S IDEUVERABLEES A e ER TU SH RENE t E eR e ETE eee IS 4 E SOT WARE zoe echar eot cote MD iecit Seti e M dead 4 13 2 y RNE AR eebe ed bt ANA 4 TEE 5 1 4 PRODUCT SPECIFICATION EE 5 1 5 TECHNICAL SUPPORT SOFTWARE Uepamgs 6 1 6 WARRANTY a v deretur prar aii ete GU Sow eite iati ne 6 2 HARDWARE DESCRIPTION siccccssscssssscstessveesseniscssesv
8. a02100 SetSepment Size reta ect ate perte t o ee E Heber ee d e e op dee te 17 4 32 7 ad2 LE E ET EE 17 420 Bag5000 Se Pu POI aie e rcd es th bera QUA ost t eod E RA EPA bore es RT Rp ine 17 4 3 2 9 ad2 100 Soft TrIg voracidad tdi pb 18 43 2 10 ad2 100 DigitizeQ wicca nitet cen te de i ee e RIO A an NS 18 4 3 2 T11 ad2100 Digitize Done irrita Ce ede ete edad 19 432124021005 Deeg ii ERN EE I DN Rent re ER un 19 A APROGRAMMING EXAMPLEES teer Renee ia tua eds data 20 4 4 1 Windows Linux Example Using Generic CC 20 LAO TO BI QUE DLOTU E M 21 EM EGET EE 21 2 2 MXINTENANGE uta etica EEE 21 O Chase Scientific Company techsupport chase2000 com 2 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE ILLUSTRATIONS TABLES FIGURE 1 BLOCK DIAGRAM esee e enses n sensns tn sensns eins tn seins tn seins essen sesta sens etn sensns essen sesta sse sses 8 FIGURE 2 BOARD LAYOYTT eres esee eese enses enses sth sentia sess tn sensns etes ense tn sens esas tese ss rasoo eissa aei oo 9 FIGURE 3 4 PIN DIGITAL HO CONNECTONR eeeeeee eene tenete sensn sts stas tins tn sensns senses sens tuns een sena 10 O Chase Scientific Company techsupport chase2000 com 3 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE 1 GENERAL INFORMATION 1 1 Introduction The AD2100 12 1M 104P DMA is a PC 104 Plus analog I O module which features two 2 12 bit high speed singled e
9. chase2000 com 7 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE 2 3 Board Drawing AD2100 12 2M 104P DMA LATTICE us 45 r R5 sy E RIF H R97 317 ER R 5 III _ E mL me 51 O Chase Scientific Company MMMM ware LRL REV III u2 L J ed AL LLLEAMLLLLAML LI R7B Pur RIA Ki H I 999999099999999 Pe Figure 2 Board Layout techsupport chase2000 com 8 8 R 73 IW Wn ERC a VK A 09 24 E LA o a 4 Im Vei ss Kn ria us 2009 E d ui E uM cs cis wj m WU Lal Ki EA i g iz ll 1000 5 H a c el E x i H n 4 o zm D CH o o A I LI z z 3 Sen LA ui i es D CA LOI8 m cola H ZE zm s wa N WW c S ele E LEM GES r zm LA 30 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE 2 4 Board I O 2 4 1 Header Pinouts and Pin Descriptions JP5 MUX SELECT OF GNT REQ INT IN 1 3 5 7 MUX SEL 0 MUX SEL 1 Short only 1 set INTI Short only 1 set 1 2 gt ID SEL ES 1 2 CLK3 3 4 ID SEL2 peu 3 4 CLK2 5 6 ID SELI B 3 5 6 gt CLKI 7 8 gt ID_SELO mu X E eg e GNT REQ INT 7 8 gt CLKO n n 0 INTA default 1 INTB default 2 INTC n a INTD default RIA le IO
10. e 1 4 3 2 4 ad2100 Reset Description 100 MSPS PC 104 ANALOG INPUT MODULE Resets memory counters and triggering functions re arms This should be called immediately after opening card for the first time and every time before ad2100 Digitize is called Declaration void ad2100 Reset DWORD BrdNum Parameters CardNum 1 lt CardNum lt 4 Return Value None Example ad2100 Resetl 4 3 2 5 ad2100 SetClockRate Description Sets internal clock rate based on on board clock or external clock Declaration void ad2100 SetClockRate DWORD BrdNum DWORD DivideBy Parameters CardNum lt CardNum lt 4 DivideBy 100 MegaSamples second 50 MegaSamples second 25 MegaSamples second 12 5 MegaSamples second External Clock Ext Clock 2 Ext Clock 4 Ext Clock 8 SLO dede He Recommend External Clock Range gt Frequency Range 1MHz 100 MHz Amplitude OdBm 6dBm Return Value None Example ad2100 SetClockRate 1 0 Set board 1 to 100 MegaSamples O Chase Scientific Company techsupport chase2000 com AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE 4 3 2 6 ad2100 SetSegment Size Description Sets the segment size and Pre Trigger size Do not exceed the maximum memory size Segment Size Number of Segments 1048576 or 2097151 depending on model number Declaration void ad2100 SetSegment Size DWORD BrdNum DWORD SegSize DWORD PreTrig Parameter
11. easscsasssecccssavsecestsossssetssscessssvsndsvsussvensscsscvesessstaseesecsesesees 7 SA INTRODUCTION sitiada eere ine a aem remo q rer REG eem OE ERR RIS 7 2 2 Brock DIAGRAM eis ces te cette oret teg a eet eere tace cerco taa 7 2 BOARD DRAWING RED IL ideada 8 DA BOARD VO tects ertet e teal vol sets hd Alte Hoe ruere oes ieri mi seat ier ID io Mar 9 2 4 1 Header Pinouts and Pin Description 9 2 5 HARDWARE REGISTER LJEFINITIONS c tee ee E PC gea a 10 2 6 ANALOG INPUT RANGES AND RESOLUTION ssrrirrersesivete iyere E e E Eaa a E TEI E 10 3 THEORY O10EO QDI HE MULUS saser oses abese i sostes isao aoe 11 Eet E 11 3 2 ACQUIRING ANALOG INPUT DATA EE 11 ASOEFTWARE D NBZU HERO P 11 4 1 INTRODUCTION 55er ere etr ERE e REI o RE ERE NE Yee o GNE 11 2 2 DRIVER E e 11 42 Windows 2000 XBP3 tt Rote ce meer ES eee che E oett a eet dde e eos ais 11 4 2 2 Linux Installation Kernels 2 0x 2 2x 24 12 42 3 Windows IS MENTA ig ee REI Mee de Tos sus tidad 13 4 3 FUNCTION CAES assis saei REL RUNE a EGRE GN DE Pe OU PL GERD HEISE 13 4 311 Function Declardtons INC 3 us Tes tret te pete coed baw lected ec e e ede etur dai 13 4 3 2 Function Call Descriptions USGS de tecti e A nene e sper da ses 14 43 2 A ad2100 Count ards Qs rne nia rep decem pee e nidi eite Ded e PY eia 14 43050100 Opeh sed crucis A i Li LE nda M DE UE E 15 EON CAT A O ER 15 4 3 2 4 802 LOO EE S D t ue ee ee 16 4 3 2 5 ad2100 SetGlockRate ee eed eee pa 16 4 3 2 6
12. error code for DWORD x 0 x 8192 x TempArray x 0 2 CHECK FOR NUMBER OF AD2100 CARDS OPEN DRIVERS REPORT ANY ERRORS NumCards ad2100 CountCards printf AD2100 Test NumCards Opened d n NumCards if NumCards gt 0 ad2100 error code ad2100 Open 1 printf AD2100 Test ad2100 error code d n ad2100 error code if ad2100 error code 3 return 0 ad2100 error code 0 ok 3 ok card already open 6 Number of cards exceeded 13 Kernel Driver not working Agree sas ipe ct SRS eee iie HSS EE meses euet eue ene Sasser 3 SETUP CARD aia a la eue ci IEEE mier esee lo oie aoe ea lee ad2100 Reset 1 Resets card s registers Re Arms Trigger gt Must always call before ad2100 Digitize 1 ad2100 SetClockRate 1 1 Set clock to 50MHz ad2100 SetSegment Size 1 128 Set segment size to 128 O Chase Scientific Company techsupport chase2000 com 20 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE ad2100 SetNumSegments 1 1 Set number of concatenated segments to 1 ad2100 SetTrigPol 1 0 Set trigger input to positive edge triggered Tp A A a eee ae 4 DIGITIZE WAIT FOR DONE TRANSFER DATA TO TempArray e il ai a ees ad2100 Digitize 1 use ad2100 SoftTrig ad2100 SoftTrig 1 Digitizes when TTL trigger is present or for DWORD x 0 x 4000 x if ad210
13. es on a single Mini CD Call Chase Scientific for the latest information on drivers for other operating system platforms or check the web site for the latest updates Software drivers are provided as a Dynamic Link Library DLL which is compatible with most 32 bit windows based development software including Microsoft C and Borland C This DLL uses the edecl calling convention which is default capatible with the compilers above See readme txt files in the appropriate directories for installion instructions 1 3 2 Hardware The AD2100 hardware consists of a single PC 104 Plus compliant module The module is shipped with a manual with complete hardware and software descriptions The ISA bus connector PC 104 only portion is O Chase Scientific Company techsupport chase2000 com 4 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE configured as a passthrough mode but does not directly connect to any circuitry on the card This card can only be accessed as a PCI device according to PC 104 Plus specification 1 3 3 Checklist Part Number Description AD2100 12 1M 104P DMA Dual 100 MSPS 12 bit A D PC 104 Plus Module AD2100 Drivers Mini CD with Dynamic Link Libraries for Windows 98 NT 2000 XP Includes example snippet txt AD2100 Manual User manual for AD2100 board and software drivers 1 4 Product Specification all specifications are at 25C unless otherwise specif
14. for any consequential damages including without limitation damages resulting from loss of use Some states do not allow limitation or incidental or consequential damages so the above limitation or exclusion may not apply to you This warranty gives you specific rights You may also have other rights that vary from state to state Chase Scientific warrants products sold only in the USA and Canada In countries other than the USA each distributor warrants the Chase Scientific products that it sells NOTICE Chase Scientific reserves the right to make changes and or improvements in the product s described in this manual at any time without notice Chase Scientific Company techsupport chase2000 com 6 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE 2 HARDWARE DESCRIPTION 2 1 Introduction The AD2100 hardware consists of the following major functions e 2 12 bit 100 MSPS synchronous single ended bipolar A D Inputs DC coupled 1 TTL Trigger Input 1 TTL ECL Sinewave Clock Input AC coupled 2 2 Block Diagram Ain 1 KM TTL INPUT TRIG 2 12 BIT 100MHZ EXT CLK IN A D CONVERTERS Ain 2 100 MHZ CRYSTAL CLK CONTROLLER CLOCK TRIG DETECT 1 MEG MEMORY clk divider Trig In KR TTL INPUT TRIG LOCAL BUS MEMORY EXT CLK IN CONTROLLER CONTROLLER Ext Clk gt GLUE LOGIC SEQUENCER PC 104 Plus Interface Controller Figure 1 Block Diagram Chase Scientific Company techsupport
15. ger value if applicable After proper setup is performed you re ready to digitize When the digitize function is called the A D converter is activated and begins storing data into buffer RAM If multiple segmented memory is used where triggered blocks of memory is packed together until some set memory limit is met then the USER must set up the segment size and number of segments to be digitized If post pre triggering is enabled then the trigger detect circuit will initially be suppressed until the user programmed pretrigger time has elapsed Then after the pretrigger timer has completed and the trigger event has occurred the A D data will continue to be stored into the onboard buffer RAM until the postrigger timer has run out 4 SOFTWARE DRIVERS 4 1 Introduction The primary objective in designing software drivers is to get the user up and running as quickly as possible The details on installing software drivers are listed in 4 2 xx While the listing of function calls and their parameter definitions are listed in section 4 3 xx the programming examples in section 4 4 x will show you how to include them into your programs The drivers are designed to work under Windows 98 ME NT4 2000 XP 4 2 Driver Installation 4 2 1 Windows 2000 XP 1 Do not install AD2100 card at this time 2 UnZip all files into directory C temp AD2100 create directories if needed You can move and or copy the files later to a directory of your cho
16. ice 3 Run Register AD2100 Win2000 XP bat This will copy the Kernel driver windrvr6 sys to c lt windir gt system32 drivers directory and will register the Kernel driver in the Windows Registry so O Chase Scientific Company techsupport chase2000 com 11 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE that it starts up each time the computer is rebooted 4 Power off computer Insert AD2100 card Power up computer 5 When OS asks for Driver File point to AD2100 P9054 inf If OS does not ask for file then check hardware configuration and update if not listed properly under Jungo in Device Manager see below To check to see which driver is installed do the following gt Control Panel gt System gt Hardware gt Device Manager gt Jungo AD2100 P9054 WinDriver If you see another driver in place of AD2100 P9054 then right click the first device under Jungo and click properties Update the driver by pointing to AD2100 P9054 inf You may have to go through a series of menus 4 2 2 Linux Installation Kernels 2 0x 2 2x 2 4x Example Linux Installation on RH9 0 version 2 4 20 8 02 04 2005 1 Before you start Install Red Hat Linux 9 0 Kernel 2 4 20 8 Make sure the GNU C compiler tools and libraries are installed This requires using the custom install mode or simply installing all packages 2 Install the Kernel Driver Make sure you log on as administrator root level Cop
17. ied HIGH SPEED ANALOG INPUTS CH1 2 Number of inputs 2 Synchronous Single Ended into 50 ohms A D Resolution 12 bit 1 part in 4096 Input Bandwidth 50 MHz minimum 2V pk to pk Av 1 Input Range The A D count of 0 equals 1 0V min A count of 4095 equals 1 0V min order option 3 for user specified FIXED gain Acquisition Time to Full Scale Step 16 ns typical to 0 01 1 2 LSB Input Coupling 50 ohms load to ground shield Overvoltage Protection 5V Maximum Nonlinearity 2 LSB typical Conversion Rate channel 100 MHz maximum Programmable down to 12 5MHz mod 2 EXT CLK down to 1 MHz Lower is possible with A D degradation Memory Size 1048576 samples maximum optional 2097152 Segment Sizes Software selectable segment sizes from 1 to 2097152 with Number of Segments from 1 to 2097152 as long as it fits into memory Pre Trigger Size Range 0 to 2097149 Acquisition Mode Single shot initiated by software external or internal triggering see trigger sources Timebase 100 MHz 50 MHz 25 MHz 12 5 MHz Software Selectable EXT CLK Trigger Location Fixed trigger position at beginning of each segment Sources external TTL signal 3 3V TTL internal software trigger Slope Positive Negative Coupling DC GENERAL Power Supply Vcc 5V 860mA 12 5 MSPS 5V 1240mA 100 MSPS
18. is will copy the Kernel driver windrvr6 sys to c lt windir gt VMM32 directory and will register the Kernel driver in the Windows Registry so that it starts up each time the computer is rebooted 4 Power off computer Insert AD2100 card Power up computer 5 When OS asks for Driver File point to AD2100 P9054 inf If OS does not ask for file then check hardware configuration and update if not listed properly under Jungo in Device Manager see below To check to see which driver is installed do the following gt Control Panel gt System gt Hardware gt Device Manager gt Jungo AD2100_P9054 WinDriver If you see another driver in place of AD2100 P9054 then right click the first device under Jungo and click properties Update the driver by pointing to AD2100_P9054 inf You may have to go through a series of menus 4 3 Function Calls 4 3 4 Function Declarations in C Header File for C Function Calls gt ifndef ad2100 dllH O Chase Scientific Company techsupport chase2000 com 13 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE define ad2100 dllH define IMPORT extern C declspec dllimport DWORD TempArray 2097152 include iostream h include stdio h include stdlib h include lt fcntl h gt include lt sys stat h gt include io h include string h User Function calls IMPORT DWORD ad2100 CountCards void IMPORT DWORD ad2100 Open DW
19. nded 50 ohms synchronous input channels each capable of capturing data at 100 MSPS with a minimum bandwidth of 50 MHz The AD2100 module operates over industrial temperature range standard 40 C to 85 C Analog inputs trigger input and clock inputs are available on SMA connectors It also has on board clocks as well Each high speed channel has IMeg memory per channel of software selectable onboard memory using programmable segment sizes Each segment is independently triggered and packed into memory Trigger source can be either an external TTL trigger or on board software trigger Timing is controlled by an onboard clock circuit referenced to a 100 MHz crystal oscillator and can be programmed for 100MHz 50MHz 12 5MHz The user can also use an external clock Once A D conversions are completed data can be transferred from the module to main memory using DMA transfers at up to 110MBytes sec using simple function calls 1 2 References PC 104 Plus Specification Version 2 0 November 2003 by PC 104 Embedded Consortium P996 1 Standard for Compact Embedded PC Modules PC 104 Specification Version 2 3 June 1996 by PC 104 Consortium TEEE P996 draft standard 1987 by IEEE Standards Committee This bus standard was the basis for the first PC 104 standard released in 1992 1 3 Deliverables 1 3 4 Software The AD2100 comes with one set of drivers for Windows 98 NT 2000 XP and a separate set for WinVista 7 Software com
20. pen DWORD CardNum Parameters CardNum 1 lt CardNum lt 4 Return Value Returns with error code A 0 means everything is fine See below for details for other values Return Values 0 Opened Windriver Successfully and AD2100 Card Found Successfully 1 Opened Windriver Successfully but NO AD2100 CARDS FOUND 2 Opened Windriver Successfully AD2100 card found but Cannot Open Driver to other Board Functions 3 Opened Windriver Successfully Board already open 6 Card number exceeds number of cards 13 FAILED TO OPEN Windriver Kernel Driver Example DWORD OpenErrorCode ad2100 Open 1 Opens Board Number 1 and stores value 4 3 2 3 da2100 Close Description Closes AD2100 drivers Should be called after finishing using the driver However if no other software uses the windrv xxx usual situation then there is no need to close it until user is ready to completely exit from using their main software program Declaration DWORD ad2100 Close DWORD CardNum Parameters CardNum 1 lt CardNum lt 4 Return Value Returns with error code A 0 means everything is fine See below for details for other values Return Values 0 Closed Windriver Successfully for AD2100 card requested 5 AD2100 Card Already Closed for card requested 13 FAILED TO ACCESS Windriver Kernel Driver O Chase Scientific Company techsupport chase2000 com 15 AD2100 User Manual Example DWORD CloseErrorCode ad2100 Clos
21. s BrdNum 1 lt CardNum lt 4 SegSize 2 lt SegSize lt 2097151 PreTrig 0 lt PreTrig lt 2097149 Return Value None Example ad2100 SetSegment Size 1 1024 100 Sets board 41 for Segment Size 1024 Samples and PreTrigger of 100 Samples 4 3 2 7 ad2100 SetNumSegments Description Sets number of segments before digitize is complete User can also call reset at any time to start over if number of triggers is not sufficient to finish the digitize process Do not exceed the maximum memory size gt Segmend Size Number of Segments 1048576 or 2097151 depending on model number Declaration void ad2100 SetNumSegments DWORD BrdNum DWORD NumSeg Parameters BrdNum 1 lt CardNum lt 4 NumSeg 1 lt NumSeg lt 1048575 Return Value None Example ad2100 SetNumSegments 1 3 Set board 1 for 3 Segments 4 3 2 8 ad2100 SetTrigPol Description Sets which edge will cause a trigger to occur Declaration void ad2100 SetTrigPol DWORD BrdNum DWORD TrigPol O Chase Scientific Company techsupport chase2000 com 17 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE Parameters BrdNum 1 lt CardNum lt 4 TrigPol 0 Positive Edge Triggered 1 Negative Edge Triggered Return Value None Example ad2100 SetTrigPol 1 0 Set board 1 for Positive Edge Trigger 4 3 2 9 ad2100_SoftTrig Description Creates a trigger as if an external hardware trigger action occurred
22. y the archive file ad2100 tgz from the CD or download to the directory root ad2100 for example Open the ad2100 tgz by using the archive manager File Roller or use tar xvzf ad2100 tgz This will create two folders WinDriver and ad2100_src in this directory Copy the WinDriver folder to the directory usr local This will create the directory usr local WinDriver with all the support files needed to recompile the WinDriver Kernel Type the following commands in a terminal windows while in directory usr local WinDriver redist A configure NOTE The configure script creates a makefile based on your specific running kernel B make Chase Scientific Company techsupport chase2000 com 12 AD2100 User Manual 100 MSPS PC 104 ANALOG INPUT MODULE C make install 3 Install the ad2100 Interface Driver with Sample user Test Program To compile sample test program change to directory root ad2100 ad2100_src Then type make all This will compile link and create the interface library ad2100 oo as well as the test application ad2100 test Just use the test application as a skeleton for your own interface application program 4 2 3 Windows 98 ME NT4 1 Do not install AD2100 card at this time 2 UnZip all files into directory C temp AD2100 create directories if needed You can move and or copy the files later to a directory of your choice 3 Run Register AD2100 Win98 ME NT4 bat Th
Download Pdf Manuals
Related Search
Related Contents
XL-550 - SINGER Futura Support Ameda 17505UK ECO-pompset Gebruiksaanwijzing Tire INSTALLATION & SERVICE MANUAL 簡単!スムーズ! LT Type B/B+/C Descargar archivo USER`S MANUAL Manual de instalación - CI Energia Solar ESWindows Copyright © All rights reserved.
Failed to retrieve file