检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《自动化仪表》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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.244