基于LabVIEW的Windows通用测控平台的研究与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
试验、测试与控制技术是工业产品研制、生产过程中的重要环节。然而由于测控系统的规模、结构及其所使用的软硬件资源不同,测控系统软件也有很大的区别,其开发工作量和难度也很大。调用成熟软件工具组件设计一个具有可视化编程界面的通用测控系统开发支持平台,对于快速和有效地完成测控系统软件开发具有十分重要的意义。
     本文结合十五国防预研项目“分布式协同综合虚拟试验与测试技术”和个五航空预研项目“直升机飞行载荷全数字加载控制和数据采集技术”的研究,在分析了国内外研究现状和技术发展趋势的基础上,对其共性的关键技术之一——系统开发支持平台(通用测控平台)技术展开了深入研究。
     本文首先介绍了计算机测控系统的功能及其设计原则;比较了传统测控平台与现代测控平台的特点;在此基础上,给出了通用测控平台的需求分析和设计方案,包括开发流程、关键技术、性能特性、系统结构和功能分析。
     LabVIEW是美国国家仪器公司推出的一种革命性的图形编程语言,开创了虚拟仪器的新纪元。本文在分析了虚拟仪器和LabVIEW的特点之后,研究了在LabVIEW下非标准(非内置)接口板卡的驱动程序开发技术:调用板卡的动态链接库CLF技术和调用VC编程语言的CIN技术,探讨了在用户环境下调用LabVIEW功能模块的方法。
     深入研究了LabVIEW RT实时系统的结构和程序开发步骤,包括LabVIEWRT开发系统和RT引擎的结构,应用程序开发和调试方法、将应用程序下载到目标硬件的机理等等。提出并实现了一种基于LabVIEW的高精度软件定时器,解决了在Windows下利用LabVIEW开发测控平台的实时性问题。
     探讨了LabVIEW与Windows操作系统的多任务运行机制,设计实现了时间片轮换调度、固定时间间隔调度、事件驱动调度等三种调度策略,实现LabVIEW环境下的多任务运行机制。
     本文设计开发的基于LabVIEW的Windows的通用测控平台和实例,实现了友好的人机交互、数据的实时采集显示、事后处理、安全可靠的故障处理措施等功能。
     通过论文研究,可以快速方便地建立测控系统工作站软件,缩短系统开发时间,具有较好的可行性和通用性。
Experimentation and Test technology is an important step of developing industry product and producing. Because of size and structure of control system, the resource is different. The soft of control system is different. It is hard about the size of soft and work. It is a good method to call the fledged soft. It is important to soft developing.
    The topic of the paper has been listed in the basic research project
    for national defence of the "tenth-five project" by the Commission Of
    Science Technology And Industry For National Defence. One is
    "Distribution Experimentation and Test Technology" , the other is
    "Mathematic Helicopter and Test Technology " .Base on the research of
    literature of the world,we will research the technology of Measurement
    And Control System.
    The paper first introduce function and principle of the computer Test and Control System. The paper compare the elapse Test and Control System and Test and Cntrol System now. Expound requirement, system structure, function, technology.
    American NI company send out LabVIEW,which is a revolution of the diagram language. After assay the advantage of Virtual Instrument and LabVIEW, the paper research the new technology of non-calibrate card driver under LabVIEW.There are two methods that is Call Library Funtion and Code Interface Node technology to achieve the requirement.
    The paper research system structure of the LabVIEW RT and develop methodology, including LabVIEW RT and structure, program methodology, the theory about download to target hardware. Expound a high nicety machine of time based on LabVIEW. Resolve the problem of real time system.
    Research LabVIEW and Windows multi- mission mechanism. Devise and achieve time switch methodology, regular time methodology and event driver methodology. Achieve multi- mission mechanism in LabVIEW system. The paper develop the available Test and control system in LabVIEW. The system havs advantage, which is user-friendly interface,Data acquisition and display, data disposal and reliable alarm function.
    On the studying of the paper, we can establish workstation application software of Experiment & Measurement System as quick as possible. It can shorten system development period.
引文
[1] 《C++程序调试实用手册》,Chris H.Pappas,William H.Murray著,段来盛等译,电子工业出版社
    [2] 《Windows NT 4 Server Unleashed》,Microsoft Corp.
    [3] 《Software Reuse》,Ivar Jacobson
    [4] 《Advanced Windows》, Jeffrey Richter
    [5] 《MicrosoftWin32程序员参考大全(一~五)》,清华大学出版社,1995
    [6] 《MFC开发Windows 95/NT 4应用程序》,Peter Norton,Rob McGregor著,孙凤英等译,清华大学出版社
    [7] 《Microsoft Visual C++6.0程序员指南》,Beck Zaratian著,希望图书创作室译,北京希望电脑公司,Microsoft Press,1998
    [8] 《Microsoft Visual C++6.0语言参考手册》,希望图书创作室译,北京希望电脑公司,Microsoft Press,1999.1
    [9] 《Microsoft Visual C++6.0运行库参考手册》,希望图书创作室译,北京希望电脑公司,Microsoft Press,1999.1
    [10] 《LabVIEW用户指南》 清华大学电机系虚拟仪器实验室编译
    [11] 《采用LabVIEW图形程式设计构成虚拟仪控设备》,INTERNET陈朔 王思华
    [12] National Instruments Corporation, Control and Simulation Software for G Reference Manual, February 1998
    [13] National Instruments Corporation, Using External Code in LabVIEW, July 2000
    [14] National Instruments Corporation,Using LabVIEW to Create Multithreaded Vis for Maximum Performance and Reliability, July 2000
    [15] National Instruments Corporation, LabVIEW User Manual, July 2000
    [16] 《计算机控制技术》薛弘哗主编 西安电子科技大学出版社 2003
    [17] 《深入潜出MFC》侯俊杰著 华中科技大学出版社 2002
    [18] 《计算机系统的高可靠性技术》猪獭博(日)国防工业出版社,1995
    [19] 《在PC上运行的实时操作系统LabVIEW RT》 国家仪器有限公司《电子产品世界》
    [20] “构件软件与面向对象技术”,郭健强 龚杰民,西安电子科技大学学报 第25卷

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700