版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領
文檔簡介
1、<p> 外文資料(一):Labview programming</p><p> The pressure switch test system, involving an important concept: the virtual instrument. Virtual instrument is the United States National Instruments Corporati
2、on (NI) out of the concept of modern computer technology and instrumentation technology in-depth integration of the product. Virtual Instrument "virtual" There are two levels of meaning: 1. A virtual control pa
3、nel, two virtual test and measurement and analysis. Virtual instrument is characterized by high-performance, scalability strong lit</p><p> LabVIEW, short for Laboratory Virtual Instrument Engineering Workb
4、ench, is a programming environment in which you create programs using a graphical notation (connecting functional nodes via wires through which data flows); in this regard, it differs from traditional programming languag
5、es like C, C++, or Java, in which you program with text. However, LabVIEW is much more than a programming language. It is an interactive program development and execution system designed for people, like scientists</p
6、><p> Using the very powerful graphical programming language that many LabVIEW users affectionately call "G" (for graphical), LabVIEW can increase your productivity by orders of magnitude. Programs t
7、hat take weeks or months to write using conventional programming languages can be completed in hours using LabVIEW because it is specifically designed to take measurements, analyze data, and present results to the user.
8、And because LabVIEW has such a versatile graphical user interface and is so easy to pro</p><p> Labiew feature continuously enriched and powerful, Labiew used for data acquisition and control, data analysis
9、 and data representation, so that engineers and scientists to take full advantage of PC functions, quickly and easily complete their own power to make. Labview main features can be summarized as follows: a graphical envi
10、ronment for two instruments into a built-in program compiler, so that run faster three flexible means of four supports multiple debugging platform 5 supports DDE function</p><p> Labiew years of development
11、 from 1986 to now, has launched a number of different versions that can support multiple popular operating systems, Labview main course of development are as follows:</p><p> 1.1983 years in April, Labview
12、Development System in the United States Austin, Texas, the successful development of</p><p> 2.1985-year in May, NI introduced the Labview Beta test version</p><p> 3.1986-year in October, NI
13、company officially released the Labview1.0 for Macintosh version of the</p><p> 4.1990-year in January, Labview2.0 came</p><p> 5.1992-year in August in support of SUN Solaris workstation and
14、PC-Labview version available</p><p> 6.1993-year in January, Labview3.0 version is developed</p><p> 7.1998-year in February, Labview5.0 version available, this version is a milestone in the h
15、istory of Labview</p><p> 8.2003 years, Labview7Express and Labview 7 Series start into the market, in the Labview 7 series, introduced a new data type - Dynamic Data Types</p><p> 9.2005 year
16、s, Labview 8 version of the interview, the version of the specific distributed, intelligent outstanding features</p><p> 10.2006, the 20th anniversary edition of Labview 8.20 an interview. 8.21 is the Chine
17、se version of</p><p> 11.2007-year in August, Labview8.5 available</p><p> 12.2008-year in August, Labview8.6 version available</p><p> After 20 years of continuous innovation, d
18、evelopment, Labview to rely on the concept of a new and unique advantages, and has maintained an efficient and powerful, and open the three basic characteristics, and gradually become the industry standard.</p>&l
19、t;p> The above describes the characteristics of Labview and development, described below how the kind of virtual instrument design</p><p> Typically, a virtual instrument design steps are as follows:<
20、;/p><p> (1). In the design window, place the front panel controls, front panel using the tool template development window, the corresponding tools, from the control template and place a good access control is
21、 needed to carry out parameter setting control properties, stickers text description tag.</p><p> (2). In the flow chart editing window, place the nodes, frame, in the flow chart editing window, use the too
22、l template corresponding tools, from a functional template and put a good access to the required icon, they are the flow chart in the "nodes" , "frame."</p><p> (3). The data flow progra
23、mming, data flow using the connection tool according to the direction of the port, node, frame in turn connected to data from the source sent to the prescribed purpose terminal operating mode.</p><p> (4).
24、Run test, when the completion of step (a), (2), (3), the front panel procedure and flow chart graphic design program is completed, a virtual instrument has been basically established, whether to achieve the desired funct
25、ionality, need to run the test. There are two kinds of test methods.</p><p> a. Simulation Test: do not use I / O interface hardware. I needed to run tests on the signal data is from "array" or &q
26、uot;signal-generating function," resulting "emulation signal."</p><p> b. Measured test: it is through the I / O interface to hardware devices, gathering input standard signal, to test the vi
27、rtual instrument capabilities. Simulation test in experimental tests carried out prior to the virtual instrument unique advantage because of its repeated testing, debugging, and constantly improve the improvement of virt
28、ual instrument is extremely convenient, is a traditional instrument can not be used in test methods.</p><p> (5).debugging techniques, use the toolbar shortcut "Run", "highlight the implement
29、ation of", "Step", "Breakpoint set" to the following steps to program debugging.</p><p> a. to identify grammatical errors, if there is a syntax error, then when start the Shortcut
30、Bar "Run" button, the button becomes a broken arrow, the program can not perform. Mouse click on the button, a list will pop up an error window, the window listed in the wrong item, and then click any one of th
31、e listed errors, click the "Find" function button, then the error object, or the port will be changed bright.</p><p> b. slow tracking program running, use the shortcut in the toolbar's "
32、highlight the implementation of" button, click the button, the button icon becomes highlighted form, and then click "Run" button, the program on a slower speed. The implementation of the code was not graye
33、d out after the implementation of the code highlighting, and display data on the value of the data stream. This allows the data flow, and track the implementation of the procedures.</p><p> c. breakpoints a
34、nd single-step, in order to check the program logic error, you may want to program a block diagram node in a node implementation. Breakpoint tool to use a certain location in the program to suspend program execution, usi
35、ng probes or single-step ways to view the data.</p><p> d. set the probe, you can view the block diagram by setting the probe to open a connection procedure by a data value.</p><p> (6). data
36、observed, when the inspection observations were found to have an error, the mouse click "Highlight Execution" button, and observe the various nodes in the data stream values.</p><p> (7). named Sa
37、ve, save the designed I.</p><p> 翻譯(一):Labiew的程序設計</p><p> 壓力開關測試系統(tǒng),涉及到一個重要的概念:虛擬儀器。虛擬儀器是美國國家儀器公司(簡稱NI)退出的概念,是現(xiàn)代計算機技術和儀器技術深層次結(jié)合的產(chǎn)物。虛擬儀器的“虛擬”有兩個層面的意思:1.虛擬的控制面板,2虛擬的測量測試與分析。虛擬儀器特點是性能高,擴展性強,開發(fā)時間少
38、,無縫集成。NI公司退出一個專業(yè)圖形化編程軟件來設計開發(fā)虛擬儀器,就是Labiew.</p><p> Labview是Laboratory Virtual Instrument Engineering Workbench的英文縮寫,它是一種圖形化的編程環(huán)境,使用圖形化的符號來創(chuàng)建程序(通過連線把函數(shù)節(jié)點連接起來,數(shù)據(jù)就是在這些連線上流動的);在 這點上,它不同于傳統(tǒng)的文本編程語言像C, C++, 或者Java
39、。然而,LabVIEW不僅僅是一種編程語言,它是專門為那些工作中需要大量編程的工程師和科學家們設計的一種交互式的程序程開發(fā)和執(zhí)行的系 統(tǒng)。LabVIEW開發(fā)環(huán)境可以工作在裝有Windows, Mac OS X, 或Linu任何一種操作系統(tǒng)的計算機上。LabVIEW創(chuàng)建的程序可以在上述平臺上運行,同時也可以運行于Microsoft Pocket PC, Microsoft Windows CE, Palm OS和大量的嵌入式平臺,包括現(xiàn)場
40、可編程門陣列(FPGAs),數(shù)字信號處理器(DSPs)和微處理器。</p><p> 許多使用功能強大的圖形化編程語言LabVIEW的用戶親切的稱之為“G”語言(取自graphical),LabVIEW能夠讓你的開發(fā)效率提高 幾個數(shù)量級。使用傳統(tǒng)語言可能需要幾周或者幾個月才能完成的程序,如果用LabVIEW編寫,幾個小時就能完成,其中一個原因是LabVIEW是專為用戶 設計的,用來進行測量,分析數(shù)據(jù)和顯示結(jié)果。
41、另一個原因是LabVIEW有豐富的圖形化用戶接口(GUI),使用這些接口使編程變得很容易。它也非常適合 用來進行仿真,表述思想,編寫一般程序,或者講述基本編程概念。</p><p> Labiew的功能不斷豐富和強大,Labiew用來進行數(shù)據(jù)采集與控制,數(shù)據(jù)分析和數(shù)據(jù)表達,使工程師和科學家能充分利用PC的功能,快速簡便的完成自己的功作。Labview主要特點可以概括如下:1圖形化的儀器變成環(huán)境2內(nèi)置的程序編譯器
42、,使運行速度加快3靈活的程序調(diào)試手段4支持多種系統(tǒng)平臺5支持DDE等功能。</p><p> Labiew從1986年發(fā)展至今,已經(jīng)推出數(shù)個不同版本,可以支持多個目前流行的操作系統(tǒng),Labview主要發(fā)展歷程如下:</p><p> 1.1983年4月,Labview開發(fā)系統(tǒng)在美國德克薩斯州奧斯汀研制成功</p><p> 2.1985年5月,NI公司推出了L
43、abview Beta測試版</p><p> 3.1986年10月,NI公司正式發(fā)布了Labview1.0 for Macintosh版本</p><p> 4.1990年1月,Labview2.0問世</p><p> 5.1992年8月,支持SUN Solaris工作站和PC的Labview版本面世</p><p> 6.199
44、3年1月,Labview3.0版本開發(fā)完成</p><p> 7.1998年2月,Labview5.0版本面世,該版本是Labview歷史上有一個里程碑</p><p> 8.2003年,Labview7Express和Labview 7系列開始推向市場,在Labview 7系列中,引入了新的數(shù)據(jù)類型—動態(tài)數(shù)據(jù)類型</p><p> 9.2005年,Labvi
45、ew 8版本面試,該版本具體分布式,智能化的優(yōu)異特性</p><p> 10.2006年,20周年紀念版Labview 8.20面試。8.21是中文版本</p><p> 11.2007年8月,Labview8.5面世</p><p> 12.2008年8月,Labview8.6版本面世</p><p> 經(jīng)過20年的持續(xù)創(chuàng)新,發(fā)展,
46、Labview依靠全新的概念和獨特的優(yōu)勢,并一直保持著高效和強大和開放這3個最基本的特征,逐步成為業(yè)界標準。</p><p> 上面介紹了Labview的特點與發(fā)展,下面介紹虛擬儀器是怎么樣設計的 通常,一個虛擬儀器的設計步驟如下: (1).在前面板上設計窗口放置控件,在前面板開發(fā)窗口使用工具模板中的相應工具,從控制模板中取用和放置好所需控件,進行控件屬性參數(shù)設置,標貼文字說明標簽。 (2).在流
47、程圖編輯窗口,放置節(jié)點、圖框,在流程圖編輯窗口,使用工具模板中相應工具,從功能模板中取用并放置好所需圖標,它們是流程圖中的“節(jié)點”、“圖框”。 (3).數(shù)據(jù)流程編程,使用連線工具按數(shù)據(jù)流的方向?qū)⒍丝?、?jié)點、圖框依次相連,實現(xiàn)數(shù)據(jù)從源頭按規(guī)定的運行方式送到目的終點。 (4).運行檢驗,當完成步驟(1)、(2)、(3)后,前面板程序與流程圖圖形化程序的設計完畢,一個虛擬儀器已經(jīng)基本建立,是否達到預期功能,還需運行檢驗。有如下兩種
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 外文翻譯---visual c++程序設計
- php與mysql程序設計【外文翻譯】
- visual c++程序設計外文翻譯
- 面向?qū)ο蟪绦蛟O計外文翻譯2
- 外文翻譯---visual c++程序設計
- 連續(xù)潮流的程序設計外文翻譯(中文)
- 外文翻譯----mfc程序設計與c++相關技術
- vb程序設計例題-程序改錯程序填空程序設計
- 最簡單的c程序設計――順序程序設計
- 程序設計教案 程序設計——數(shù)據(jù)結(jié)構(gòu)
- 4最簡單的c程序設計順序程序設計1
- 自動程序設計
- 894程序設計
- 程序設計實習
- android程序設計
- 程序設計類
- java程序設計
- 5132程序設計
- 1程序設計語言1程序設計語言的分類
- 計算機程序設計基礎vb語言程序設計
評論
0/150
提交評論