摘要
信号的动态连续显示是一种理想的观察和分析手段,在单片机或嵌入系统与PC机相结合的应用系统中有着广泛的需求。本文首先讨论了在Windows环境下充分利用操作系统多线程和短时间间隔多媒体定时器的特性,提高信号实时采集速度的一些方法;其次讨论了采用环形队列算法和内存动态贴图技术,实现信号动态连续显示的设计方法。该方法既可应用于信号实时采集,又可应用于信号非实时回放显示。文章对采用该方法编制的应用实例——“波形动态连续显示器”进行了说明,并给出了实验结果,供其它类似的应用场合参考。
Dynamic continuous display is an ideal method for signal observation and analysis in the area of PC-Microcontroller interface systems. This article discusses how to use the Windows operating system' s multithread and multimedia timer to accelerate signal-collecting process. The circle queue algorithm and dynamic map sticking technology are introduced into the system. The methods proposed in this article could be used for both real-time display and non-real-time playback display.Two practical experiment results are given corresponding to real-time and playback case respectively,which could be referenced for other similar situations.
出处
《微计算机信息》
2002年第12期65-66,71,共3页
Control & Automation