上位机软件设计与实现基于LABVIEW架构的分析仪器-光通信专业论文.docxVIP

上位机软件设计与实现基于LABVIEW架构的分析仪器-光通信专业论文.docx

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
摘要 虚拟仪器技术十分符合国际上流行的“硬件软件化”的发展趋势,因而常被 称作“软件仪器”。虚拟仪器的核心技术思想就是“软件即仪器”。虚拟仪器具有 传统独立仪器无法比拟的优势,可完成传统的独立仪器难以胜任的任务。基于这 种状况,人们开始研究和设计基于虚拟仪器技术的测量仪器,以降低设计复杂性 和开发费用。 本文首先介绍了虚拟仪器的发展现状以及 LABVIEW 的特点和优势,基于用 户的实际需要,设计了基于 LABVIEW 架构的上位机软件。主程序采用生产者/消 费者设计模式,生产者、消费者之间的消息通过队列消息处理器传递和管理。其 次本文详细描述了软件的整体架构和各个子模块的设计,介绍了文件管理、上下 位机通讯、下位机数据采集、数据处理、曲线拟合和报表生成等各个子模块的功 能,并使用标准状态机和同步技术完成了对各个子模块的设计以及 LABVIEW 代 码的编写。最后与下位机建立通信,测试预期要完成文件管理、上下位机通信、 对下位机数据进行实时采集、对数据进行处理和报表生成等功能,结果表明本文 所设计的软件运行正常,结果正确。 关键词:弱光检测 虚拟仪器 上下位机 数据处理 LABVIEW ABSTRACT The virtual instrument (VI) technology is particularly in correspondence with the international development tendency that turns hardware technique into software, therefore it often called as “software instrument”. The key idea of VI is “software is instrument”. The virtual instrument has exclusive advantages over conventional instrument, and it can perform tasks that the conventional instrument is incapable. So the user-defined measurement systems are designed based on virtual instrument which enables complex and expensive hardware to be replaced by developed software. This thesis firstly introduces the state-of-the-art virtual instrument, and the features and advantages of LABVIEW. The LABVIEW-based PC software is designed according to the actual demand. The producer/consumer model is used to the design of main program, and messages between producer and consumer are transmitted and managed through message queuing processor. Then the integral software architecture is described, and the design of all sub-modules is presented, including file management module, upper/lower machine communication module, the real-time data acquisition of lower machine module, data processing module and curve fitting module etc. The design and implementation for each sub-module is performed by using the standard state machine and synchronization technology. Finally, the functions expected above are tested by establishing communication connection with lower machine, and then the resul

您可能关注的文档

文档评论(0)

131****9843 + 关注
实名认证
文档贡献者

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

1亿VIP精品文档

相关文档