基于LabVIEW的串口通信数据校验和的实现方法  被引量:20

Implementing Method of Serial Communication Data Checksum Based on LabVIEW

在线阅读下载全文

作  者:陈金平[1] 王生泽[1] 吴文英[1] 

机构地区:[1]东华大学机械工程学院,上海200051

出  处:《自动化仪表》2008年第3期32-34,共3页Process Automation Instrumentation

摘  要:串行通信在基于PC机的测控领域中的应用非常流行,为了避免通信差错需要对数据进行检错,较常用的方法有异或和、校验和、循环冗余码校验(CRC)等方法。重点介绍了校验和的实现原理以及基于LabVIEW的串口通信数据校验和的实现方法,并对该方法在PC机上进行了实际验证。实验表明,该方法简单实用、运行可靠,可在基于PC机的测控程序中加以实际运用。Application of the serial communication is very popular in the PC-based measurement and control areas. In order to avoid communication errors, it is necessary to check data. The methods of XOR sum check, checksum and cyclic redundancy check ( CRC ) are commonly used. The implementing principle of checksum and the serial communication based on LabVIEW and its data checking method are introduced emphatically. The method is verified in PC in practice, and the results show that the method is simple, practical, and the operation is reliable. It can be used practically in measuring programming based on PC.

关 键 词:虚拟仪器 LABVIEW 串口通信 校验和 冗余 

分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象