摘要
本文基于Windows32位操作系统的抢先式多任务运行机制,分析了数据采集系统中应用软定时器实现高精度定时的几种方法的原理和优缺点,并结合实际介绍了利用多线程技术和NT内核对象实现的系统高精度定时方案,实现了高精度的定时,保证了数据采集的速度,更好地实现系统的稳定性和可靠性。
Focused on the program realizatiml of high accuracy software timer under Windows environment, this paper introduces several different methods to realize the high accuracy software timer for data acquisition system based on the Windows' time mechanism and proposed a scheme for practical application based on muhi_thread technology and OS's kernel object mechanism.
出处
《现代计算机》
2005年第12期31-33,共3页
Modern Computer
关键词
定时机制
内核对象
多线程
数据采集系统
Time Mechanism
Kernel Object
Multi-Thread
Data Acquisition System