摘要:由于现代科学技术的不断进步,传统的台式仪器得到发展,仪器的性能更加完善,精度也越来越高。但是传统的仪器只能够实现固定的厂家设定好的功能,不可以与其他机器联合使用且只能人工控制。而基于计算机声卡的虚拟仪器技术,在采样频率不高的情况下,通过在LABVIEW环境中对声卡进行编程控制,便可以研制出一种结构简单,操作方便,成本较低的数字示波器。在硬件的选择上,本设计会采用普通声卡,因为其在测量频率不高的条件下,某些性能甚至要比商用数据采集卡更好,且价格低廉,因此选用普通声卡从而降低研究成本。利用LABVIEW来进行虚拟示波器设计的第一步是对虚拟示波器的整体进行设计,熟练掌握LABVIEW的具体操作章程以及声卡的使用,最后利用LABVIEW的特有的图形化程序语言对每一个功能模块进行设置。91150
毕业论文关键词:LABVIEW, 声卡, 虚拟仪器,示波器
Abstract:Due to the progress of modern science and technology, traditional desktop instrument is developed。The performance of the instrument is to be more perfect and precision is also more and more high。But the traditional desktop instrument just has a closed function;it cannot be used for single use and can only manual operation。Moreover,the technology of virtual instrument based on the computer sound card,which is under the condition of low sample frequency,can develop a kind of digital oscilloscope with simple structure,easy operation and lower cost by programming sound card under the environment of LABVIEW。 As regard as the selection of hardware,I will choose common sound card instead of commercial Data Acquisition Card because of its low cost and better performance under the condition of low measurement frequency, so I will choose the common sound card to reduce study expenditure。The first step of using LABVIEW to design virtual oscilloscope is integrated designing it。Then proficient master all about the LABVIEW and the use of sound card。Finally,I will use the graphical programming language of LABVIEW to set and redesign per function module。
Keywords: LABVIEW, sound card,virtual instrument,oscilloscope
目录
1前言 5
1。1本课题的研究背景及意义 5
1。2虚拟仪器的概述 6
1。4本文研究内容 7
2示波器的硬件设计 7
2。1声卡的硬件结构 8
2。2声卡的技术参数 9
2。2。1采样位数 9
2。2。2采样频率 10
2。2。3缓冲区 10
2。2。4衰减电路 10
3LabVIEW编程环境介绍 11
3。1LabVIEW简介 11
3。2LabVIEW的编程环境 11
3。2。1G语言简述 11
3。2。2启动界面 11
3。2。3前面板和程序框图 13
3。2。4菜单栏 13
3。2。5工具栏 13
3。2。6控件选板 13
4软件设计