用户名: 密码: 验证码:
基于LabVIEW的测试软件设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
在存储测试系统中,测试应用软件是必不可少的组成部分,它负责计算机与测试仪器进行通信,不仅要设置测试仪器的参数,还需要将仪器采集的数据传输到计算机中完成回放和处理。
     本文使用虚拟仪器开发平台LabVIEW来编写测试系统的读数采样和处理软件,根据软件工程的科学方法提出了软件的详细设计方案,并具体的编写了程序,实现了数据采集、电路编程、数据回读、报表输出等功能,应用用户事件技术和ActiveX技术制作了工具栏。本软件界面友好,功能强大,易于扩展和维护,有较高的使用价值。
     作为图形化的编程语言,LabVIEW也存在优化设计的问题。本文对影响程序性能的主要因素进行了深入分析,通过对输入/输出、屏幕显示、内存管理、执行过程以及子VI调用的系统开销等方面的测试,对程序框图和程序结构进行了相应的优化,从实践中探讨了LabVIEW软件系统的优化设计方法。
     本文从软件工程的角度讲解了什么是软件测试、软件测试的目标、软件测试的方法和步骤,设计了具体的测试用例,并对相关模块进行了测试,结合图表和数据说明了对软件进行测试的过程,在很大的程度上证明了软件的可靠性和可用性。
     在电子测压器和石油井下测试仪中,软件得到了实际应用,采集了测试数据,验证了系统的各项功能以及运行情况。实践表明,本系统各功能模块运行情况良好,能够有效地应用于测试系统中。
In the storage measurement system, measurement application software is an essential component,It is responsible for communications between computer and measurement instruments, it must not only set the parameters of measurement instruments, but also need to transfer the tested data to the computer to playback ,process and record .
     This article uses LabVIEW virtual instrument development platform to write data acquisition and processing software that applied in the measurement system.it proposed the detailed design of software programs according to the scientific method of software engineering, and write the programming particular. achieved data acquisition, circuit programming, data read-back, Report output and other functions.Application of user events technology and ActiveX technology case produced Toolbar. The software interface is friendly, powerful, easy expansion and maintenance, there is a higher value.
     As a graphical programming language, the LabVIEW application software also needs optimizing. this paper analysis the main factor of impact programming performance deeply. Optimized the software structure and software diagram corresponding through the test of I/O、display、memory management、implementation process and sub vi's calling and so on. proposed some LabVIEW software programming optimizing ways in practice .
     This article from the perspective of software engineering to explain what is software testing, software testing objectives, software testing methods and steps, Designed a specific test case, and related modules were tested, illustrated the software testing process combined with charts and data , proved the reliability and availability of the software at a large extent.
     In electronic apparatus of pressure measure and Oil-Well Down-hole Test Gauge, the software has been practical applied, collected the test data, verified the system's various functions and operation. Practice shows that the functional modules of the system running in good condition, and can be effectively applied to the test system.
