摘要
在PC机上开发多传感器实时数据采集软件已成为工业控制、信息融合等领域的重要环节。为保证多传感器数据采集的实时性和软件易扩展性,采用多线程技术并发处理多传感器数据采集,采用策略设计模式实现采集与显示两部分低耦合,对未设置数据发送频率的传感器采用多媒体定时器实现高精度的定时采样,采用双缓冲技术局部绘图实现采集数据曲线实时更新显示。实验表明,应用该技术开发的多模态生物信息采集软件能实时、可靠地采集与显示多个传感器数据,且软件易扩展更多传感器采集。
The development of real-time data acquisition software for multi-sensor on PC has become an important part in the filed of industrial control and information fusion.In order to ensure that the software can real-time acquire multi-sensor data and easily expand,the software acquires multi-sensor data by the multithread technique,achieves low coupling of acquisition and display parts by Strategy Pattern,achieves high precision frequency sampling for the sensor data whose data sending frequency is not set by the multimedia timer,and updates localized data view by the double-buffered graphics technology.
出处
《工业控制计算机》
2015年第6期18-19,22,共3页
Industrial Control Computer
关键词
实时数据采集
多传感器
多媒体定时器
双缓冲绘图
策略模式
real-time data acquisition
multi-sensor
multimedia timer
double buffered graphics
strategy pattern