摘要
实时数据采集系统常采用软件定时器的方法来实现数据的定时采集。结合某实时测控系统,在VC++6.0的环境下的数据采集系统中采用WM_TIMER定时器和多媒体定时器完成多点实时数据采集,比较2种软件定时器在实现方法、优先级、定时精度等方面的差别,通过比较得到:在多线程、多任务的数据采集系统或采样周期较短,采用多媒体定时器可以获得较高的定时精度,最小可达到1 ms。
The software timer are used in the real- time system. The WM_TIMER and multimedia timer realized by timers are compared in realized method,timing pricision and is provided in the multitask system. data aqusition system. Combined with our measurement & control visual C^++ is used in the real - time data aqusition system. Two priority, etc. We conclude that the higer timing precision even lms is provided in the multitask system.
出处
《现代电子技术》
2007年第18期80-82,共3页
Modern Electronics Technique