13.07.2015 Views

CompuScope SDK Manua.. - Egmont Instruments

CompuScope SDK Manua.. - Egmont Instruments

CompuScope SDK Manua.. - Egmont Instruments

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GAG2A2D_MUL_BM.EXEThe sample program GAGEA2D_MUL_BM.EXE is provided with <strong>CompuScope</strong> <strong>SDK</strong> for C/C++ forWindows.GAGEA2D_MUL_BM sample program does a multiple record capture from a single <strong>CompuScope</strong> (dual orsingle channel mode), and bus-masters the data to PC memory. All the records from all the channels arethen written to the separate ASCII data files. In order to view the resulting files, you will have to runMicrosoft Excel or another program, which allows you to import ASCII data. You can also use any texteditor. In Microsoft Excel, the data files can be read by opening it from the File menu. Excel’s ImportWizard will guide you through importing the data. Select “Delimited” for the type of data, and “Tab” asthe delimiter for the data. Then you can plot the data.Flow Chart describing the sample program.StartInitialize Driver and HardwareSet Hardware ParametersAllocate Buffer(s)Start CaptureNTriggeredNTimeoutYForce CaptureYNTimeoutYYBusyNAbort CaptureGroup. Read Trigger,Start and EndaddressesTransfer data using scatter-gatherDMA for optimal speed.Save data to file(s)**Readable by ExcelYMore GroupsNEndPage 46<strong>CompuScope</strong> <strong>SDK</strong> <strong>Manua</strong>l

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!