4通道600MSPS任意波形发生器显控软件设计
发布时间:2018-07-15 10:34
【摘要】:任意波形发生器是一种新型信号源,它是随着不断进步的计算机信息技术发展起来的。任意波形发生器不仅可以生成一般的正弦波、方波、三角波等常规波形,而且还可以生成调幅、调频、键控等多种调制波形,更加重要的一点是,它还能产生任意波形。因此,任意波形发生器已在现代测试计量领域得到了广泛的应用。显控软件作为任意波形发生器系统的重要组成部分之一,在任意波形发生器的使用过程中起着至关重要的作用。本论文主要介绍了4通道600MSPS任意波形发生器显控软件的设计过程。其主要内容有:(1)在需求分析的基础上,确定了本软件的总体设计方案。图形开发库选定为GTK+(图像处理程序专用开发库,GNU Image Manipulation Program Toolkit,简称GTK+),波形绘制开发库选定为Matplotlib(依赖于Python的绘图工具库);(2)对本软件的整体架构进行分析,采用MVP模型(模型-视图-控制器,Model-View-Presenter,简称MVP)对软件进行设计,将本软件的图形用户界面分为数据层、显示层和控制层三个层次;(3)采用模块化的思想对本软件的显示层进行设计,将软件视图分为四个子模块分别设计;控制层完成了软件具体功能的设计,并且完成了与数据层和显示层的交互;数据层则采用分类思想对参数数据进行封装并通过IVI驱动实现了数据与硬件驱动的传输;(4)对本论文中使用最频繁的控件进行自定义设计。由于GTK+图形开发库中的原有控件不能完全满足本软件的设计需求,所以本论文对输入控件自定义设计。(5)软件测试。对本软件的测试大体分为了各功能模块的单元测试、系统集成测试和联机测试,其中单元测试包括各个模块的测试和自定义控件的测试,系统集成测试包括整个软件的测试,联机测试则是将软件与硬件连接起来进行测试。测试结果证明,本次设计的任意波形发生器显控软件界面友好、操作方便、功能完善,能完成显示和控制任意波形的功能。
[Abstract]:Arbitrary waveform generator is a new signal source, which is developed with the development of computer information technology. Arbitrary waveform generator can not only generate normal sine wave, square wave, triangle wave, but also generate modulation waveform, frequency modulation, keying and so on. More importantly, it can also generate arbitrary waveform. Therefore, arbitrary waveform generator has been widely used in modern measurement field. As an important part of arbitrary waveform generator system, display and control software plays an important role in the use of arbitrary waveform generator. This paper mainly introduces the design process of 4-channel 600 MSPS arbitrary waveform generator display and control software. The main contents are as follows: (1) on the basis of requirement analysis, the overall design scheme of this software is determined. The graphics development library is selected as GTK (GNU Image manipulation Program Toolkit), and the waveform drawing development library is Matplotlib (Python-dependent drawing tool library); (2) to analyze the whole architecture of the software. MVP model (Model-View-Presenter-MVP) is used to design the software. The graphical user interface of the software is divided into three layers: data layer, display layer and control layer. (3) the display layer of the software is designed with the idea of modularization. The software view is divided into four sub-modules, the control layer completes the design of the specific functions of the software, and the interaction with the data layer and the display layer is completed. The data layer encapsulates the parameter data with the idea of classification and transfers the data with the hardware driver through the IVI driver. (4) the most frequently used controls in this paper are customized. Since the original controls in GTK graphics development library can not fully meet the design requirements of the software, this paper customizes the design of input controls. (5) Software testing. The testing of this software is divided into three parts: unit test of each function module, system integration test and on-line test. The unit test includes the test of each module and the test of custom control, and the system integration test includes the test of the whole software. Online testing is testing software and hardware. The test results show that the display and control software of arbitrary waveform generator designed in this paper has friendly interface, convenient operation and perfect function, and can display and control arbitrary waveform.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TM935
本文编号:2123786
[Abstract]:Arbitrary waveform generator is a new signal source, which is developed with the development of computer information technology. Arbitrary waveform generator can not only generate normal sine wave, square wave, triangle wave, but also generate modulation waveform, frequency modulation, keying and so on. More importantly, it can also generate arbitrary waveform. Therefore, arbitrary waveform generator has been widely used in modern measurement field. As an important part of arbitrary waveform generator system, display and control software plays an important role in the use of arbitrary waveform generator. This paper mainly introduces the design process of 4-channel 600 MSPS arbitrary waveform generator display and control software. The main contents are as follows: (1) on the basis of requirement analysis, the overall design scheme of this software is determined. The graphics development library is selected as GTK (GNU Image manipulation Program Toolkit), and the waveform drawing development library is Matplotlib (Python-dependent drawing tool library); (2) to analyze the whole architecture of the software. MVP model (Model-View-Presenter-MVP) is used to design the software. The graphical user interface of the software is divided into three layers: data layer, display layer and control layer. (3) the display layer of the software is designed with the idea of modularization. The software view is divided into four sub-modules, the control layer completes the design of the specific functions of the software, and the interaction with the data layer and the display layer is completed. The data layer encapsulates the parameter data with the idea of classification and transfers the data with the hardware driver through the IVI driver. (4) the most frequently used controls in this paper are customized. Since the original controls in GTK graphics development library can not fully meet the design requirements of the software, this paper customizes the design of input controls. (5) Software testing. The testing of this software is divided into three parts: unit test of each function module, system integration test and on-line test. The unit test includes the test of each module and the test of custom control, and the system integration test includes the test of the whole software. Online testing is testing software and hardware. The test results show that the display and control software of arbitrary waveform generator designed in this paper has friendly interface, convenient operation and perfect function, and can display and control arbitrary waveform.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TM935
【参考文献】
相关硕士学位论文 前1条
1 赵健;基于人机交互理论的测量仪器显示界面研究[D];天津大学;2008年
,本文编号:2123786
本文链接:https://www.wllwen.com/kejilunwen/dianlilw/2123786.html