科研训练(模板).doc

  1. 1、本文档共10页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
科研训练(模板)

科 研 训 练 题 目:基于LabVIEW和单片机的串行通信 专 业: 班 级: 学生姓名: 目 录 Abstract II 1引言 1 2系统硬件结构 2 2.1 系统硬件构成及通信的建立 2 2.2串口VI介绍 2 2.3 通信程序设计 2 2.3.1上位机串口通信程序设计 3 2.3.2下位机串口通信程序设计 5 3 结论 6 摘 要 其图形化编程改变了20 年来测试、测量和控制应用程序的开发过程。NI LabVIEW 可使以往复杂的数据采集工作变得非常简便,能迅速、经济地连接测量与控制硬件、分析数据、共享结果并发布系统。LabVIEW 使用简单而容易上手, 只需一台计算机就可以运行LabVIEW,当需要实现测量和控制时,通过添加数据采集卡,就可实现对被控对象的数据采集、动态显示和实时控制[2]。由于LabVIEW 是美国NI 公司开发的工业软件, 它可识别NI公司的数据采集卡,但对其它公司的采集卡不具有很好的兼容性。另外,数据采集量较少时,使用采集卡也是一种资源的浪费。而利用计算机本身的串行接口,通过LabVIEW,实现计算机与带有串行接口外设的通信,采集数据,进一步实现测量或控制,在工程上很有实际意义[3]。本研究旨在实现LabVIEW 的串 行通信,并设计串行通信的控制界面,以验证其可行性[4-5]。 关键词: 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-Run Time 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. Key Words: LabVIEW; MCU ; serial communication; VISA Runtime 1引言 NI LabVIEW 是一个标准的数据采集和仪器控制软件[1],其图形化编程改变了20 年来测试、测量和控制应用程序的开发过程。NI LabVIEW 可使以往复杂的数据采集工作变得

您可能关注的文档

文档评论(0)

haihang2017 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档