13.07.2015 Views

CompuScope SDK Manua.. - Egmont Instruments

CompuScope SDK Manua.. - Egmont Instruments

CompuScope SDK Manua.. - Egmont Instruments

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Flow Chart describing the sample program.StartInitialize Driver and HardwareSet Hardware ParametersAllocate Buffer(s)Start CaptureNTriggeredNTimeoutYForce CaptureYNTimeoutYYBusyNAbort CaptureRead Trigger, Startand End addressesTransfer data using scatter-gatherDMA for optimal speed.Save data to file(s)**Readable by ExcelYMore boardsNEndDescription of the Routines used by the sample programFollowing are the routines used by the sample program GAGEA2D_MS_BM. Brief descriptions of theGage API routines used by each of the following routines are also given. For a detailed description of allthe Gage API routines, please refer to the <strong>CompuScope</strong> API Reference <strong>Manua</strong>l.voidSetDefaultBoardLocation (uInt16 seg, uInt16 ind)This routine is in app_supp.c and is called if the DLL routine gage_read_config_file returns false whichindicates that the board location configuration file is corrupted or missing. A default segment and index arepassed to this routine. The global data structure gage_board_location, which contains the addresses of thememory segments and I/ O addresses, is updated prior to calling the DLL gage_driver_initialize routine.For the CP500 family of <strong>CompuScope</strong>s, the memory segment and I/ O addresses are set to 0xFFFF.Page 42<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!