Font Size: a A A

Software Design Of Multi-channel Parallel Acquisition System

Posted on:2021-03-16Degree:MasterType:Thesis
Country:ChinaCandidate:D LiuFull Text:PDF
GTID:2428330620964225Subject:Engineering
Abstract/Summary:PDF Full Text Request
At present,in the industrial test,the requirement of multi-channel real-time sampling of test instrument is higher and higher.It often needs several or even dozens of high-performance oscilloscopes to work at the same time to provide hundreds of channels for it to display and collect data in real time.Therefore,it is urgent to develop an acquisition module which can realize multi-channel parallel acquisition.It can be seen from the development trend of the instrument that the development of software operation instrument based on the hardware platform has a broad prospect.It can use the advantages of software to solve the problems of slow processing data and limited storage capacity of hardware,improve the working efficiency of the instrument,and save the development cost.This project is a multi-channel parallel acquisition software system based on PXI board.With the powerful storage capacity and data processing capacity of the computer,the data collected by the hardware can be handed over to the computer for processing to realize the synchronous display of 16 channels.This paper will focus on the design of multi-channel parallel acquisition software.By analyzing the functions of the acquisition system,this paper introduces the design of instrument driver,application layer and drawing optimization.The main research contents are as follows:1.The instrument driver of the acquisition module has designed the related function to realize the control of the hardware.The configuration information of the relevant parameters is obtained by the control command issued by the application program,and the corresponding control word is sent to the FPGA port through the interface function to realize the configuration of the channel,sampling rate and trigger of the instrument.The collected data is sent to the data buffer for processing and then displayed in the form of waveform.2.The application layer software of the acquisition module mainly designs the software panel of the multi-channel parallel display system to realize the function of waveform display and parameter configuration.The adaptive display interface is designed to realize the functions of instrument search,channel selection,interface display and control.In the design,each instrument identified is divided into a separate class,and each functional module is designed separately to facilitate the development and maintenance of subsequent functions.At the same time,multithreading technology is used to realize parallel acquisition of multi-channel and adaptive display of interface.3.Optimize the drawing design,improve the drawing speed and refreshing rate of the waveform.Qcustomplot is used to improve the drawing efficiency by using its adaptive sampling technology and text object cache.Furthermore,by using OpenGL technology to enable hardware acceleration,the efficiency of virtual instrument drawing waveform is improved.Through batch processing of the waveform data read many times,more details of the waveform will be displayed,while reducing the drawing time to improve the refresh rate of the waveform.
Keywords/Search Tags:Data Acquisition Module, Adaptive Display, Waveform Capture Rate, OpenGL
PDF Full Text Request
Related items