Font Size: a A A

Plug-in Arbitrary Waveform Generator Display Control Software Design

Posted on:2019-07-13Degree:MasterType:Thesis
Country:ChinaCandidate:J J ZhangFull Text:PDF
GTID:2348330563954012Subject:Instrument Science and Technology
Abstract/Summary:PDF Full Text Request
Display and control software is the window of interaction between human and information of arbitrary waveform generator,which directly decides the design of arbitrary waveform generator.The traditional arbitrary waveform generator display and control software needs to make a lot of changes to the software code of the display and control software,which greatly increases the workload of the software developers,when the code coupling is too high.In order to improve the scalability and portability of the display control software,this design adopts the plug-in mode of thinking,which makes the modules with relatively independent functions as plug-ins,ensures the independence,isolation and extensibility in function,and increases the transplantability of the code,and greatly reduces the code writing in the development of new products in the same line.The workload of personnel has far-reaching significance for the development of display and control software of arbitrary waveform generator.The main contents are as follows:1.Based on plug-in software architecture design.The requirement analysis of display and control software is carried out in detail,and modules with relatively independent functions are designed as plug-ins,and the plug-ins communicate with each other through interface functions.In the interior of the plug-in,MVP(Model,View,Presenter)(model,view,logic)design mode is used to decouple the three layer structure,and the MVP group scheme is designed.Through the signal mechanism,the communication between multiple MVP in the plug-in can be realized,a large number of redundant codes are reduced,and the maintainability and extensibility of the software are improved.2.The waveform attribute and the channel attribute are completely decoupled.The waveform attributes and channel attributes are implemented through different plug-ins.The plug-ins are relatively independent,and communicate only through a unified interface.The waveform related attributes are managed by the waveform management plug-in,and the channel related attributes are managed by the basic attribute plug-in of the channel.The waveform attributes and the channel attributes are completely decoupled,and the coupling degree of the code is greatly reduced.3.Binding mechanism.The display control software contains a large number of views and data.In the process of operation,the bidirectional binding between the view layer to the model layer,the model layer to the view layer,and the bidirectional binding between the view layer and the model layer are needed.The complexity of the logic layer can be greatly reduced by the binding mechanism,and the maintainability of the code can be improved.4.GTK(GIMP Toolkit)theme design.In view of the monotonous and low aesthetic color of the display control software,the index is indexed at different levels through the different types of controls or containers.To find the modified controls to set the style,not only improves the beauty and ease of operation of the display control software,but is not the name of the control or container in the subject.Indexing also improves the portability of the code,and is suitable for more display and control software.After testing and verification,the display control software can output 11 types of function wave,arbitrary wave,13 modulation mode modulation wave,sequence wave and complex sequence wave,support custom waveform name,modify the parameters of the output waveform in real time,set sequence wave and complex sequence wave reduplication times and jump marks.By using the above method,the display and control software is designed,which greatly improves the portability,maintainability and extensibility of the code.
Keywords/Search Tags:display and control software, plug-in software structure, waveform attribute, binding mechanism
PDF Full Text Request
Related items