检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《实验室研究与探索》2013年第11期93-96,共4页Research and Exploration In Laboratory
基 金:江西省科技支撑项目(20111102040100)
摘 要:针对采用蓝牙技术以虚拟串口方式组建工业数据采集系统时,因蓝牙发送数据包的频率和长度不确定,导致以规定长度的数据包协议进行串口编程可能出现的数据丢失问题,提出了一种基于环形缓冲区的数据处理算法,并详细说明了该算法的实现过程。实践证明该算法不仅稳定高效,而且原理简单,易于实现。同时该算法还适用于其他不规则数据的处理。When an industrial data acquisition system which is based on Bluetooth and is in serial module, it may lead to data loss. The reason is due to the uncertainty of package length and sending rate of Bluetooth. To solve the problem this paper designs a data processing method based on circular buffer and gives a detailed description of the algorithm realization process. Practice has proved that the algorithm is not only stable and effective, but also easy to realize. In addition, this algorithm is also applicable to other irregular data processing.
分 类 号:TP312[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.171