Font Size: a A A

The Software Design Of64Channels Bus Analyzer Mosule

Posted on:2014-12-16Degree:MasterType:Thesis
Country:ChinaCandidate:M X ChenFull Text:PDF
GTID:2268330401964726Subject:Measuring and Testing Technology and Instruments
Abstract/Summary:PDF Full Text Request
With the development of bus technology, it’s necessary to develop integrated andmulti-functional bus analyzers. This bus analyzer is a test instrument which can do dataanylysis in64channels based on CPCI bus.It integrates logic analyzer’s and datagenerator’s function. It not only can realize data anylysis function, but also can realizedata generation function.The design content of bus analyzer mainly includes the design of soft panel andinstrument driver, soft panel complete parameter settings, the wareform drawing and thedisplay of datalis and the analysis of CAN/LIN, USB, and ARIC429SBP, realize thedata generation of various types of code pattenrn data. The main contens are as follow:(1)The soft panel design of logic analysis unit. It used nulti-threading technology,create a data acquisition thread, a waveform drawing thread and a datalist filled thread.It also used event and critical section to realize the synchronization of threads tocomplete the control of complex system better. It used double buffering technology inwaveform drawing to solve the problem of waveform flashing caused by the frequentrefreshment of waveform, realized the display of waveform in single and continuousstate. Except for this, it also realize to display the waveform by datalist. The dataliat canswitch different display state in single and continuous mode. It also used virtual list toinsert mass data quickly.(2)The soft panel design of data generator unit. It also used virtual list in the edit ofdata block, Open a thread to output datablocks,used the technology of window subclassto edit and display datas, let the list control have the function of edit box and users canview and modify edit box very convenient. It realize code pattern data generationinsingle and continous circulation.(3)Analyze CAN/LIN,USB,ARINC429bus protocol standard, gives trigger andanalysis process of each bus protocol.(4)Analyze the design of instrument driver, using dynamic link library to realizesthe drive layer of instrument. This paper introduces the technology of dynamic linklibrary and the main instrument driver function At last, this paper summarizes the various testing methods used in VC andanalyzes the various problems encountered during testing.
Keywords/Search Tags:Bus analysis, Logic analysis, Data generate, Protocol analysis
PDF Full Text Request
Related items