Font Size: a A A

Function Generator Based On Ivi - Com Driver Design

Posted on:2013-10-21Degree:MasterType:Thesis
Country:ChinaCandidate:Y LeiFull Text:PDF
GTID:2248330374986082Subject:Measurement technology and instruments
Abstract/Summary:PDF Full Text Request
With the increasing complexity of the measured object and the increasingly progressiveness of the test equipment, automated testing replace manual testing to become the inevitable trend of the test filed. Instrument modes are constantly undergoing change, in particular, the virtual instrument which combined by instrument and computer technology, as a new type of instrument mode, guide the field of automated testing. The communication of computer and instrument depends on the software and this so-called core of the software, is the instrument driver, because of the driver, the order issued by the computer, can be correctly implement by the hardware. However, when we replace the underlying instrument, the test program must be rewritten, but the emergence of the interchangeable virtual instrument technology, which greatly improved this situation. With the improvement of test requirements and the development of computer technology, the software industry is increasingly moving in the direction of the component-based software. CORBA and COM are on behalf of the component technology, IVI Foundation brings the component technology into the development of the instrument drivers, and select the combination of COM and IVI technology, which put forward the concept of IVI-COM driver.In this paper, we study the IVI-COM driver of the function generator, using the Visual C++6.0ATL development environment. Mainly do the following tasks: program the code of IDL files corresponding to the different functional groups of the function denerator, including:the design of the IviDriver interface which is the IVI inherent functional group key interface, the design of the IviFgenBase interface which is belong to the base functional group of the function generator the design of the IviFgenStdFunc interface and the IviArbWfm interface which are belong to the expansion functional group of the function generator, give detailed flow chart of the key code of Configure and Initialize function, successfully generated a dynamic link library, give progID of the reference component, successfully complete the development of the driver, analy the application of the entire driver from the overall, has a successful call of the Specific Driver function, and correctly implement the read、 write and modify operations on the configuration library, compared to MAX software, we develop a simple configuration panel、initialized soft panel and instrument panel in LabWindows/CVI.We verify the driver from software and hardware two aspects, call the dirver in VC and CVI, give the application program which make the instrument give the sine wave, and set the amplitude and frequency, the final compilation is successful. Operating corresponding soft panel can modify the amplitude and the frequency. At last, we use the LXI technology to call the driver, which combinate the subject project, successfully pass the SCPI syntax test, get the correct response by sending the command*IDN.
Keywords/Search Tags:drivers, function generator, COM, IVI, ATL
PDF Full Text Request
Related items