引文
[1]祖静,申湘南,张文栋.存储测试技术.兵工学报,1994,(2)
    [2]张文栋.存储测试系统的设计理论及其应用.北京:高等教育出版社,2002.11
    [3]严蔚敏,吴伟民.数据结构.北京:清华大学出版社,1996
    [4]许永和.EZ-USB FX系列单片机USB外围设备设计与应用.北京:北京航空航天大学出版社,2002年
    [5]杨乐平,李海涛等,LabVIEW高级程序设计.北京:清华大学出版社,2004.8
    [6]刘单.基于LabVIEW并行通信的数据采集与处理系统研究,武汉理工大学硕士学位论文,2006.4
    [7] http://www.ni.com
    [8]陈锡辉,张银鸿编著. LabVIEW 8.20程序设计从入门到精通.北京:清华大学出版社,2007.7
    [9]郑人杰,殷仁昆,陶永雷.实用软件工程.清华大学出版社,1997. 4
    [10]伍华健,刘力,洪月华.软件工程在软件开发过程中的应用研究,玉林师范学院学报(自然科学),2006年第27卷第3期
    [11]田野,吕菁华,祖大鹏.基于LabVIEW软件的虚拟小波信号提取仪的设计,牡丹江师范学院学报(自然科学版),2006年第2期
    [12]谢启,方玉.基于LabVIEW软件开发测试系统得关键技术研究,机床与液压,2005年第10期
    [13]徐万明.基于LabVIEW的虚拟仪器研究与开发,内蒙古科技大学硕士学位论文,2006.6
    [14]侯国屏,王坤,叶齐鑫. LabVIEW7.1编程与虚拟仪器设计,清华大学出版社,2005.2
    [15]邓焱,王磊等编著. LabVIEW7.1测试技术与仪器应用.北京:机械工业出版社,2004.7
    [16]杨乐平,李海涛,赵勇等编著. LabVIEW高级程序设计.北京:清华大学出版社,2003
    [17]黄青锋,刘强.基于USB和LabVIEW的数控切削过程数据采集和分析系统.2006,第24卷.第5期:21~24
    [18]郭宏.基于USB2.0多通道同步数据采集系统设计.武汉科技大学学报(自然科学版) .2006年,第29卷.第5期:496~499
    [19]刘希,杜清珍,周海涛.基于USB2.0的多道生物医学信号数据采集系统.陕西科技大学学报.2005年,第23卷.第5期:70~72
    [20]杨杰.四通道石油井下测试仪的研究.中北大学学士学位论文.太原:中北大学,2005
    [21]李翼.基于LabVIEW的实验管理系统,浙江大学硕士学位论文,2005年
    [22]张卫华.LabVIEW环境下智能测试系统的开发,内蒙古大学硕士学位论文,2003年
    [23]刘君华.虚拟仪器编程语言LabWindows/CVI教程,第一版,北京:电子工业出版社,2000
    [24]郑君里,应启珩,杨为理.信号与系统.北京:高等教育出版社,2000.5
    [25]刘泽西,程晶晶,孔力.基于USB2.0接口的高速实时数据采集系统.测控技术.2007年,第26卷.第2期:34~37
    [26]朱虹虹.软件可靠性测试与评价技术的研究与实现,电子科技大学硕士学位论文,2005年
    [27]萨默维尔.软件工程,机械工业出版社,2003.1
    [28]古乐,史九林.软件测试技术概论,清华大学出版社,2004年4月
    [29] Zhao,Jiaxin.Rejuvenate an old Tinius Olsen machine with computer data acquisition using its existing hardware and LabView,ASEE Annual Conference and Exposition,2005
    [30] Daftari, Anuj P.A LabVIEW program for the stimulation of a vergence open-loop response,Bioengineering, Proceedings of the Northeast Conference Proceedings of the IEEE 30th Annual Northeast Bioengineering Conference v 30 2004
    [31] Basher, Hasanul.LabVIEW-based position control system with synchro,Conference Proceedings - IEEE SOUTHEASTCON Proceedings of the IEEE Southeastcon 2005
    [32] Kohout, Roos, Keller.Automated operation of a homemade torque magnetometerusing LabVIEW,Measurement Science and Technology v 16 n 11 Nov 1 2005. p 2240-2246,2005
    [33]王建华,张焕生等(译) .MFC Visual C++6.0编程技术内幕[M].北京:机械工业出版社,2002
    [34]武安河,邰铭,于洪涛.Windows 2000 /XP WDM设备驱动程序开发[M].北京:电子工业出版社,2003
    [35]王鹏飞,卢艳娥,谈展中.基于DMA的USB设备驱动及其动态链接库开发遥测遥控.2006年,第27卷.第4期:55~58
    [36]吴鹏,陶正苏,胡宇贞.基于单片机USB接口的PC主机驱动程序和应用程序设计.电子器件.2005年,第28卷.第3期:612~614
    [37]王建新,杨世凤,隋美丽.LabWindows/CVI测试技术及工程应用.北京:化学工业出版社,2006.8
    [38]金维香.图形化程序设计G语言——LabVIEW与虚拟仪器,长沙电力学院学报(自然科学版)第17卷第1期2002年2月,18-21
    [39]苏海龙. LabVIEW RT在多任务控制系统中的应用,National Instruments Corporation内部资料
    [40]汪敏生等著. LabVIEW基础教程,第一版.北京:电子工业出版社,2002
    [41] Gary W.johnson,Richard Jennings著,武嘉澎,陆劲昆译. LabVIEW图形编程,第一版,北京:北京大学出版社,2002
    [42]刘君华,贾惠芹.虚拟仪器图形化编程语言Labview教程,第一版,西安:西安电子科技大学出版社,2001

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

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

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