期刊文献+

LabVIEW对串口采样测量数据的处理 被引量:38

Serial port sampling data processing using LabVIEW
下载PDF
导出
摘要 LabVIEW处理串口通常采用VISA或ActiveX控件,采用VISA的解决方案简单易行,详细介绍基于VISA对串口数据的处理方法。当数据量比较大,帧频比较高时,串口采样数据处理比较麻烦。为避免接收数据窜字符的问题,设计了自动帧头对准程序,保证数据接收完整可靠。为避免数据分析显示程序与串口数据接收处理的冲突,设计串口接收打包处理程序,对接收数据进行缓存。说明了这2种方法的原理、实现和实际应用程序。并应用于编制伺服运动控制效果测量监控程序。设计分析对比结果表明,方案简单易行、经过处理的数据流结构清晰、明确,易于后续程序处理。为基于LabVIEW的串口数据处理提供一种简单有效的方法。 LabVIEW usually use VISA or ActiveX controls for serial processing and the VISA solution is simple and easily implemented.This paper will give a detailed introduction to the serial data processing method using VISA.When the frame rate is higher,the data amount will be larger,this will make the serial data processing more complicated.In order to avoid receiving data channeling character problem,an automatic frame head alignment procedure is designed,which will ensure the data integrity and reliability.To avoid the conflicts between the data analysis procedure and the serial data receiving procedures,a serial package processing procedure is designed which can cache the data received.The principles,implementation and practical applications are demonstrated for the two methods which can be applied to the servo control monitoring program.The analyzed results show that the method is easily implemented and the structure for the data processing program is clear and easy for the following procedure.The paper provides a simple and effective way for serial data processing based on LabVIEW.
作者 王显军
出处 《电子测量技术》 2014年第3期107-111,共5页 Electronic Measurement Technology
关键词 LABVIEW 自动帧头对准 数据缓存 串口采样数据处理 LabVIEW automatic frame head alignment data caching serial data sampling and processing
  • 相关文献

参考文献13

二级参考文献91

共引文献301

同被引文献315

引证文献38

二级引证文献183

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部