摘要
为了快速检测实验室新开发的图像采集卡,介绍了用WinDriver编写采集卡驱动程序的原理,详细地说明了几个主要函数的使用方法,可以方便地在用户态下实现读写寄存器、中断使能和DMA传输等功能。简述了Direct Draw的工作原理和优点,说明了图面切换、图面拷贝等操作以及相应函数的使用。详细地说明了检测程序的实现思路。该方法可以扩展到对其它类型采集设备的检测。
To test the new designed frame grabbers rapidly , the basic principle of driver development using WinDriver is introduced, using method of some main API functions is explanated, reading /writing from registers,enabling interrupts and DMA can be implemented in user mode easily. The principle and advantages of DirectDraw basic on operations of Flip and Blt of surfaces are introduced. The plot of the testing program is presented. The way introduced here can also be extended to the test of other kinds of data acquisition devices.
出处
《光学技术》
CAS
CSCD
2004年第6期710-712,716,共4页
Optical Technique
基金
十五国防重点预研项目