CompuScope SDK Manua.. - Egmont Instruments
CompuScope SDK Manua.. - Egmont Instruments
CompuScope SDK Manua.. - Egmont Instruments
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Table of Contents - <strong>CompuScope</strong> <strong>SDK</strong> for C/C++for Windows <strong>Manua</strong>lChapter 1: <strong>CompuScope</strong> <strong>SDK</strong> for C/C++ for Windows PrefacePreface ............................................................................................................................. 3What You Receive with the <strong>CompuScope</strong> <strong>SDK</strong> for C/C++ for Windows...................... 4Chapter 2: Basic <strong>CompuScope</strong> OperationBasic <strong>CompuScope</strong> Operation......................................................................................... 7Single Record Mode............................................................................................................................... 8Multiple Record...................................................................................................................................... 8Master/Slave Multi-Card Systems.......................................................................................................... 9Multiple Independent Multi-Card Systems............................................................................................. 9Multiple <strong>CompuScope</strong> Systems............................................................................................................ 10PCI Bus <strong>CompuScope</strong>s.................................................................................................. 11PCI Bus................................................................................................................................................. 11Plug-n-Play........................................................................................................................................... 11DMA or Bus-Mastering on the PCI Bus............................................................................................... 12Memory Mode Operation of the PCI Bus <strong>CompuScope</strong> Cards............................................................ 13Data throughput across the PCI Bus..................................................................................................... 13Number of PCI Slots in one Chassis..................................................................................................... 13On-Board Memory Organization of the <strong>CompuScope</strong> Cards ....................................... 14A/D Data Storage ................................................................................................................................. 14Timing Diagrams for <strong>CompuScope</strong> Capture ........................................................................................ 16On-board Memory: A Programmer’s View.......................................................................................... 20<strong>CompuScope</strong> Repetitive Capture Performance ............................................................. 22Chapter 3: Introduction to <strong>CompuScope</strong> Windows Drivers and C/C++ <strong>SDK</strong>Introduction ................................................................................................................... 27What are the <strong>CompuScope</strong> Windows Drivers? .................................................................................... 27<strong>CompuScope</strong> C/C++ Software Development Kit................................................................................. 27Sample Programs Folder Structure used in <strong>CompuScope</strong> <strong>SDK</strong>s.......................................................... 28Common Files used in <strong>CompuScope</strong> C/C++ <strong>SDK</strong>s ............................................................................. 29Chapter 4: Writing a C Application for <strong>CompuScope</strong> CardsWriting a C Application for <strong>CompuScope</strong> Cards.......................................................... 33Useful program structures and variables .............................................................................................. 34Initializing the <strong>CompuScope</strong> driver and hardware ............................................................................... 34Preparing the <strong>CompuScope</strong> Card for Data Capture.............................................................................. 34Starting an Acquisition ......................................................................................................................... 35Completing an Acquisition................................................................................................................... 35Transferring the <strong>CompuScope</strong> Data ..................................................................................................... 361