【正文】
西北師范大學(xué)物理與電子工程學(xué)院 2020 屆畢業(yè)論文 基于 LabVIEW的虛擬儀器設(shè)計(jì)實(shí)驗(yàn) 張巧梅 專業(yè):電子信息工程 摘 要: 隨著電子技術(shù)、計(jì)算機(jī)技術(shù)的高速發(fā)展及其在電子測(cè)量技術(shù)與儀器領(lǐng)域中的應(yīng)用,新的測(cè)試?yán)碚摗⒎椒ㄒ约靶碌膬x器結(jié)構(gòu)不斷出現(xiàn), 虛擬儀器也隨之出現(xiàn)并得到了很大的發(fā)展 。 目前在這一領(lǐng)域內(nèi),使用較為廣泛的計(jì)算機(jī)語(yǔ)言是美國(guó) NI 公司的 LabVIEW。 LabVIEW( Laboratory Virtual instrument Engineering Workbench)是一種圖形化的編程語(yǔ)言開發(fā)環(huán)境, LabVIEW 也是一種通用編程系統(tǒng),具有各種各樣、功能強(qiáng)大的函數(shù)庫(kù),包括數(shù)據(jù)采集、 GPIB、串行儀器控制、數(shù)據(jù)分析、數(shù)據(jù)顯示及數(shù)據(jù)存儲(chǔ),甚至還有目前十分熱門的網(wǎng)絡(luò)功能 , 是一個(gè)功能強(qiáng)大且靈活的軟件 。 LabVIEW 也有完善的仿真、調(diào)試工具,如設(shè)置斷點(diǎn)、單步等 ,其 動(dòng)態(tài)連續(xù)跟蹤方式,可以連續(xù)、動(dòng) 態(tài)地觀察程序中的數(shù)據(jù)及其變化情況, 并且 LabVIEW 與其它計(jì)算機(jī)語(yǔ)言相比,有一個(gè)特別重要的不同點(diǎn):其它計(jì)算機(jī)語(yǔ)言都是采用基于文本的語(yǔ)言產(chǎn)生代碼行,而 LabVIEW 采用圖形化編程語(yǔ)言 G語(yǔ)言。 關(guān)鍵詞 LabVIEW 軟件 虛擬儀器 實(shí)驗(yàn)設(shè)計(jì) Abstract: With the electronic technology, puter technology39。s rapid development in electronic measurement and instrument field of application of testing new theories, Virtual instrument has emerged and obtained very big development. Now in this field, Using a wide range of puter language is the NI pany LabVIEW. LabVIEW is a kind of graphical programming language,of the development environment. LabVIEW also is a kind of mon programming system, With various and powerful function, Including data acquisition, GPIB, Serial instrument control, Data analysis, Data display and data storage, Even now very popular work function, Is a powerful and flexible software. 西北師范大學(xué)物理與電子工程學(xué)院 2020 屆畢業(yè)論文 LabVIEW also have simulation and Debugging tools. If set breakpoint and Singlestep etc. The dynamic continuosly, Can continuously and dynamic observations of the data and programs. And with other puter language LabVIEW have a particularly important difference: Other puter language is based on the text of the language code, but LabVIEW using graphical programming language G language. Keywords: LabVIEW Software Virtual instrument Experiment 西北師范大學(xué)物理與電子工程學(xué)院 2020 屆畢業(yè)論文 目 錄 引言 ................................................................ 4 .................................................. 4 .虛擬儀器概念 ............................................... 4 .虛擬儀器的特點(diǎn) ............................................. 4 .虛擬儀器的分類 ............................................. 5 .虛擬儀器的軟件開發(fā)環(huán)境 ..................................... 5 LabVIEW ............................................ 5 . LabVIEW 概述 ................................................ 5 . LabVIEW 的使用 .............................................. 6 3. LabVIEW 虛擬儀器實(shí)驗(yàn) ............................................. 7 .一個(gè)虛擬溫度報(bào)警器 ......................................... 7 .此實(shí)驗(yàn)的前面板設(shè)置 .................................... 7 .此實(shí)驗(yàn)的程序框設(shè)置 .................................... 7 .結(jié)果演示 ............................................. 13 .一個(gè)虛擬示波器 ............................................ 14 .前面板設(shè)置 ........................................... 14 .函數(shù)程序框圖 ......................................... 19 .演示結(jié)果 ............................................. 21 .一個(gè)虛擬濾波器 ............................................ 23 .前面板設(shè)置 ........................................... 23 程序框設(shè)計(jì) ............................................ 23 .運(yùn)行結(jié)果: .