Home
"user manual"
Contents
1. IMPORT void da11000_SetClock DWORD CardNum DWORD Frequency IMPORT void da11000_SetTriggerMode DWORD CardNum BYTE Mode BYTE ExtPol IMPORT void da11000_SetSoftTrigger DWORD CardNum IMPORT void da11000_SetMarkers DWORD CardNum DWORD PointAddr BYTE Nib1 BYTE Nib2 IMPORT void da11000_CreateSingleSegment DWORD CardNum DWORD ChanNum DWORD NumPoints DWORD NumLoops PVOID UserArrayPtr DWORD TrigEn IMPORT void da11000_CreateSegments DWORD CardNum DWORD NumSegments PVOID UserSegmentsPtr IMPORT void da11000_UpdateSegmentCmds DWORD CardNum DWORD NumSegments PVOID PtrToSegmentsList 4 3 2 Function Call Descriptions Usage 4 3 2 1 dall000 CountCards Description Returns number of DA11000 cards present on computer Declaration DWORD dall000 CountCards void Parameters none Return Value Returns with an encoded value which represents the number of DA11000 Return Values 1 4 Numberof DA11000 boards detected 0 Indicates that no boards were found but that drivers are working properly 13 Software drivers are not installed properly Example DWORD Num dall000 Boards dall000 CountCardsf ACOUITEK pr 13 DA11000 User Manual 1 Ch 1GS s PCI Arbitrary Waveform Generator 4 3 2 2 dall000 Open Description Loads the DA11000 software drivers and sets the DA11000 board to its default state Declaration DWORD dal1000 Open DWORD CardNum Parameters CardNum 1 lt CardNum lt 4 Return Value Re
2. DLL which is compatible with most 32 bit windows based development software including Microsoft C C Borland C C Borland Delphi Visual Basic LabVIEW and MATLAB script This DLL uses the cdecl calling convention for maximum compatibility and was made using Borland C Builder It automatically provides the interface to the system drivers Windrvr6 sys for Windows 98 ME NT4 2000 XP A n 4 DA11000 User Manual 1 Ch 1 GS s PCI Arbitrary Waveform Generator 1 3 2 Hardware The DA11000 hardware consists of a single mid sized PCI compliant card The card is shipped with this manual which includes complete hardware and software descriptions 1 3 3 Checklist Part Number Description DA11000 12 4M PCI 1 CH 1GS sec Arbitrary Waveform Generator PCI Or card DA11000 12 16M PCI DA11000 Drivers CD with Dynamic Link Libraries for Windows2K XP Includes standalone demo application and labView driver DA11000 Manual On CD User manual for DA11000 1 4 Product Specification all specifications are at 25 2C unless otherwise specified SPECI FI CATI ONS Parameter Conditions Typical Values unless otherwise indicated Analog Outputs Number of Outputs 1 50 ohm SMA output Output Coupling AC coupling through 50 ohm transformer Vertical Resolution 12 bits 1 part in 4096 Amplitude 1 GS s 0 5Vpp 3 single ended into 50 ohms Rise Time 10
3. Example DWORD CloseErrorCode da11000_Close 1 4 3 2 4 da11000_SetClock Description Sets the Digital to Analog converter clock rate This function does nothing placeholder at this time on the DA11000 The card is fixed at 1 0 GSPS There are jumpers on the PCB to allow for external clock features see section 2 3 Declaration void da11000_SetClock DWORD CardNum DWORD Frequency Parameters CardNum 1 lt CardNum lt 4 Frequency 1000000000 Only one Frequency is allowed Return Value none Example dall000 SetClock 1e9 Sets clock rate to 1 GHz 4 3 2 5 dall000 SetTriggerMode Description Sets triggering 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 da11000_SetTriggerMode DWORD CardNum BYTE Mode BYTE ExtPol A ACQUITEK s W DA11000 User Manual 1 Ch 1GS s PCI Arbitrary Waveform Generator Parameters CardNum 1 lt CardNum lt 4 Mode 0 Shuts down all output operations Asynchronously resets RAM address counter and repeat counters to zero 1 Used for starting single segment operation for segment created with dall000 CreateSingleSegment Repeats indefinitely until mode set back to O External or soft trigger has no effect in this
4. Test File 32 bit Borland C 5 0 II include lt stdio h gt include lt stdlib h gt include lt string h gt include lt math h gt include da11000_dll_import h pragma link da11000_dll_borland lib int main int argc char argv WORD TempArray 1048575 int NumCards O DWORD MemoryDepth 1048576 double pi 3 14159265358979 Check to see if card available NumCards da11000_CountCards Counts number of DA11000 cards OPEN DRIVER if NumCards gt 0 then DWORD OpenErrorCode da11000_Open 1 Opens card 1 else exit 0 Else exits INITIALIZE BOARD da11000_SetTriggerMode 1 0 0 VERY IMPORTANT PUT WAVEFORM INTO ARRAY for DWORD i 0 i lt MemoryDepth i TempArrayli ceil 2047 0 2047 cos 2 pi i 64 CREATE SINGLE SEGMENT WITH INFINITE LOOP da11000_CreateSingleSegment 1 1 MemoryDepth 0 TempArray 0 OUTPUT DATA da11000_SetTriggerMode 1 1 0 Enables out of data on brd 1 SHUT DOWN OUTPUT dal1000_SetTriggerMode 1 0 0 Use this to shut down output on brd 1 CLOSE DRIVER if NumCards gt 0 da11000 Close 1 Closes brd 1 A ACQUITEK 22 i DA11000 User Manual 1 Ch 1 GS s PCI Arbitrary Waveform Generator Header File for Reference ifndef dal 1000 dllH define da11000_dllH define IMPORT extern C __ declspec dllimport IMPORT DWORD da11000_CountCards
5. mode Also works for dall000 CreateSegments but any segments specified as triggered will immediately jump to next segment no trigger reguired and beginning and ending pads will be present in output for these segments 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 continuous fashion no trigger needed See da11000_CreateSegments for more information on multi segment functioning ExtPol 0 Trigger is initiated on RISING edge of TTL waveform 1 Trigger is initiated on FALLING edge of TTL waveform Return Value none Example da11000_SetTriggerMode 2 0 First segment will wait for trigger before running 4 3 2 6 da11000_SetSoftTrigger Description Emulates external triggering in software Since this function actually toggles polarity of external input signal it is ORed with external signal Declaration void dall000 SetSoftTrigger DWORD CardNum Parameters none Return Value none Example da11000 SetSoftTrigger 1 Initiates software trigger on Card Number 1 A ACQUITEK 6 W DA11000 User Manual 1 Ch 1 GS s PCI Arbitrary Waveform Generator 4 3 2 7 da11000_SetMarkers Description Sets up TTL output marker locations relative to waveform memory It is up to the user to place the markers correctl
6. to 90 No Filters 300 pico sec typical into 50 ohms Fall Time 10 to 90 No Filters 300 pico sec typical into 50 ohms Clock Jitter 1 0 GS sec Less than 20 psec RMS at 300MHz Internal Clock Rate Frequency Range 1 0 GHz fixed Stability T 02C 702C 100 ppm Memory Waveform Standard 4M Words x 12 bits or 16M Words of User Segments 1 to 16K segments Segment Size Range 64 Words up to total memory in 64 Word increments Digital Outputs 1 TTL Markers Fclk 4 resolution n 5 U DA11000 User Manual 1 Ch 1GS s PCI Arbitrary Waveform Generator Digital Inputs High Speed Clk input D A rate 50 ohm SMA input Sinewave from OdBm to 6 dBm Can only use the following frequencies 1 0 GHz 500 MHz 250 MHz and 125 MHz See section 2 4 for jumper settings Low Speed Clk input 10 MHz 50 ohm SMA input Sine Square wave from OdBm Reference Only to 10 dBm See section 2 4 for jumper settings 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 5V DC 10 gt 500mA 2 5 Watts Typical using worst case waveform 3 3V 3 3 VDC 10 gt 2 5 Amps 8 4 Watts Typical using worst case waveform 12V 12
7. void IMPORT DWORD da11000_Open DWORD CardNum IMPORT DWORD da11000_Close DWORD CardNum IMPORT void da11000_SetClock DWORD CardNum DWORD Frequency IMPORT void da11000_SetTriggerMode DWORD CardNum BYTE Mode BYTE ExtPol IMPORT void da11000_SetSoftTrigger DWORD CardNum IMPORT void da11000_SetMarkers DWORD CardNum DWORD PointAddr BYTE Nib1 BYTE Nib2 IMPORT void da11000_CreateSingleSegment DWORD CardNum DWORD ChanNum DWORD NumPoints DWORD NumLoops PVOID UserArrayPtr DWORD TrigEn IMPORT void da11000_CreateSegments DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList IMPORT void da11000_UpdateSegmentCmds DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList endif A ACQUITEK 23 W DA11000 User Manual 1 Ch 1GS s PCI Arbitrary Waveform Generator 5 MISCELLANEOUS 5 1 Calibration The DA11000 has no user feature to calibrate The gains and offsets are calibrated at the factory to be within specifications at 252C and nominal voltages 5 2 Maintenance No maintenance is required However a yearly calibration is recommended if the user desires to maintain the DA11000 specified accuracy Call factory for maintenance and or extended warranty information Trademarks MS DOS Windows 3 1 Windows 95 Windows NT and Windows XP are registered trademarks of Microsoft Corporation A ACQUITEK 24 JU
8. 32K External TTL clock and External TTL trigger input The outputs consist of 1 50 ohm SMA output To provide maximum flexibility and performance to the user the output comes unfiltered although the output buffer BW is gt 300 MHz at full scale 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 Acquitek The DA11000 has TTL input triggering capability that allows a segment or segments of data to be output only after a trigger is present Gating is also available which will start and stop the data from being output on high or low TTL levels respectively An external TTL clock input allows the use of precision clock sources such and also for synchronizing multiple cards to a master clock 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 800 433 5177 U S 503 797 4207 International FAX 503 234 6762 oe 3 U DA11000 User Manual 1 Ch 1GS s PCI Arbitrary Waveform Generator 1 3 Deliverables 1 3 1 Software The DA11000 comes with DLL drivers for Windows 2000 XP Software comes on a CD Call Acquitek for the latest information on drivers for other operating system platforms Windows 2K XP software drivers are provided as a Dynamic Link Library
9. DA11000 4M DA11000 16M 1 Channel 1 GS s 12 Bit PCI Bus Arbitrary Waveform Generator Card User Manual February 2008 Information in this document is subject to change without notice Copyright 2004 Acquitek SAS All rights reserved ACQUITEK WW Acquitek is a trademark of Acquitek SAS Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or their products Acquitek disclaims any proprietary interest in trademarks and trade names other than its own Acquitek makes no warranty of any kind with regard to this material including but not limited to the implied warranties of merchantability and fitness for a particular purpose Acquitek shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing performance or use of this manual Acquitek SAS 1 bis Rue Marcel Paul 91300 Massy France Email support acquitek com Web http www acquitek com DA11000 User Manual 1 Ch 1GS s PCI Arbitrary Waveform Generator TABLE OF CONTENTS 1 GENERAL I NFORMATIDON cccsccssscssscssssssscsscsscesscesccesscescessccssccecsenssenssenseasseascestcescesscesscesscescseness 3 Ved INTERNET 3 1 2 REFERENCES a 3 1 31 DELIVERABLES 2 A A oie 4 1 3 1 SoftwWare ns n ne Leen ee tittet knee an anna aa enaa nc nn a SEEEN ESEE EESE anna naaa aaa 4 1 3 2 Hardware Ann An AAA ras N
10. E MULTIPLE OF 64 DWORD NumLoops Number of times to repeat segment applies to next segment DWORD BeginPadVal Pad value for beginning of triggered segment DWORD EndingPadVal Pad value for ending of triggered segment DWORD TrigEn 1f gt O then wait for trigger before going to next segment DWORD NextSegNum 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 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 A ACQUITEK 9 W DA11000 User Manual 1 Ch 1GS s PCI Arbitrary Waveform Generator Create Array for SegmentList and Segments SegmentStruct SegmentsList 2 WORD Segment0_Data 64 WORD Segmentl_Data 641 Create Segment 1 for i 0 i lt 64 i Segment0_Datal i ceil 2047 0 2047 cos 2 pi i 32 SegmentsList 0 SegmentNum SegmentsList 0 SegmentPtr SegmentsList 0 NumPoints SegmentsList 0 NumLoops SegmentsList 0 BeginPadVal Segments_List 0 EndingPadVal Segmen
11. SegmentNum Current Segment Number PVOID SegmentPtr Pointer to current user segment gt elements of one diminsional array must be of type WORD DWORD NumPoints Number of points in segment DWORD NumLoops Number of times to repeat segment applies to next segment DWORD BeginPadVal Pad value for beginning of triggered segment DWORD EndingPadVal Pad value for ending of triggered segment DWORD TrigEn If gt O then wait for trigger before going to next segment DWORD NextSegNum Next segment to jump to after completion of current segment ativities SegmentStruct A ACQUITEK 11 i DA11000 User Manual 1 Ch 1GS s PCI Arbitrary Waveform Generator 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 DA11000 da11000 SetTriggerMode is enabled and the output begins 4 SOFTWARE DRI VERS 4 1 Introduction 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 2 xx the programming examples in section 4 3 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 95 98 NT 2k or XP 4 2 Driver Installation Windows 2000 XP Be aware that we use the same driver
12. VDC 10 gt 216mA 2 6 Watts Typical using worst case waveform 12V 12 VDC 10 gt 100mA 1 2 Watts Typical using worst case waveform Size DA11000 12 4M PCI 1 Mid Sized PCI Card A n 6 U DA11000 User Manual 1 Ch 1 GS s PCI Arbitrary Waveform Generator 1 5 Option Summary OPTI ON SUMMARY Option Name Description Option 3 Linux Driver 1 6 Technical Support Software Updates For technical support Phone 33 1 60 13 52 73 Fax 33 1 6013 03 68 Email support acquitek com Mail Acquitek 1 bis rue Marcel Paul 91300 Massy France For software updates Email support acquitek com Web http www acguitek com ne 7 I DA11000 User Manual 1 Ch 1GS s PCI Arbitrary Waveform Generator 1 7 Warranty Acquitek warrants to the original purchaser that it s DA11000 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 Acquitek will without charge repair or replace at its option defective or component parts upon delivery to Acquitek service department within the warranty period accompanied by proof of purchase date in the form of a sales receipt EXCLUSI ONS 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 remov
13. dall000 Open JININ 14 4 3 2 3 AATT00O Close nn nn ann avanne rana EUKON KENIASSA ERE ENAA VAHAT 14 4 3 2 4 da11000 SetClock cin 15 4 3 2 5 da11000 SetTriggerModel P nan A AA ASA A ii 15 4 3 2 6 da11000 SetSoftTrigger nn nn nn An mmm ena E ada 16 4 3 2 7 dall000 SetMarkersli a ene a enaa e eee e ee a a ee a a ananas 17 4 3 2 8 dall000 CreateSingleSegment mee tn e eee nana a ene eee a a aneeeee 18 4 3 2 9 dall000 CreateSegments m n mn nee nene a an nee eee ea ana enaa eee a aate eaeee 19 4 3 2 10 dall1000 UpdateSegmentCmds nene e e ee nananana e eee e a a a a eaa 21 4 4 PROGRAMMING EXAMPLES cccccccccscccccscccececssecsseessesssesssesscessceesceascesscesecesscesscsseecsessscessusssessseesseasesecaass 22 5 MISCELLANEOUS enta ansaa vaavin vauvan aa a a dun uuaaaa eu vaunun voaanu Vau kanan vana den a aliran 24 Bil CABRA IAN cac 24 5 2 MAINTENANCE minussa A Ae NA kes AA A en iia n 24 an 2 L DA11000 User Manual 1 Ch 1 GS s PCI Arbitrary Waveform Generator GENERAL INFORMATION 1 1 Introduction The DA11000 is a 1 Channel 12 bit 1 Giga Sample second Arbitrary Waveform Generator on a single mid sized PCI card It comes standard with following general features Standard fixed clock 1 GHz 12 bit Vertical Resolution 1 TTL Output Marker Programmable Segment Size from 64 Words to full memory Programmable Number of Segments up to
14. ed Acquitek 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 NOTI CE Acquitek reserves the right to make changes and or improvements in the product s described in this manual at any time without notice o AH 8 U DA11000 User Manual 1 Ch 1 GS s PCI Arbitrary Waveform Generator HARDWARE DESCRI PTI ON 2 1 Introduction The DA11000 hardware consists of the following major connections e 1 1 Giga Samples second 12 bit analog outputs SMA e PECL Sinewave Clock Input 125MHz 250MHz 500MHz 1 0 GHz ONLY AC coupled 1 TTL Trigger input SMA e 1 TTL Marker output SMA 2 2 Board Drawing E jaf Mn NE tmn 4 W E I 11 TIIMIIN um 135 oF ea arma j MEN MMA LE LIN DA11000 12 4M PC 1 RIY a om 9 I DA11000 User Manual 1 Ch 1GS s PCI Arbitrary Waveform Generator 2 3 External Clock Jumper Configurations JP2 pinout JUMPER 1 JUMPER 2 JUMPER 3 JUMPER 4 Clock Configuration Table Jumper 4 Use 1 0 GHz Internal Clock SHORT OPEN OPEN SHORT locked to internal 10 MHz reference Use External Clock at D A clock rate OPEN SHORT OPEN SHORT Allowable rate
15. ed mode there is a 64 samples of pad at the beginning and end of the segment with a level set at 2047 In non triggered mode the only pad that is visible is the beginning pad when the output is started then repeats data portion indefinitely until reset All segments regardless of whether it s triggered or not have 64 sample pads at the beginning and end of the segments in actual memory but may not be visible depending on whether the segment is triggered or not See da11000_CreateSegments for generating multiple segments Declaration void dall000 CreateSingleSegment DWORD CardNum DWORD ChanNum DWORD NumPoints DWORD NumLoops PVOID UserArrayPtr DWORD TrigEn Parameters CardNum 1 lt CardNum lt 4 ChanNum 1 NumPoints 64 lt NumPoints lt MaxMem 128 Must be in multiples of 64 Note that NumPoints should be the same for each channel The four channels have always the same length NumLoops Setto 0 other values not available 0 Continuous UserArrayPtr Pointer to user array of WORD TrigEn High enables external trigger must also set da11000_SetTriggerMode to triggered Return Value None Raw data conversion 4095 gt min output voltage 250mV in 50 ohm 2047 gt zero OV 0 gt max output voltage 250mV in 50 ohm Example da11000_CreateSingleSegment 1 Card Number 1 2 Channel 2 128 128 Words contained 0 Loops continuously UserArrayPointer Pointer to user data 0 Ext
16. eda 5 1 3 3 A O A er a 5 T4 PRODUCT SPECIFICATION o a 5 1 5 OPTION SUMMARY sni an dana MANA id ida d 7 1 6 TECHNICAL SUPPORT SOFTWARE UPDATES ccooccoccnoncconocononnninnnonononononcnonncnnncn nn ae ae aa naa a aan aan aaneea 7 1 7 WARRANTY see aaa 2 HARDWARE DESCRI PTI ON cccccsscssscesssssssesssecsssccssscscesscescesscesscssecescceecseessenssensecnsesssesseesseessens 9 2 1 INTRODUCTION iii it ii 9 2 2 BOARD DRAWING nn ann na a an aE a a a a An kan EENE a 9 2 3 EXTERNAL CLOCK J UMPER CONFIGURATIONS penanaman ada ENG a a a EK ENAK eaa a eaa ASNAN ANNAN 10 2 4 PCI MEMORY ALLOCATION isissssmslie sessa TA N n R lic 11 3 THEORY OF OPERATION oui aani a aa a ea a a aa aa aa a eaa aa a aa a aa aa aa aa aan eaa aaa anna enaa a nan aa0000n 11 Bik INTRODUCTION saas seen Masan E A an Ani 11 3 2 DOWNLOADING AND OUTPUTTING USER DATA TO THE DA11000 suisse 11 4 SOFTWARE DRIVERS ccccsccssssssssscssccssccsccssccsscssscssscsesseesssessenssensesseessesscesscesscesscessceecsenssenseensesss 12 Alo INTRODUCTION iio 12 4 2 DRIVER INSTALLATION WINDOWS 2000 XP occnncncnnoniconononccnnconcnnonononccnncnnoncnnncn nono nonecnnonnoncconcnne ninos 12 4 3 FUNCTION CA Si da 13 4 3 1 C Header File for DLL naaa nana anakan 13 4 3 2 Function Call Descriptions UsSage maa 13 4 3 2 1 dal1000 COountCards sacie EEE a E EE EARRAS 13 4 3 2 2
17. ernal trigger not enabled A ACQUITEK s W DA11000 User Manual 1 Ch 1 GS s PCI Arbitrary Waveform Generator 4 3 2 9 dall000 CreateSegments Description Creates any number of segments up to the size of memory All segments have 64 samples of beginning pad and 64 samples of trailing pad which the user cannot access except to determine the default levels However when repeating or jumping in non triggered mode the user will not see the pad fields 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 sequential segments are desired to be used After creating a complete waveform the user must call SetTriggerMode to turn on off output waveforms Declaration void dall000 CreateSegments DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList Parameters CardNum 1 lt CardNum lt 4 ChanNum 1 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 gt elements of one dimensional array must be of type WORD DWORD NumPoints Number of points in segment MUST B
18. for the DA4300 card 1 Do not install DA11000 card at this time 2 Run the setup located on the CD 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 It installs also a standalone demo software called DA11000 demo 4 Power off computer insert DA4300 card and Power up the computer 5 When OS asks for Driver File point to DA11000 inf which is located on the CD root or on your DA11000 installation directory 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 DA11000 Both this and WinDriver below should be present WinDriver If you see another driver in place of DA11000 then right click the first device under Jungo and click properties Update the driver by pointing to DA11000 You may have to go through a series of menus A ACQUITEK 12 DA11000 User Manual 1 Ch 1 GS s PCI Arbitrary Waveform Generator 4 3 Function Calls 4 3 1 C Header File for DLL define IMPORT extern C __ declspec dllimport IMPORT DWORD da11000_CountCards void IMPORT DWORD dal1000 Open DWORD CardNum IMPORT DWORD da11000_Close DWORD CardNum
19. ist Pointer to user array with each element with structure defined as shown below lt CardNum lt 4 typedef struct DWORD SegmentNum Current Segment Number PVOID SegmentPtr Pointer to current user segment gt elements of one diminsional array must be of type WORD DWORD NumPoints Number of points in segment DWORD NumL oops Number of times to repeat segment applies to next segment DWORD BeginPadVal Pad value for beginning of triggered segment DWORD EndingPadVal Pad value for ending of triggered segment DWORD TrigEn 1f gt O then wait for trigger before going to next segment DWORD NextSegNum 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 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 da11000_CreateSegments above for example A ACQUITEK 21 i DA11000 User Manual 1 Ch 1GS s PCI Arbitrary Waveform Generator 4 4 Programming Examples Example Program II DA11000 DLL C Example
20. s 1 0 GHz 500 MHz 250 MHz Lock to External 10 MHz Reference SHORT OPEN SHORT OPEN DA11000 Phase locks the internal 1 0 GHz master clock to external 10 MHz Reference External Clock Input Notes High Speed Clk input D A rate 50 ohm SMA input Sinewave from 0dBm to 6 dBm Can only use the following freguencies 1 0 GHz 500 MHz 250 MHz and 125 MHz Low Speed Clk input 10 MHz 50 ohm SMA input Sine Sguare wave from 0dBm to 10 Reference dBm Only A ACQUITEK i W DA11000 User Manual 1 Ch 1 GS s PCI Arbitrary Waveform Generator 2 4 PCI Memory Allocation DA11000 on board memory is mapped automatically when a PCI 2 1 or newer motherboard powers up If the DA11000 has 4 Mega Samples of memory then the motherboard will allocate 8 Megabytes of memory Once installed the DA11000 software drivers will find the board or boards without the user changing any jumpers or worrying about addressing How the memory is allocated and where it is located in the system is completely transparent unless the user manages to use up the entire memory available to the PCI motherboard usually 256 Megabytes or more THEORY OF OPERATION 3 1 Introduction Although the DA11000 is primarily comprised of a Segment Sequencer or memory manager and a 4 1 High Speed Multiplexer it s how the software interacts with the hardware that makes it work The following sections should provide enough operational theory for better understanding when using
21. the software drivers 3 2 Downloading and Outputting User Data to the DA11000 The DA11000 RAM memory IC s not only contain the user s waveform data but it also contains special command codes that run the Segment Sequencer These codes are placed into the upper nibble 4 bits of selected individual sample points 16 bit words leaving the lower 12 bits for user data 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 DA11000 memory management Downloading a Single User Waveform single segment into memory is performed by simply calling dall000 CreateSingleSegment DWORD NumPoints DWORD NumLoops PVOID UserArrayPtr DWORD TrigEn The user must be sure to pass the size of the waveform NumPoints 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 dall000 CreateSegments DWORD NumSegments PVOID PtrToSegmentsList This function call reguires 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 the following typedef struct DWORD
22. ts_List 0 TrigEn SegmentsList 0 NextSegNum Create Segment 2 for i 0 i lt 64 i 0 Segment0_ Data 64 0 2047 ba tal we gon N o NN xN PO Segment1_Datal i ceil 2047 0 2047 cos 2 pi i 8 SegmentsList 1 SegmentNum SegmentsList 1 SegmentPtr SegmentsList 1 NumPoints SegmentsList 1 NumLoops SegmentsList 1 BeginPadVal SegmentsList 1 EndingPadVal SegmentsList 1 TrigEn SegmentsList 1 NextSegNum to tau on pp Pp O n m gmentl Data gt O 000 000 1 O Loops back to 1 da11000_CreateSegments 1 1 2 SegmentsList 20 A ACQUITEK y DA11000 User Manual 1 Ch 1 GS s PCI Arbitrary Waveform Generator 4 3 2 10 dall000 UpdateSegmentCmds Description This function call works that same as da11000_CreateSegments except that it does not download the data from system memory to card memory Only the seguence commands 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 seguencer how many times to loop when to jump etc Declaration void dall000 UpdateSegmentCmds DWORD CardNum DWORD ChanNum DWORD NumSegments PVOID PtrToSegmentsList Parameters CardNum 1 ChanNum 1 NumSegments Number of segment structures see below which user has defined and wants to use PtrToSegmentsL
23. turns with error code A 0 means everything is fine See below for details for other values Return Values 0 Opened Windriver Successfully and DA11000 Card Found Successfully 1 Opened Windriver Successfully but NO DA11000 CARDS FOUND 2 Opened Windriver Successfully Card found but unable to open 3 Opened Windriver Successfully Board already open 6 Card number exceeds number of cards 13 FAILED TO OPEN Windriver Kernel Driver Example DWORD OpenErrorCode da11000_Open 1 Opens Board Number 1 and stores value 4 3 2 3 dall000 Close Description Closes DA11000 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 da11000 Close DWORD CardNum Parameters CardNum 1 lt CardNum lt 4 A ACQUITEK 14 JU DA11000 User Manual 1 Ch 1 GS s PCI Arbitrary Waveform Generator 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 DA11000 card requested 5 DA11000 Card Already Closed for card requested 13 FAILED TO ACCESS Windriver Kernel Driver
24. y There is always a startup 64 sample leading pad when a waveform first outputs Please note that all segments have a 64 sample leading pad and a 64 sample trailing pad regardless of whether they repeat or not Resolution of the markers is 1 4 of the clock rate Also please note that this function call must be called after creating any segments since da11000_ CreateSegments and da11000_CreateSingleSegment will overwrite the markers with zeros if done in the reverse order Declaration void dall000 SetMarkers DWORD CardNum DWORD PointAddr BYTE Nib1 BYTE Nib2 Parameters CardNum 1 lt CardNum lt 4 PointAddr RAM address location Minimum resolution is 4 clock samples Nibl O lt Nibl lt OxF see board layout for connector information Nib2 O lt Nib2 lt OxF Nib2 is unused since only one TTL marker is available Return Value None Example dal1000 SetMarkers 1 64 OxF OxF Place marker on all bits at beginning of 1st data segment of board number 1 Return Value none A ACQUITEK 17 DA11000 User Manual 1 Ch 1GS s PCI Arbitrary Waveform Generator 4 3 2 8 da11000_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 In trigger
Download Pdf Manuals
Related Search
Related Contents
Sanyo VDC-HD3100/HD3100P User's Manual 取扱説明書 DWS-116 data sheet - BioVision PSC - Provincia Regionale di Catania 9363086c, Instrucciones de montaje y de uso MobiSet 4 mit gControl mit gControl + モリワキ SUPER CUB110 `09- メガホン 注意 Manual del usuario Termo anemómetro de cazoletas Modelo AN400 Copyright © All rights reserved.
Failed to retrieve file