首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于LabVIEW的串行通信实现
引用本文:许维东.基于LabVIEW的串行通信实现[J].科技导报(北京),2008,26(24).
作者姓名:许维东
作者单位:上海理工大学计算机与电气工程学院
摘    要:运用美国National Instruments公司开发的图形化编程软件LabVIEW,结合VISA Runtime串行通信组件,设计了一个基于LabVIEW的串行通信界面。该界面具有设计合理、操作简单等特点,可以实现串行接口配置、数据组合、数据清空、自动发送、统计发送/接收的字节数、传输数据保存与读取等功能。通过计算机RS-232串行接口实现了2台计算机的联机。当2台计算机同时运行该软件时,通过该通信界面可以实现2台计算机实时数据的传送和接收,从而实现基于LabVIEW的串行通信。

关 键 词:串行通信

Realization of Serial Communication Based on LabVIEW
XU Weidong College of Computer and Electrical Engineering,University of Shanghai for Science and Technology,Shanghai ,China.Realization of Serial Communication Based on LabVIEW[J].Science & Technology Review,2008,26(24).
Authors:XU Weidong College of Computer and Electrical Engineering  University of Shanghai for Science and Technology  Shanghai  China
Institution:XU Weidong College of Computer and Electrical Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China
Abstract:As a powerful industrial software,LabVIEW is not only widely accepted by industries,but also draws attentions from researchers and students in institutes and colleges.LabVIEW is now commonly used in industrial tests,measurements and controls.Based on LabVIEW,which is a graphic programming software developed by National Instruments(NI),a serial communication interface is designed with the help of VISA-RunTime components.The communication interface features rational configuration and simple operations.At the same time,it provides serial port setting,communication setting,data combination,data clearing,automatic sending and byte counting to send and receive as well as saving and reading of transmitted data.Finally,two computers with RS -232 serial ports are connected to test the interface and functions.The result shows that the control interface works well and realizes serial communication between computers in LabVIEW framework.Furthermore,it also indicates that LabVIEW may be used for serial communication,which enriches and expands LabVIEW applications.
Keywords:LavVIEW  VISA Runtime
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号