A spectrum analyzer based on the virtual instrument is introduced in this thesis. This spectrum analyzer is able to analyze the auto-power spectrum, amplitude spectrum and phase spectrum, which can recognize 0.01 Hz. The author aims to analyze the detailed operating results of virtual spectrum analyzer by discussing the design and realization of this kind of analyzer, which proves the feasibility of the design.