| The laser seeker ecabin is the key component of missilery, it plays a very important role in detecting and tracking target objects. It provides important guarantee for precise control and guide for missilery system. Therefore, It is of great importance for a laser seeker ecabin to be debugged and detected before it is used because they are prerequisitions of ensuring the security and reliability of laser seeker ecabin. Thus providing a general and automatic testing system will take a great deal of function for weaponry.The testing system software implements the mainly following functions which are required by seeker ecabin system: (1) It can accomplish automatic acquisition of data. (2) According to the eligible index of testing items, it can analyse and process acquisition data. Meanwhile, it also can judge whether the tested item is eligible and display testing results. (3) The results of acquisition which include data and waveform can be seen. The operations to data files including deleting, backuping and restoring are realized. (4) The revision to parameters of all channels can be conveniently updated by revision and display module to parameters. (5) The amplitude and period of waveform are conveniently tested. In addition, it can properly zoom and analyze acquisition waveform. During the details of implementation, it mainly involves bidirectional communication between PC and TDS2014B DSO which is a programming instrument and has a GPIB interface. In other words, it can implement PC to control TDS2014B DSO by the command sets of TDS2014B DSO. At the same time, PC can acquire data from TDS2014B DSO. Then the acquisition data is analyzed and studied in detail by PC in order to test on correlative index and make a judge whether the testing items are eligible. When we draw the curves of signal waveform, we adopt the Akima curve smoothed algorithm in order to approach the real signal waveform. The purpose is to analyze the acquisition signal more accurately and make a reasonable and accurate judge.The author accomplishes all the work relating to the software including analyzing the user's demand, designing all the algorithms, doing the total design of software, programming, debugging the system and so on. The technologies including programming TDS2014B DSO, using C++ Standard Template Library(STL), unifying the screen displaying and paper printing of data, the registering table... |