【正文】
W 圖形化語(yǔ)言,即 G 語(yǔ)言構(gòu)成。這個(gè)連接器定義了這個(gè) VI 的輸入和輸出。但是,面向?qū)ο笳Z(yǔ)言有很多的優(yōu)點(diǎn),那也就是為什么有幾個(gè)可以讓你在 G 語(yǔ)言中編寫(xiě)面向?qū)ο蟮拇a的工具包,就是通常所說(shuō)的 GOOP( G ObjectOriented Programming)。 LabVIEW 也能夠使用通用目的的總線接口便利地傳輸數(shù)據(jù),或是串行總線接口。 原文: What Exactly Is LabVIEW, and What Can It Do for Me? labview for evetyone Labview short for Laboratory Virtual Instrument Engineering Workbench, is a programming environment in which you create programs using a graphical notation Times New Roman 小二號(hào) ,加粗, 段前段后均為 行 原文來(lái)源, Times New Roman 小四號(hào) (connecting functional nodes via wires through which data flows)。s actions. Its execution is based on the principle of dataflow, in which functions execute only after receiving the necessary data. Because of these features, you can learn LabVIEW even if you have little or no programming experience. However, you will find that a knowledge of programming fundamentals is very helpful. How Does LabVIEW Work? A LabVIEW program consists of one or more virtual instruments (VIs). Virtual instruments are called such because their appearance and operation often imitate actual physical instruments. However, behind the scenes, they are analogous to main programs, functions, and subroutines from popular programming languages like C or Basic. Hereafter, we will refer to a LabVIEW program as a VI (pronounced vee eye, NOT the Roman numeral six, as we39。s also what we call a LabVIEW program. Because their functionality is softwaredefined by the user, virtual instruments are extremely flexible, powerful, and costeffective. This chapter explains how to municate with the outside world (., take measurements, talk to an instrument, send data to another puter) using LabVIEW. We39。) 。ve worked with objectoriented languages before such as C++ or Java, you should know that LabVIEW and G in it simplest form is not truly an objectoriented language. However, objectoriented programming can provide many benefits, which is why there are several toolkits that let you write objectoriented code in G, known as GOOP (G ObjectOriented Programming). For more information on GOOP, see Appendix D, LabVIEW ObjectOriented Programming. Virtual instrumentation is the foundation for the modern laboratory. A virtual instrument consists of a puter, software, and modular hardware。t need to know!) Graphical programming allows you to concentrate on the flow of data within your application, because its simple syntax doesn39。 LabVIEW 可以控制 DAQ 裝置讀模擬信號(hào)( A/D 轉(zhuǎn)換),產(chǎn)生模擬輸出信號(hào)( D/A轉(zhuǎn)換),讀寫(xiě)數(shù)字信號(hào),操縱車(chē)載計(jì)數(shù)器來(lái)進(jìn)行頻率測(cè)量,脈沖發(fā)生,正交編碼測(cè)量等,用傳感器來(lái)接口。例如, LabVIEW 能夠命令插入式的數(shù)據(jù)采集設(shè)備去獲得或產(chǎn)生模擬或數(shù)字信號(hào)。此外,很多低級(jí)的子 VIs 通常完成幾個(gè)應(yīng)用程序中都有的任務(wù),那么它就被每個(gè)獨(dú)立的應(yīng)用程序調(diào)用。圖標(biāo)是子 VI 的圖形化表示,在另一個(gè) VI 的框圖程序中作為一個(gè)對(duì)象使用。前面板可以包括旋鈕、按鈕、圖形和許多其他的控件(用戶(hù)輸入)以及指示器(程序的輸出)。但是,你將發(fā)現(xiàn)編程的基礎(chǔ)知識(shí)是很有用的。 LabVIEW 程序在平臺(tái)之間是可移植的,因此,你可以在 macintosh 操作系統(tǒng)平臺(tái)上寫(xiě)程序,然后在一個(gè)裝有 windows 操作系統(tǒng)的機(jī)子上 加載并運(yùn)行程序,而且在大多數(shù)的應(yīng)用程序中沒(méi)有改變?nèi)魏螙|西。 LabVIEW 試圖讓你的生活變得盡可能的簡(jiǎn)單, LabVIEW 里擁有大量的函數(shù)庫(kù)和子例程,對(duì)你的大部分編程任務(wù)都是有幫助,同時(shí)避免了傳統(tǒng)語(yǔ)言中忙亂的指針,內(nèi)存分配和其他神秘的編程問(wèn)題。 許多使用功能強(qiáng)大的圖形化編程語(yǔ)言 LabVIEW 的用戶(hù)親切的稱(chēng)之為“ G”語(yǔ)言(取自 graphical), LabVIEW 能夠