Home
User Manual - Chase Scientific Company
Contents
1. For software updates Email techsupport chase2000 com Web http www chase2000 com Chase Scientific Company techsupport chase2000 com 7 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 1 7 Warranty Chase Scientific Company hereafter called Chase Scientific warrants to the original purchaser that it s DA14000 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 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
2. 0 SetSoftTrigger CardNum CY CY void dal4 da120 00_SetOffset DWORD CardNum DWORD ChanNum int Mode int Offset O _SetOffset CardNum ChanNum Mode Offset CY CI void dal4000 CreateSingleSegment DWORD CardNum DWORD ChanNum DWORD NumPoints DWORD NumLoops PVOID UserArrayPtr DWORD TrigEn da12000 CreateSingleSegment CardNum ChanNum NumPoints NumLoops UserArrayPtr TrigEn void dal4000 CreateSegments DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList dal2000 CreateSegments CardNum ChanNum NumSegments PtrToSegmentsList void dal4000 UpdateSegmentCmds DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList dal2000 UpdateSegmentCmds CardNum ChanNum NumSegments PtrToSegmentsList Hendif O Chase Scientific Company techsupport chase2000 com 26 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 5 MISCELLANEOUS 5 1 Calibration The DA14000 has no user feature to calibrate The gains and offsets are calibrated at the factory to be within specifications at 25 C and nominal voltages However when using the external clock then you should select jumper U34 to provide the cleanest signal see clock jumper section 2 4 5 2 Maintanence No maintanence is required However a yearly calibration is recommended if the user desires to maintain the DA14000 specified accuracy Call facto
3. Brdl and Segments SegmentStruct SegmentsList Brd1 10 WORD Segment_0 Data 1024 WORD Segment_1 Data 1024 WORD Segment 2 Data 1024 WORD Segment 3 Data 1024 WORD Segment 4 Data 1024 WORD Segment_5 Data 1024 double pi 3 14159265358979 DWORD i DWORD MemoryDepth 1024 Fill up some arrays for i 0 i lt MemoryDepth i NOT EXACT FIT FOR NON INTEGRAL MEMORY VALUES Segment 0 Data i 2047 Created OV PAD Segment 1 Data i ceil 2047 0 2047 0 cos 2 0 pi i 64 31 25 MHz Segment 2 Data i ceil 2047 0 2047 0 cos 2 0 pi i 32 62 5 MHz Segment 3 Data i ceil 2047 0 2047 0 cos 2 0 pi i 16 125 MHz Segment 4 Data i ceil 2047 0 2047 0 cos 2 0 pi i 128 15 625 MHz Segment 5 Data i 2047 Created OV PAD Segment _ 0 Data 8 Segment_0 Data 8 0x3000 Add both Markers to Seg 0 Create Segment 0 SegmentsList Brd1l 0 SegmentNum 0 SegmentsList Brd1l 0 SegmentPtr Segment _0 Data SegmentsList Brdl 0 umPoints 128 SegmentsList Brdl 0 umLoops 0 Loop Count SegmentsList Brd1 0 BeginPadVal 2047 n a SegmentsList Brd1 0 EndingPadVal 2047 n a SegmentsList Brdl 0 TrigEn 0 Trigger for Next Segment SegmentsList Brd1 0 extSegNum 1 Jumps to 1 Create Segment 1 SegmentsList Brdl 1 SegmentNum 1 SegmentsList_Brd1 1 SegmentPtr Segment_1 Data SegmentsList Brdl 1 umPoints 128
4. SegmentsList Brdl 1 umLoops 0 Loop Count SegmentsList Brdl 1 BeginPadVal 2047 n a SegmentsList Brd1 1 EndingPadVal 2047 n a SegmentsList Brdl 1 TrigEn 0 Trigger for Next Segment SegmentsList Brd1 1 extSegNum 2 Jumps to 2 Create Segment 2 SegmentsList Brdl 2 SegmentNum 2 SegmentsList_Brd1 2 SegmentPtr Segment _2 Data Chase Scientific Company techsupport chase2000 com 21 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator SegmentsList Brdl 2 umPoints 128 Ef SegmentsList Brd1 2 umLoops 0 Loop Count SegmentsList Brd1 2 BeginPadVal 2047 n a SegmentsList Brdl 2 EndingPadVal 2047 n a SegmentsList Brdl 2 TrigEn 0 Trigger for Next Segment SegmentsList Brdl 2 extSegNum 3 Jumps to 3 Create Segment 3 SegmentsList Brdl 3 SegmentNum 3 SegmentsList Brdl 3 SegmentPtr Segment_3 Data SegmentsList_Brdl 3 umPoints 128 SegmentsList Brd1 3 umLoops 0 Loop Count SegmentsList Brd1 3 BeginPadVal 2047 n a SegmentsList Brd1 3 EndingPadVal 2047 nla SegmentsList Brdl1 3 TrigEn 0 Trigger for Next Segment SegmentsList Brd1 3 extSegNum 4 Jumps to 4 Create Segment 4 SegmentsList_Brdl 4 SegmentNum 4 SegmentsList Brdl 4 SegmentPtr Segment_4 Data SegmentsList Brdl 4 umPoints 128 Z 7 SegmentsList_Brdl 4 NumLoops 0 Loop Count SegmentsLis
5. h gt include lt stdlib h gt include lt string h gt include lt math h gt include lt memory h gt include da12000_dl164 test h include da12000 dl1164 import h include bits h SS ESSSESSSESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSASI int main void int argc char argv DWORD error 0 DWORD CardNum 1 DWORD TempArray NULL TempArray new DWORD 2097152 128 2097152 1048576 DWORD MemoryDepth 128 1048576 MUST BE MULIPLES OF 64 double pi 3 14159265 DISPLAY BANNER printf NnCHASE SDK Test Application 1 ONn printf Chase Scientific Company 2010 n printf Supporting the DA12000 12 16M PCI Card n n OPEN DA12000 CARD error dal2000_Open CardNum if error 0 printf DA12000 Opened Successfully for CardNum d n n CardNum else printf Device Not Found Code d n n error return error Chase Scientific Company techsupport chase2000 com 24 DA14000 User Manual INITIALIZE BOARD very important da12000 SetTriggerMode CardNum 0 0 dal2000 SetTriggerMode DWORD CardNum BYTE Mode BYTE ExtPol printf dal2000 SetTriggerMode CardNum 0 0 n H H printf gt Initialize Board n n PUT WAVEFORM INTO ARRAY for DWORD i 0 i lt MemoryDepth i TempArray i ceil 2047 5 2047 5 cos 2 pi i 32 printf Creating Sine
6. E NT4 2000 or XP 4 2 Driver Installation IMPORTANT NOTE Most files directories use DA12000 instead of DA14000 because the software has been merged and works for both It may be a little confusing at first but bear with us until we come up with a more generic nomenclature The purpose of the merge is to allow us to manage both products with one code base Since the boards are 95 software identical it makes sense to make improvements to both products at the same time 4 2 1 Windows 98 ME NT4 1 Do not install DA 14000 card at this time 2 UnZip all files into directory C temp da12000 create directories if needed You can move and or copy the files later to a directory of your choice 3 Run da12000_Register_Win98_ME_NT4 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 that it starts up each time the computer is rebooted 4 Power off computer Insert DA14000 card Power up computer 5 When OS asks for Driver File point to da12000_PCLinf 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 DA12000_PCI Both this and WinDriver below should be present WinDriver
7. ES AAA A a 14 4 3 TG Header Pile for DEL callao it adobet 14 4 3 2 Function Call Descriptions USAgC ccccccccscssesesssessesessevseeseeseuseesceseuseescesceeceeeeeeceseeeeesessesseseeaeeaeeseeseseneeeas 16 4 3 2 1 da14000_CountCards x 4 3 2 2 da 14000 Open occitano au EEN E NEPEK EAE EAS da o 4 3 2 3 dal 4000 CloseQinsish atansion e a an a es bea a e e E ea sea 4 3 2 4 da14000 Set lock Not Used lui A EE A eas 17 4 3 2 5 da14000 SetIrieeerMode usa SS did seb PTs 17 4 3 2 6 da414000 SetSoftIriggerd TBD L a Ln ia ita EEE NEE EUERE on Te a TE 18 4 3 2 7 da14000_SetMarkers See notes below unus 18 4 3 2 8 da14000 CreateSmgleSegmenf u sii oE rE ENT AE Westestavlencseucd cdeeetedehgeasjaaneadonceaboed 19 43 29 da 14000 Create Se ments ii e a e a Ee sh sa EE Aa AEREAS e ARANA R QA CAR CRR sedge A apa TENT 19 4 3 2 10 dal4000_Set_Atten ta 22 4 3 2 11 dal4000_UpdateSegmentCmds T FBD al n a a a Sas amu Aa au SE 23 4 4 PROGRAMMING EXAMPLES 2 vi td titi 24 4 4 1 Using Windows 7 64 bit DLLi ecceccccccecsssssvsesseesesesseeseeseuseescceeeececeeesesseesessessessesseesesseeseeseeaseecereneeeesnreseneseas 24 5 MISCELLANEOUS LL iiaciasciadicesssnsscadivessbatescseesccueassscvsveese ceousneesesdeveudacedesesusouessssenesddescoescoanseaessvestestesestsedesSeosee 27 D ECALBRA TON Scio 0200 AS A GB DM Sages ese OE Bee 27 52 MANTANENGE tod lite 27 5 3 CHANGRS CO
8. If you see another driver in place of DA12000_PCI then right click the first device under Jungo and click properties Update the driver by pointing to DA12000_PCL inf You may have to go through a series of menus 4 2 2 Windows 2000 XP 1 Do not install DA 14000 card at this time O Chase Scientific Company techsupport chase2000 com 13 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 2 UnZip all files into directory C temp da12000 create directories if needed You can move and or copy the files later to a directory of your choice 3 Run da12000_Register_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 that it starts up each time the computer is rebooted 4 Power off computer Insert DA12000 card Power up computer 5 When OS asks for Driver File point to da12000_PCLinf 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 DA12000_PCI Both this and WinDriver below should be present WinDriver If you see another driver in place of DA12000_PCI then right click the first device under Jungo and click properties Update the driver by po
9. ORD NumLoops PVOID UserArrayPtr DWORD TrigEn Parameters CardNum 1 lt CardNum lt 4 ChanNum 0x01 0x02 0x04 0x08 for channels 1 2 3 and 4 DA14000 NumPoints 0 lt NumPoints lt MaxMem 128 MUST BE MULTIPLE OF 64 for DA12000 MUST BE MULTIPLE OF 128 for DA14000 NumLoops Set to 0 other values not available 0 Continuous UserArrayPtr Pointer to user array of WORD for WinXP 7 32 and DWORD for Win7 64 TrigEn High enables external trigger must also set dal4000_SetTriggerMode to triggered Return Value None Example da14000 CreateSingleSegment 1 Card Number 1 1 Channel 1 128 128 Words contained 0 Loops continuously UserArrayPointer Pointer to user data DWORD 0 Externa trigger not enabled 4 3 2 9 da14000_ CreateSegments Description Creates any number of segments up to the size of memory Each segment can be programmed for repeat counts up to 16K and can jump to any other segment See below for data structures for creating user segments User must provide the correct array structures and pass a pointer to it along with how many sequencial segments are desired to be used Chase Scientific Company techsupport chase2000 com 19 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator After creating a complete waveform the user must call SetTriggerMode to turn on off output waveforms We also highly r
10. ORD NumSegments PVOID PtrToSegmentsList dal2000 UpdateSegmentCmds CardNum ChanNum NumSegments PtrToSegmentsList endif Chase Scientific Company techsupport chase2000 com 15 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 4 3 2 Function Call Descriptions Usage 4 3 2 1 da14000_CountCards Description Returns number of DA 14000 cards present on computer Declaration DWORD da14000 CountCards void Parameters none Return Value Returns with an encoded value which represents the number of DA14000 Return Values 1 4 Number of DA14000 boards detected 0 Indicates that no boards were found but that drivers are working properly 13 Software drivers are not installed properly working correctly 13 Example DWORD Num da14000 Boards dal4000 Open 0x3 4 3 2 2 da14000_Open Description Loads the DA14000 software drivers and sets the DA14000 board to its default state Declaration DWORD dal4000 Open 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 DA14000 Card Found Successfully 1 Opened Windriver Successfully but NO DA14000 CARDS FOUND 2 Opened Windriver Successfully Card found but unable to open 3 Opened Windriver Successfully Board already open 6 Card number exceeds number
11. RRECTIONS TO THIS MANUA Lis 223c0ssssessscsdevcerecevudiesseivedbaccesesentedcnilsssudhiaveroabvsiccaveusedvesedecdocseveeccesudesasecsevsbotied 27 Chase Scientific Company techsupport chase2000 com 2 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator ILLUSTRATIONS TABLES FIGURE 1 BLOCK DIAGRAM cccccctsssscersssseccsssccessssseesssssesssssssssscesssssssssscssonsssssonsssssonssssonsssesssscessosessssesseees FIGURE 2 BOARD LAYOUT cccsscsssssscscsssccssesscesssssccsssssvessssssssssssesssessessssessssssesssessossssssensssecssesenscssessssseoees da14000_manual odt was created on 7 11 10 and last modified on 6 28 2012 Chase Scientific Company techsupport chase2000 com 3 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 1 GENERAL INFORMATION 1 1 Introduction The DA14000 is a 1 Channel 12 bit 4 0 GigaSample sec Arbitrary Waveform Generator on a single short sized PCI card It comes standard with following general features Standard Internal Fixed Clock at 4 0 GSPS external at 4 0 GHz 2 0 GHz 1 0 Ghz 500 MHz 1 Channel Analog Output 12 bit Vertical Resolution 2 TTL Output Marker Programmable Segment Size from 128 Data Words to full memory Programmable Number of Segments up to 32K External AC clock and External TTL ECL trigger input The analog output consist of 1 50 ohm SMA output AC Coupled To provide maximum flexibilt
12. TrigEn IMPORT void dal2000 CreateSegments DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList IMPORT void dal2000 UpdateSegmentCmds DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList SERA a aaa a AS a a O AE USER ROUTINES DA14000 calls really calls to same DA12000 DLL NDA a A ee O O ROS void da14000 CountCards return dal2000 CountCards void dal4000 Open DWORD CardNum return dal2000_Open CardNum void dal4000 Close DWORD CardNum return dal2000 Close CardNum void dal4000 SetClock DWORD CardNum DWORD Frequency da12000_SetClock CardNum Frequency void dal4000 SetTriggerMode DWORD CardNum BYTE Mode BYTE ExtPol dal2000_SetTriggerMode CardNum Mode ExtPol void dal4000 SetSoftTrigger DWORD CardNum dal12000_SetSoftTrigger CardNum void dal4000 SetOffset DWORD CardNum DWORD ChanNum int Mode int Offset da12000_SetOffset CardNum ChanNum Mode Offset void dal4000 CreateSingleSegment DWORD CardNum DWORD ChanNum DWORD NumPoints DWORD NumLoops PVOID UserArrayPtr DWORD TrigEn dal2000_CreateSingleSegment CardNum ChanNum NumPoints NumLoops UserArrayPtr TrigEn void dal4000 CreateSegments DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList dal12000_CreateSegments CardNum ChanNum NumSegments PtrToSegmentsList void dal4000 UpdateSegmentCmds DWORD CardNum DWORD ChanNum DW
13. User Manual for DA14000 12 4M PCI DA14000 12 16M PCI 1 Channel 4 0 GSPS 12 Bit PCI Arbitrary Waveform Generator Card Last Modified 6 28 2012 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 Copyright 2010 2011 2012 by Chase Scientific Company This manual the DA14000 card 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 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator TABLE OF CONTENTS 1 GENERAL INFORMATION ccccscicscecccvoccoscccesescsreccecccscessssssves vvseccssoscescsce cscesescctescscestsecssosssescescsccvacsevcescescccidesisvsvcevssees 4 J INTRODUCTION S Zuna ola sn AA AAA AS BREN a REN BENE VAOR AA EUR BIRR 4 162 IREFERENCES E E AA EA A A e OUT RA N u OAS Rie AEs eR 4 L DETIVERABLES a P BOSS AS PAS E eh EEE A A MERE EAE 5 DILO WE dd u hs a a k eras dl ec A EEE a 5 13D TA QV MW AY AA E St h u O 5 T 3 3 CGReekhsSta sua p a bua SE Q Sa ma S ned ea cao ola Miah Soa 2 tate u w m au Su doe N Coac ug 5 1 4 PRODUCT SPECIFICATION nt lali ltda att 5 TL SPORTIONE SUMMARY A 002 A Tis aap 0 222 Saku td ia 7 1 6 TECHNICAL SUPPORT SOFTWARE UPDATES csccccesscccesscecessceccesceccssssccesseecen
14. aan JPY bis Aout Wen x Ta ue Mark1 Ra S a 3 Mark2 ue Fal HE ut kal m qu V 811 814 Bay 037 Figure 2 Board Layout O Chase Scientific Company techsupport chase2000 com 10 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 2 4 External Clock Jumper Configurations U70 ext int clock select Orientation for shunt is top to bottom Left position uses internal clock while right position uses external clock U34 phase adjust Orientation for shunt is left to right Default position position performed at factory is for 4 0 GHz operation only Other frequencies may require different selections The purpose of this adjustment is to place the SRAM data in the center of the internal D A clock 2 5 PCI Memory Allocation DA14000 on board memory is mapped automatically when a PCI 2 1 or newer motherboard powers up If the DA14000 has 4 MegaSamples of memory then the motherboard will allocate 8 Megabytes of memory Once installed the DA14000 software drivers will find the board or boards without the user changing any jumpers or worrying about addressing Chase Scientific Company techsupport chase2000 com 11 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 3 THEORY OF OPERATION 3 1 Introduction Although the DA14000 is primarily comprised of a Segment Sequencer or memory manager and a 4 1 High Speed Multiplexor it s how the software int
15. 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 8 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 2 HARDWARE DESCRIPTION 2 1 Introduction The DA14000 hardware consists of the following major connections 1 Normal 4 0Gigasamples second 12 bit analog output SMA 1 PECL Sinewave Clock Input 500MHz 1 0 GHz 2 0 GHz 4 0 GHz ONLY AC coupled 1 TTL Trigger input SMA 2 TTL Outputs Markers SMA 2 2 Block Diagram Temporary Placeholder SMA 1 gt Ext Clock Input 12 BIT 2 0 GHz 1 Analog Outputs D A CONVERTER ACIDC Coupled SMA 2 gt Ext Trigger Input 600mVpp SE 4 MEG Memory 2 0 GHz Master 16 MEG opt Clock Generator t MEMORY CLOCK 2 TTL MARKET CONTROLLER CONTROLLER OUTPUTS SEQUENCER GLUE LOGIC PCI TARGET INTERFACE CONTROLLER Figure 1 Block Diagram Temporary Placeholder Chase Scientific Company techsupport chase2000 com 9 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 2 3 Board Drawing ME E Take A O CHASE SCIENTIFIC COMPANY TUTTE TTT TEE G amp 12000 12 4M PC Clk In 75 L E wmn inanin DA12000 12 18M PU 46 BB ich E 04 22 2010 Uu Trig In 2 RA VOLOC LOIRE
16. ecommend using 128 sample pad e g value 2048 at beginning and end of waveform to give the cleanest start stop waveforms Declaration void dal4000 CreateSegments DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList Parameters CardNum 1 lt CardNum lt 4 ChanNum 0x01 only valid number NumSegments Number of segment structures see below which user has defined and wants to use PtrToSegmentsList Pointer to user array with each element with structure defined as shown below typedef struct DWORD SegmentNum Current Segment Number PVOID SegmentPtr Pointer to current user segment elements of one dimensional array must be of type WORD for WinXP 7 32 and DWORD for Win7 64 DWORD umPoints Number of points in segment MUST BE MULTIPLE OF 64 for DA12000 J MUST BE MULTIPLE OF 128 for DA14000 DWORD umLoops Number of extra times to repeat current segment DWORD BeginPadVal Reserved for future use DWORD EndingPadVal Reserved for future use DWORD TrigEn If gt O then wait for trigger before going to next segment DWORD extSegNum Next segment to jump to after completion of current segment activities SegmentStruct Note that a segment is determined to be a triggered segment by the previous segment So setting Segment 5 as triggered will stop the sequence after Segment 5 has executed and
17. ents for more information on multi segment functioning ExtPol Not Used at time manual was written updated Return Value none Example dal4000 SetTriggerMode 1 2 0 First segment will wait for trigger before running 4 3 2 6 da14000_SetSoftTrigger TBD Description Emulates external triggering in software Since this fuction actually toggles polarity of external input signal it is ORed with external signal Declaration void dal4000 SetSoftTrigger DWORD CardNum Parameters none Return Value none Example da14000 SetSoftTrigger 1 Initiates software trigger on Card Number 1 4 3 2 7 da14000_SetMarkers See notes below Description This function is not used Add 1 to waveform data BIT12 for Marker 1 BIT13 for Marker 2 Use modulo 4 for DA12000 and modulo 8 for DA14000 Chase Scientific Company techsupport chase2000 com 18 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 4 3 2 8 da14000_CreateSingleSegment Description Creates a single segment in memory The user determines the size of the array and whether the segment is started automatically or waits for an external input trigger After creating a single segment waveform the user must call SetTriggerMode to turn on off output waveforms See da14000_CreateSegments for generating multipled segments Declaration void dal4000 CreateSingleSegment DWORD CardNum DWORD ChanNum DWORD NumPoints DW
18. er Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator define IMPORT extern C declspec dllimport DA12000 prototypes IMPORT DWORD dal2000 CountCards void IMPORT DWORD dal2000 Open DWORD CardNum IMPORT DWORD dal2000 Close DWORD CardNum IMPORT void dal2000 SetClock DWORD CardNum DWORD Frequency T IMPORT void dal2000 SetTriggerMode DWORD CardNum BYTE Mode BYTE ExtPol IMPORT void dal2000 SetSoftTrigger DWORD CardNum IMPORT void dal2000 SetOffset DWORD CardNum DWORD ChanNum int Mode int Offset IMPORT void dal2000 CreateSingleSegment DWORD CardNum DWORD ChanNum DWORD NumPoints DWORD NumLoops PVOID UserArrayPtr DWORD TrigEn IMPORT void dal2000 CreateSegments DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID P trToSegmentsList PORT void dal2000 UpdateSegmentCmds DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList da14000 CountCards return dal2000 CountCards dal4000 Open DWORD CardNum return dal2000 Open CardNum da14000 Close DWORD CardNum return dal2000 Close CardNum da14000 SetClock DWORD CardNum DWORD Frequency dal2000 SetClock CardNum Frequency return 0 void dal4 ExtPol da120 00_SetTriggerMode DWORD CardNum BYTE Mode BYT O SetTriggerMode CardNum Mode ExtPol OO void dal4 da120 00 _SetSoftTrigger DWORD CardNum
19. eracts with the hardware that makes it work The following sections should provide enough operational theory for better understanding when using the software drivers 3 2 Downloading and Outputting User Data to the DA14000 The DA14000 QDR2 SRAM memory IC s contain the user s waveform data while the special command codes that run the Segment Sequencer are stored in separate SRAM The Segment Sequencer reads these codes to determine where and when to jump to another segment how many times to loop when to wait for a trigger and when to shut down This is the heart of the DA14000 memory management Downloading a Single User Waveform single segment into memory is performed by simply calling dal4000_CreateSingleSegment DWORD CardNum DWORD NumPoints DWORD NumLoops PVOID UserArrayPtr DWORD TrigEn The user must be sure to pass the size of the waveform VumPoints the number of times to repeat the waveform NumLoops a pointer variable pointing to the user array containing the data UserArrayPtr and finally whether the segment will be self triggered or triggered by an external signal TrigEn Downloading Multiple Linked Waveform Segments is performed by calling dal4000_CreateSegments DWORD CardNum DWORD NumSegments PVOID PtrToSegmentsList This function call requires the user to create a structure containing all the critical information on the segments that the user wants to download The actual structure for each segment looks like
20. inting to DA12000_PCI You may have to go through a series of menus 4 2 3 Windows Vista Windows 7 Assumption First time install First install the board then when it asks you for the driver location just point to the SIPLXWDF inf file It may take up to 20 seconds or so Please note that you must have administrative privileges to do this Also to run a program on Win7 which accesses hardware you will have to assign administrative privileges to the executable file right click Please refer all questions to techsupport chase2000 com 4 3 Function Calls 4 3 1 C Header File for DLL ifndef dal2000_d1164 importH define dal2000_d1164 importH a aa a a a a a J Pasai c USER ROUTINES Chase Scientific Company techsupport chase2000 com 14 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator define IMPORT extern C _ declspec dllimport DA12000 prototypes IMPORT DWORD dal2000 CountCards void IMPORT DWORD dal2000 Open DWORD CardNum IMPORT DWORD dal2000_ Close DWORD CardNum IMPORT void dal2000 SetClock DWORD CardNum DWORD Frequency IMPORT void dal2000 SetTriggerMode DWORD CardNum BYTE Mode BYTE ExtPol IMPORT void dal2000 SetSoftTrigger DWORD CardNum IMPORT void dal2000 SetOffset DWORD CardNum DWORD ChanNum int Mode int Offset IMPORT void dal2000 CreateSingleSegment DWORD CardNum DWORD ChanNum DWORD NumPoints DWORD NumLoops PVOID UserArrayPtr DWORD
21. n n a Parameters n a Return Value none Example n a 4 3 2 5 da14000_SetTriggerMode Description Sets triggerring modes This command should be called using mode 0 just after the driver is opened to initialize internal hardware registers before calling any other routines This function also selects whether board is in triggered mode or not and polarity of external TTL triggered signal Declaration void dal4000 SetTriggerMode DWORD CardNum BYTE Mode BYTE ExtPol Chase Scientific Company techsupport chase2000 com 17 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator Parameters CardNum 1 lt CardNum lt 4 Mode 0 Shuts down all output operations Asychronously resets RAM address counter and repeat counters to zero 1 Used for starting single segment operation for segment created with dal4000_CreateSingleSegment Repeats indefinitely until mode set back to 0 External or soft trigger has no effect in this mode Also works for dal4000_CreateSegments but any segments specified as triggered will immediately jump to next segment no trigger required 2 Sets up first segment for external or soft trigger mode Individual segment s created as triggered will wait until external or soft trigger has occurred If segment was created not to be triggered then segment will follow previous segment in a continous fashion no trigger needed See dal4000_CreateSegm
22. nual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator Internal Clock Rate Frequency Range 4 0 GHz Fixed Resolution N A Stability T 0 C 70 C 120 ppm Memory Waveform Size Standard 4 MWords 16 MWords x 12 bits 4M PCI 16M PCI of User Segments 1 to 16K segments Segment Size Range 128 Samples up to total memory in 128 Sample increments Digital Outputs 2 TTL Markers Fclk 4 resolution Digital Inputs External Clk input 50 ohm SMA input AC coupled Can only use the following frequencies 4 0 GHz 2 0 Ghz 1 0 GHz and 500 MHz Adjust jumpers U34 as needed TTL Trigger input Used to initiate any memory segment programmed for that purpose ENVIRONMENTAL Temperature Operating 0 to 70 degrees C standard Non Operating 40 to 85 degrees C extended Humidity 5 to 95 non condensing Operating 20 to 80 Non Operating 5 to 95 Power 5V TBD 3 3V TBD 12V TBD 12V N A DA14000 1 Short PCI Card Chase Scientific Company techsupport chase2000 com 6 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 1 5 Option Summary OPTION SUMMARY TBD TBD 1 6 Technical Support Software Updates For technical support Email techsupport chase2000 com Phone 360 221 8455 Fax 360 221 8457 Mail Chase Scientific Company P O Box 1487 Langley WA 98260
23. of cards 13 FAILED TO OPEN Windriver Kernel Driver Example DWORD OpenErrorCode dal4000 Open 1 Opens Board Number 1 and stores value Chase Scientific Company techsupport chase2000 com 16 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 4 3 2 3 da14000_Close Description Closes DA14000 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 which calls windrv xxx If the user is loading the windrv xxx dynamically during run time then they should close before unloading the driver Declaration DWORD da14000 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 DA14000 card requested 5 DA14000 Card Already Closed for card requested 13 FAILED TO ACCESS Windriver Kernel Driver Example DWORD CloseErrorCode dal4000 Close 1 4 3 2 4 da14000_SetClock Not Used Description Sets the Digital to Analog converter clock rate This function does nothing placeholder at this time on the DA14000 The card is fixed at 4 0 GSPS There are jumpers on the PCB to allow for external clock features see section 2 4 Declaratio
24. rs Windrvr6 sys for Windows 98 ME NT4 2000 XP and SIPLXWDF sys for Windows 7 32 64 bit 1 3 2 Hardware The DA14000 hardware consists of a single short PCI compliant card The card is shipped with this manual which includes complete hardware and software descriptions 1 3 3 Checklist Item Qty Part Number Description 1 1 DA14000 12 1M PCI 4 0 GSPS Arbitrary Waveform Generator short PCI card 2 1 DA14000 Drivers Optional Mini CDR with Dynamic Link Libraries for Windows 95 98 ME NT4 2000 XP Vista 7 Includes examples and manual Otherwise download from web site at www chase2000 com 1 4 Product Specification all specifications are at 25 C unless otherwise specified SPECIFICATIONS Parameter Conditions Typical Values unless otherwise indicated Analog Outputs Number of Outputs 1 50 ohm SMA outputs Output Coupling AC coupling through 0 1uF capacitor 50 ohm source impedance Vertical Resolution 12 bits 1 part in 4096 Amplitude 4 0 GS s 0 6Vpp 3 typical single ended into 50 ohms Rise Time 20 to 80 No Filters 160 psec typical into 50 ohms Fall Time 80 to 20 No Filters 160 psec typical into 50 ohms Clock Jitter 4 0 GS sec Less than 10 psec RMS at 4 GHz Trigger Delay 4 0 GS sec TBD SFDR Fout lt 1 3 GHz 4 0 GS sec gt 40 dB Typical for full scale carrier Chase Scientific Company techsupport chase2000 com 5 DA14000 User Ma
25. ry for maintainance and or extended warranty information 5 3 Changes Corrections to this manual Date Description 07 11 2010 First release 08 10 2010 Updated various references to UserArrayPtr such that Pointer points to user array of DWORD Previously was WORD 12 18 2011 Updated dal4000_CreateSegments with better definitions and example Trademarks MS DOS Windows 3 1 Windows 95 Windows 98 Windows ME Windows NT Windows 2000 Windows XP Windows Vista and Windows 7 are registered trademarks of Microsoft Corporation Chase Scientific Company techsupport chase2000 com 27
26. seecesssscessseecesseecesssecesseecenseseessesseeceesensnnaneeess 7 DF WARRANTY 5 A Goes Rese A di NR RR RS 8 2 HARDWARE DESCRIPTO Novi AAA G au Was AAA AI 9 DD INTRODUCTION A A A tada S aE T NA 9 2 2 Brock DIAGRAM TEMPORARY PLACEHOLDER A e A A IRD IBIS 9 23 BOARD DRAWING ARPES EE EE BP AE A A SE ias 10 224 EXTERNAL GLOCK JUMPER CONFIGURATIONS u azyasli ysi a qaya ve dstenaeteeseventeticctuceseeieeoesed ett aauntsavste tes 11 275 PGI MEMORY ALLOCATION aa nre aeeoa AAAA ESERLAR IS a T e EO eA e E AIE AAEN AE a aa raanda iein 11 3 THEORY OF OPERA TION sesssssicssestaccvcsscentecessasencexss steaseatessasaseocaseveasseuds socssnsubavebcssesestassasaseguassvessoswacseuesoses sosseaceasteaes 12 cI INTRODUCTION 0552 2 se usec secre cosa A 20420 VP R AAA k ea As Ee eRe 25 E 12 3 2 DOWNLOADING AND OUTPUTTING USER DATA TO THE DA14000O ooccnnncococnconononananocononnnnnonononnnnnnoconnnnnnnonononnnnnnncconanannnncconns 12 4 SOFIWARE DRIVERS iiss cschsvcccsctcssessaccvesestedcasesenseeucsessstaavecssdssunstavevescuseunsesdesdvetessseevececdessessesl vessebetentcessesnescadesesesesens 12 4 V INTRODUCTION aayqa 223 90 A A A A AA E E RRA EB e q A 12 AZ DRIVER INSTALLATION 2 22 AS Bees A E ua S A Aen GALA ES ha EEE 13 AZ TD WINDOWS OSTEME INIA Adios dd ida Sus BE D dde dls AS usia 13 4 DD Wind OWS 2000 FAP stn t a akush aka NAM a bt Ab thd AUEI bes aoe kuma De Nom 2A Add ete LL da as A 13 4 2 WindOws Vista Z Windo WS o ok 14 ASS HUNCTION CA
27. sertion loss Chase Scientific Company techsupport chase2000 com 22 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator Declaration void dal4000 Set _Atten DWORD CardNum DWORD ChanNum DWORD Atten Value Parameters CardNum 1 lt CardNum lt 4 ChanNum 0x01 0x02 for channels 1 2 DA14000 Atten Value 0 lt 63 Return Value none Example da14000 Set Atten 1 3 30 Sets Channel 1 Card 1 to 15dB attenuation 4 3 2 11 da14000_UpdateSegmentCmds TBD Description This function call works that same as da14000_CreateSegments except that it does not download the data from system memory to card memory Only the sequence commands are are downloaded to the card s memory This saves time when the user wants to change the order of the segments because the segment data does not have to be updated The micro commands tell the memory sequencer how many times to loop when to jump etc Declaration void dal4000 UpdateSegmentCmds DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList Parameters CardNum 1 lt CardNum lt 4 ChanNum 1 lt CardNum lt 4 NumSegments Number of segment structures see below which user has defined and wants to use PtrToSegmentsList Pointer to user array with each element with structure defined as shown below typedef struct DWORD SegmentNum Current Segment Number PVOID SegmentPtr Pointer
28. t _Brdl 4 BeginPadVal 2047 n a SegmentsList_Brdl 4 EndingPadVal 2047 n a SegmentsList_Brdl 4 TrigEn 0 Trigger for Next Segment SegmentsList Brdl 4 extSegNum 5 Jumps to 5 Create Segment 5 SegmentsList_Brd1 5 SegmentNum 5 SegmentsList_Brd1 5 SegmentPtr Segment_5 Data Segmentslist Brdl 5 umPoints 128 SegmentsList Brd1 5 umLoops 0 Loop Count SegmentsList Brd1 5 BeginPadVal 2047 n a SegmentsList Brdl 5 EndingPadVal 2047 n a SegmentsList _Brdl 5 TrigEn 1 Trigger for Next Segment SegmentsList Brdl 5 extSegNum 0 Jumps back to 0 H H H H H H H H SPECIAL TESTING _ INITIALIZE BRD 1 dal2000 Open 1 dal2000 SetTriggerMode 1 0 0 da12000 SetClock 1 100000000 DOWNLOAD BRD 1 AND ENABLE dal2000 CreateSegments DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList dal2000 CreateSegments 1 1 6 SegmentsList_ Brdl Lf da12000_SetTriggerMode DWORD CardNum BYTE Mode BYTE ExtPol da12000_SetTriggerMode 1 2 0 START OUTPUT 1 da12000_SetTriggerMode 1 0 0 STOP OUTPUT 1 4 3 2 10 da14000_Set_Atten TBD Description This function call sets the amount of attenuation of the selected channel The step size is 0 5dB Typical insertion loss is 1 3dB Only the first 6 bits of the Atten_Value are used making the maximum amount of attenuation of 31 5dB in
29. the following typedef struct DWORD SegmentNum Current Segment Number PVOID SegmentPtr Pointer to current user segment gt elements of one dimensional array must be of type DWORD DWORD NumPoints Number of points in segment must be multiple of 128 DWORD NumLoops Number of times to repeat segment applies to next segment DWORD BeginPadVal Reserved for future use DWORD EndingPadVal Reserved for future use DWORD TrigEn Tf gt 0 then wait for trigger before going to next segment DWORD NextSegNum Next segment to Jump to after completion of current segment activities SegmentStruct The user must create an array of these segments and pass the pointer PtrToSegmentsList to the function call After the appropriate waveform data has been downloaded to the DA14000 da14000_SetTriggerMode is enabled and the output begins 4 SOFTWARE DRIVERS 4 1 Introduction O Chase Scientific Company techsupport chase2000 com 12 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator Our primary objective in designing software drivers is to get the user up and running as quickly as possible While the details on individual function calls are listed in sections 4 3 x the programming examples in section 4 4 x will show you how to include them into your programs Please note that function calls are the same whether you are calling them under Windows 98 M
30. to current user segment gt elements of one dimensional array must ZZ be of type DWORD DWORD umPoints Number of points in segment DWORD umLoops Number of times to repeat segment applies to next segment DWORD BeginPadVal Reserved for future use DWORD EndingPadVal Reserved for future use DWORD TrigEn Tf gt 0 then wait for trigger before going to next segment DWORD extSegNum Next segment to Jump to after completion of current segment activities SegmentStruct O Chase Scientific Company techsupport chase2000 com 23 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator Note that a segment is determined to be a triggered segment by the previous segment So setting Segment 5 as triggered will stop the sequence after Segment 5 has executed and will wait for trigger event before NextSegNum is started The first segment is a special case and is determined by default as a triggered type if SetTriggerMode is set to mode 2 The user in this case may use an external trigger or a soft trigger to initiate the output process Return Value none Example See da14000_CreateSegments above for example 4 4 Programming Examples 4 4 1 Using Windows 7 64 bit DLL Example Program USER EXAMPLE PROGRAM MAKES CALLS TO DA12000 DLL64 d11 include lt windows h gt include lt winioctl h gt include lt stdio
31. wave in TempArray n n Add Marker if desired BEFORE waveform is uploaded TempArray 4 TempArray 4 BIT12 BIT13 DA12000 TempArray 8 TempArray 8 BIT12 BIT13 DA14000 CREATE SINGLE SEGMENT WITH INFINITE LOOP UPLOADS DATA TO CARD dal2000 CreateSingleSegment 1 1 MemoryDepth 0 TempArray 0 printf dal2000 CreateSingleSegment 1 1 MemoryDepth 0 TempArray 0 n printf gt Upload Waveform Data in Single Segment Mode n n OUTPUT DATA dal2000 SetTriggerMode CardNum 1 0 printf dal2000 SetTriggerMode CardNum 1 0 n printf gt Outputing Waveform n n WAIT FOR KEY HIT printf Hit Key to Exit n n getchar SHUT DOWN OUTPUT remove to shut down dal2000 SetTriggerMode CardNum 0 0 printf dal2000 SetTriggerMode CardNum 0 0 n printf Waveform Output Shut OFF n n CardNum CLOSE DRIVER da12000_ Close CardNum Closes brd CardNum printf DA12000 Closed for CardNum d n n CardNum delete TempArray TempArray NULL WAIT FOR KEY HIT printf Hit Key to Exit n n getchar return 0 Header File for Reference ifndef dal2000 d1164 importH define dal2000 d1164 importH a a a E aaa a a ao EE Chase Scientific Company techsupport chase2000 com 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 25 DA14000 Us
32. will wait for trigger event before NextSegNum is started The first segment is a special case and is determined by default as a triggered type if SetTriggerMode is set to mode 2 The user in this case may use an external trigger or a soft trigger to initiate the output process Return Value none Example 4 Segments Data and beginning ending Pad Segments Multiple Segment Structure typedef struct Creates Type instead of variable DWORD SegmentNum Current Segment Number PVOID SegmentPtr Pointer to current user segment Elements of one diminsional array must be type WORD for WinXP 7 32 and DWORD for Win7 64 DWORD NumPoints Number of points in segment Chase Scientific Company techsupport chase2000 com 20 DA14000 User Manual DWORD umLoops DWORD BeginPadVal DWORD EndingPadVal DWORD TrigEn DWORD extSegNum SegmentStruct ki dal2000 SetTriggerMode 1 0 Ly 1 Z LL TL Z Z Ed TL Z Z 0 BOARD NUMBER 1 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator Number of loops desired before going to next segment Pad value for beginning of triggered segment Pad value for ending of triggered segment If gt 0 then wait for trigger before going to next segment Next segment to jump to after completion of current segment activities 0OxFFFF causes shutdown Initialize Create Array for SegmentsList
33. y and performance to the user the outputs come unfiltered An appropriate low pass filter is generally added in line for a particular application and can be bought from companies like Mini Circuits or can be ordered and or custom made directly from Chase Scientific The DA14000 has TTL ECL input triggering capability that allows a segment or segments of data to be output only after a trigger is present 1 2 References PCI Local Bus Specification Rev 2 1 June 1 1995 For more information on this document contact PCI Special Interest Group P O Box 14070 Portland OR 97214 Phone 503 619 0569 FAX 503 644 6708 http www pcisig com O Chase Scientific Company techsupport chase2000 com 4 DA14000 User Manual 1 Ch 4 0 GSPS PCI Arbitrary Waveform Generator 1 3 Deliverables 1 3 1 Software The DA14000 comes with 32 bit DLL drivers for Windows 98 ME NT4 2000 XP Vista 7 The user can download them from our web site at www chase2000 com Email Chase Scientific for for the latest information on drivers for other operating system platforms such as Linux and 64 bit versions Windows drivers are provided as a Dynamic Link Library DLL which is compatible with most 32 bit and 64 bit windows based development software including Microsoft C C Borland C C and Borland Delphi This DLL uses the cdecl calling convention for maximum compatibility It automatically provides the interface to the low level system drive
Download Pdf Manuals
Related Search
Related Contents
CONDITIONS GENERALES DE VENTE M48 GT User Manual Intelligent GSM/PSTN Auto-Dial Alarm System FCC STATEMENT FR DE Original-Montage- und Betriebsanleitung Original Bosch 2609256B42 ダウンロード - 成長戦略株式会社 Cobra XRS-9745 Manual de usuario v6.0a Copyright © All rights reserved.
Failed to retrieve file