Labwindows环境下雷达模块自动测试系统驱动程序设计
发布时间:2019-04-30 17:26
【摘要】:随着自动测试系统的发展,原有的硬件基础设施已经不能够满足时代的发展需求。这必然导致硬件的升级换代,以及仪器软件的更新。然而原有的底层仪器驱动程序因通用性不强,为适应新的仪器软硬件需求,会导致驱动程序需要二次开发。这会增加测试系统重新组建的成本,并延长了开发周期。开发通用性较强的仪器驱动程序势在必行,这样可以避免重复性仪器驱动程序开发工作。本文以此为目的进行可复用、可扩展、可互换的仪器驱动程序设计。本文主要工作是在LabWindows环境下对九种类型的仪器进行研究。研究内容包括以这些类型的仪器为研究对象,找出这些仪器的共性和差异,建立层次树,根据层次树设计出更通用的驱动程序。本课题针对雷达模块自动测试系统的实现进行理论研究和分析。其主要的研究内容如下:⑴为降低代码的耦合性和程序的依赖性,提高程序的健壮性,本文引入模块化设计思想对程控仪器代码进行封装,并形成具有不同功能的独立模块。⑵本文深入地研究了虚拟技术及VISA软件框架、SCPI可编程指令,IVI-C的API函数和VISA的API函数。⑶本文同时使用VISA架构的C语言函数和IVI-COM提供的IVI-C函数共同程控仪器,这样可以充分发挥VISA和IVI-C各自的优势,从而使得控制仪器更加灵活和高效,缩短开发周期,节约开发成本。⑷为了提高程序的可复用性以及粒度性,本文引入了面向对象的设计思想,实现了驱动程序软件框架的设计。⑸为了实现驱动仪器程序具有更好的扩展性,更好的可互换性,维护成本更小,真正做到可以在不同测试环境下灵活使用的目的等,本文设计了分层设计驱动仪器程序模型。
[Abstract]:With the development of automatic testing system, the original hardware infrastructure can no longer meet the development needs of the times. This will inevitably lead to the upgrading of the hardware, as well as the update of the instrument software. However, the original low-level instrument driver is not universal, in order to meet the needs of new instrument hardware and software, it will lead to the secondary development of the driver. This increases the cost of re-building the test system and prolongs the development cycle. It is imperative to develop universal instrument driver, which can avoid repetitive development of instrument driver. The purpose of this paper is to design a reusable, extensible and interchangeable instrument driver. The main work of this paper is to study nine types of instruments in LabWindows environment. The research contents include taking these kinds of instruments as the research object, finding out the commonness and difference of these instruments, establishing the hierarchical tree, and designing the more general driver according to the hierarchical tree. This topic carries on the theoretical research and the analysis to the radar module automatic test system realization. The main research contents are as follows: (1) in order to reduce the code coupling and program dependence, and to improve the robustness of the program, the modular design idea is introduced to encapsulate the program control instrument code. And form independent modules with different functions. 2. In this paper, the virtual technology and VISA software framework, SCPI programmable instructions, are deeply studied. The API function of IVI-C and the API function of VISA. 3 this paper uses the C language function of VISA architecture and the IVI-C function provided by IVI-COM together with the program control instrument, so that we can make full use of the advantages of VISA and IVI-C. So that the control instrument is more flexible and efficient, shorten the development cycle, and save the development cost. 4 in order to improve the reusability and granularity of the program, the object-oriented design idea is introduced in this paper. In order to achieve better expansibility, better interchangeability, lower maintenance cost, and so on, the driver program can be used flexibly in different test environments, and so on. 5 the driver software framework is designed to achieve better expansibility, better interchangeability, lower maintenance cost and so on in order to realize the driver instrument program has better expansibility and better interchangeability. In this paper, a hierarchical design driving instrument program model is designed.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TN95
[Abstract]:With the development of automatic testing system, the original hardware infrastructure can no longer meet the development needs of the times. This will inevitably lead to the upgrading of the hardware, as well as the update of the instrument software. However, the original low-level instrument driver is not universal, in order to meet the needs of new instrument hardware and software, it will lead to the secondary development of the driver. This increases the cost of re-building the test system and prolongs the development cycle. It is imperative to develop universal instrument driver, which can avoid repetitive development of instrument driver. The purpose of this paper is to design a reusable, extensible and interchangeable instrument driver. The main work of this paper is to study nine types of instruments in LabWindows environment. The research contents include taking these kinds of instruments as the research object, finding out the commonness and difference of these instruments, establishing the hierarchical tree, and designing the more general driver according to the hierarchical tree. This topic carries on the theoretical research and the analysis to the radar module automatic test system realization. The main research contents are as follows: (1) in order to reduce the code coupling and program dependence, and to improve the robustness of the program, the modular design idea is introduced to encapsulate the program control instrument code. And form independent modules with different functions. 2. In this paper, the virtual technology and VISA software framework, SCPI programmable instructions, are deeply studied. The API function of IVI-C and the API function of VISA. 3 this paper uses the C language function of VISA architecture and the IVI-C function provided by IVI-COM together with the program control instrument, so that we can make full use of the advantages of VISA and IVI-C. So that the control instrument is more flexible and efficient, shorten the development cycle, and save the development cost. 4 in order to improve the reusability and granularity of the program, the object-oriented design idea is introduced in this paper. In order to achieve better expansibility, better interchangeability, lower maintenance cost, and so on, the driver program can be used flexibly in different test environments, and so on. 5 the driver software framework is designed to achieve better expansibility, better interchangeability, lower maintenance cost and so on in order to realize the driver instrument program has better expansibility and better interchangeability. In this paper, a hierarchical design driving instrument program model is designed.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TN95
【参考文献】
相关期刊论文 前10条
1 刘福军;汤宫民;孙香冰;汤潇奕;梁清果;;面向服务的自动测试系统仪器驱动器设计与实现[J];仪表技术;2016年07期
2 卜云萍;成丝雨;王道酉;赵洋;陈s,
本文编号:2468903
本文链接:https://www.wllwen.com/kejilunwen/xinxigongchenglunwen/2468903.html