论文部分内容阅读
为对信号进行频谱分析并降低系统成本,设计了一种基于LabVIEW8.2环境的虚拟频谱分析仪。该仪器可对内部信号(包括LabVIEW产生的基本信号和函数信号、磁盘中的.WAV音频信号)及外部信号(包括.MP3文件、信号发生器产生的信号)进行频谱分析。与大多数同类软件相比,该仪器可以利用电脑自身所带的声卡对外部信号发生器产生的信号进行“模拟-数字”转换,并以.BMP图片格式保留实验结果。此外,尽管该仪器在LabVIEW环境下开发,但通过生成.EXE文件的方式,可使其在没安装LabVIEW环境的PC机正常运行。实验结果表明,在误差允许的范围内,该仪器完全可替代传统频谱分析仪的作用。
In order to analyze the signal spectrum and reduce the system cost, a virtual spectrum analyzer based on LabVIEW8.2 environment was designed. The instrument analyzes the internal signals, including the basic and function signals generated by LabVIEW, the .WAV audio signals from the disk, and external signals, including .MP3 files and signals generated by signal generators. Compared with most similar software, the instrument can use the computer’s own sound card on the signal generated by the external signal generator “analog digital ” conversion, and the BMP image format to retain the experimental results. In addition, although the instrument was developed in the LabVIEW environment, it can be generated in a non-LabVIEW environment by running an .EXE file. Experimental results show that the instrument can completely replace the traditional spectrum analyzer within the allowable error range.