检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王斌[1,2] 张林[1,2] 邓军[1,2] 熊耀臣[1,2] 吕明[1,2]
机构地区:[1]九江精达检测技术有限公司,江西九江332008 [2]中国船舶工业集团公司第6354研究所,江西九江332000
出 处:《自动化技术与应用》2016年第6期57-60,共4页Techniques of Automation and Applications
摘 要:一种高速串口通信中数据处理方法 ,其利用CRC校验和数据帧编码校验技术进行数据组帧,运用MSComm控件进行串口通信,采用多线程和环形缓冲区技术进行数据接收和数据处理,处理后的数据进行自动显示和保存。实验结果表明,该方法简单高效可靠,可大大避免高速串口通信中数据丢失的现象,并有助于快速分析处理结果数据的有效性和完整性,具有较高的实际应用价值。A method of data processing in high-speed serial communication is proposed, it takes advantage of CRC technology and data coding technology to make a data frame, and makes use of MSComm control to finish serial communication, and adopts multithreading and ring buffer technology to receive and process data, and finally displays and saves all post processed data automatically. The experimental results indicate that this method is simple, efficient and reliable,and can greatly avoid this phenomenon of data loss in high-speed serial communication, and can contribute to quickly analyze validity and integrity of data processing results, and has great application value.
关 键 词:高速串口通信 数据处理 线程 环形缓冲区 计算机应用
分 类 号:TP319[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.229