【正文】
) 。s builtin USB, Ether, Firewire (also known as IEEE 1394), or serial port. GPIB is frequently used to municate with oscilloscopes, scanners, and multimeters, and to drive instruments from remote locations. LabVIEW software can also control sophisticated VXI hardware instrumentation systems, Ether, or USBbased instruments. Once you have acquired or received your data, you can use LabVIEW39。 you can learn more about acquiring data, controlling instruments, and working your puter with LabVIEW in the second half of this book. In this chapter, you39。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。s pictorial representation and is used as an object in the block diagram of another VI. A VI39。s source code, constructed in LabVIEW39。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。t need to know!) Graphical programming allows you to concentrate on the flow of data within your application, because its simple syntax doesn39。t know how textbased languages use these, don39。s graphical nature, it is inherently a data presentation package. Output appears in any form you desire. Charts, graphs, and userdefined graphics prise just a fraction of available output options. This book will show you how to present data in all of these forms. LabVIEW39。 原文: What Exactly Is LabVIEW, and What Can It Do for Me? labview for evetyone Labview short for Laboratory Virtual Instrum