Font Size: a A A

Design Of Waveform Display And Processing Software Based On Python/C Mixed Programming

Posted on:2021-05-10Degree:MasterType:Thesis
Country:ChinaCandidate:R N ZhangFull Text:PDF
GTID:2392330623968591Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of electronic information technology,users have increasingly higher requirements for the performance of measuring instruments such as digital oscilloscopes.High-speed waveform display and processing software,as the upper computer software of digital oscilloscope,also needs continuous innovation to improve performance,so as to meet more complex and changeable measurement requirements.Based on the requirements of the optical stretching acquisition system project,this paper designs and implements a waveform display processing software for high-speed acquisition system applications.The article focuses on the waveform display and waveform processing parts of high-speed acquisition data;at the same time,the PCIExpress bus driver design is completed In order to obtain the waveform data uploaded by the acquisition hardware;and the design of the acquisition system control commands,the display format or content can be changed according to the control instructions sent by the user.The specific research content is as follows:(1)Waveform display processing software requirement analysis and overall software design.In view of the waveform display and processing requirements of the high-speed acquisition system,the key requirements of the user operation terminal,data transceiver terminal,and waveform processing terminal were analyzed in detail,and the overall including the software main control module,waveform display module and waveform processing module were completed.Design.(2)Based on PyQt(Qt's Python language package)development framework,a user interface is designed;a cursor measurement module is designed according to the user's measurement needs;a software trigger module is designed to cope with the problem of the trigger point shaking after hardware triggering The hardware completes the pre-trigger and trigger point determination.(3)Aiming at the problem that the software display refresh rate is not high due to the slow running speed of Python,based on the Python/C mixed programming technology,using the easy scalability of Python and the high-speed and flexible characteristics of C language,the functions with lower operating efficiency are carried out.Accelerate processing to realize the processing of time domain waveform and frequency domain waveform.The refresh rate of the software interface has reached 37 frames per second.(4)Based on the PCIExpress bus driver design,completed the high-speed acquisition system waveform data data receiving and sending thread design;and based on the asynchronous serial bus user operation button information receiving thread design.The thesis completed the design of the waveform display processing software,and tested and verified on the hardware platform,each module can work normally and stably.
Keywords/Search Tags:Waveform display and processing software, hybrid Programming, waveform processing, parameter measurement and analysis, user interface
PDF Full Text Request
Related items