摘要
描述了一种多通道高精度数据采集与指令输出软件设计方案,该方案利用多线程技术和高精度定时器相结合有效地解决了数据采集,指令的输出与图形显示之间在CPU时间占用上的矛盾,使指令的输出的精度得到很好的提高。在图形显示上,我们从几种可行的方案中选择了一种占用CPU时间最少的显示方式:“扫描线波形显示方式”。这种方式比较适合于高速数据采集和指令输出控制环境。
This paper presents a software design method used in multi-channel high-resolution data acquisition and data outputting applications.This method effectively solves the confliction between data acquisition,data outputting and graphic displaying in the aspect of using CPU time by the reasonable integration of multi-thread and high-resolution timer,and with this method the resolution of the outputting data is highly improved.In the meantime,with regard to graphic displaying,we choose a very good displaying method from several feasible methods and name it "scanning beam wave displaying method" which occupies very little CPU time,and this method is fit for high-speed data acquisition and data outputting controlling environment.
出处
《工业控制计算机》
2007年第1期50-51,共2页
Industrial Control Computer
关键词
多线程
高精度定时器
液压控制
数据采集
指令输出
Multi-thread,high-resolution timer,hydraulic pressure control,data acquisition,data outputting