Synthetic Instrument (SI) is the trend of the next generation of automatic testsystem. It has a huge role in promoting the improvement of the modern test systems.The synthetic instrument is the combination of some independent hardware andsoftware modules, and in order to form a new emulation instrument system. The essenceof the SI is a kind of testing program which is an integration of hardware and software.The testing program’s purpose is to build a general architecture which is a functionalvariable system, and to form a scalable automated test system. To meet the new testrequirements, SI can help introduce some new technologies to update the automatic testsystem.Some modules of the synthetic instrument can be reused in different testenvironments. It contributes to lower the total cost and to prolonging the life of thesystem. At the same time, it also can reduce the cost for product updates. The nextgeneration of automatic test system will be more effective and flexible because of SI.A good instrument interface must be easy to operate and complete data processing.In addition, it must have a good control performance. This paper has completed thesoftware design of the synthetic instrument’s interface which is based on C/C++language. Taking into account the overall demand, the interface mainly consists of threeparts. They are bridges between the hardware and software, the operation interface andthe data analysis and processing.The main interface is responsible for user’s operation, the waveform displaying andthe analysis. This paper uses the MFC to display waveform in scrolling way. Thecommunication part is mainly for the data transmission between the server and theclient. The client gets number of valid data from the hardware to provide to the displayand analysis. The function of communication between Software and hardware isimplemented by the communication module, which is based on TCP/IP protocol andachieved through the Winsock network programming. Data analysis and processing isthe core of the entire software system. It relates to the accuracy, reliability andefficiency of the software. This part has two major works need to be finished. One ofthem is reading the data, the other one is displaying the results which is for thewaveforms display and measurement. Mixed programming method by VC andMATLAB is used in this paper to complete the spectrum analysis and display. This paper mixed MATLAB, CVI and socket in VC to program the wholesoftware design. This method has reduced the complexity of the programming, and isworth learning and reference. |