Laboratory Virtual Instrument Engineering Workbench (LabVIEW)[1]: 3 is a graphical system design and developmentplatform produced and distributed by National Instruments, based on a programming environment that uses a visual programming language. It is widely used for data acquisition, instrument control, and industrial automation. It provides tools for designing and deploying complex test and measurement systems.
The visual (aka graphical) programming language is called "G" (not to be confused with G-code). It is a dataflow language originally developed by National Instruments.[2] LabVIEW is supported on a variety of operating systems (OSs), including macOS and other versions of Unix and Linux, as well as Microsoft Windows.
The latest versions of LabVIEW are LabVIEW 2024 Q3 (released in July 2024) and LabVIEW NXG 5.1 (released in January 2021).[3] National Instruments released the free for non-commercial use LabVIEW and LabVIEW NXG Community editions on April 28, 2020.[4]
Dataflow programming
The programming paradigm used in the LabVIEW "G" language is based on data availability. If there is enough data available to a function, it will execute. The execution flow is determined by the structure of a graphical block diagram (the LabVIEW-source code) on which the programmer places nodes and connects them by drawing wires. A node can be a control, indicator, structure, function, or recursively, another block diagram. An example of a simple four-node block diagram is two controls and an indicator wired to the addition function, causing the indicator to display the sum of the two controls. The wires connecting nodes propagate data as variables, and any node can execute as soon as all its input variables (data) become available. Since this might be the case for multiple nodes simultaneously, LabVIEW can conceptually execute in parallel.[5]: 1–2 Multi-processing and multi-threading hardware is exploited automatically by the built-in scheduler, which multiplexes multiple OS threads over the nodes ready for execution.
Graphical programming
LabVIEW integrates the creation of user interfaces (termed front panels) into the program development cycle. LabVIEW programs are collections of one or more virtual instruments (VIs). Each VI has three components, a front panel, back panel, and connector panel, all composed of nodes and wires represented graphically to the user. The front panel is built using controls and indicators. Controls are inputs, they allow a user to supply information to the VI. Indicators are outputs, they indicate or display the results based on the inputs given to the VI. The back panel consists of a block diagram containing the graphical source code. All of the objects placed on the front panel will appear in the back panel block diagram as terminals. The block diagram also contains structures and functions, chosen from a Functions palette, which perform operations on controls and supply data to indicators. The connector panel has terminals whose wires go to or come from nodes in the front and back panels, and is used to represent the VI within the back panel of upstream (calling) VIs and downstream (called) VIs to which it might be connected.
There are two ways to run a VI. It can be run by itself as a program, with the front panel serving as a user interface. Alternatively, it can be treated as a node that is dropped onto the block diagram of another VI and wired to its nodes through the connector panel. In that case it runs as a subroutine within a larger program, and the front panel controls the inputs and outputs of the VI node. Thus, each VI can be easily tested as a stand-alone program before being embedded as a subroutine into a larger program.
The "G" graphical approach allows non-programmers to easily build programs by dragging and dropping virtual representations of lab equipment with which they are already familiar. The LabVIEW programming environment includes examples and documentation to guide and simplify the creation of small applications. As with all introductory programming guides, the ease of construction of working "G" programs may cause the programmer to underestimate the expertise needed for high-quality "G" programming. For complex algorithms or large-scale code, a programmer must possess extensive knowledge of the special LabVIEW syntax and the topology of its memory management. The most advanced LabVIEW development systems offer the ability to build stand-alone applications. Furthermore, it is possible to create distributed applications that communicate using a simple client–server model which takes advantage of the inherently parallel nature of "G".
Common application design patterns
Applications in LabVIEW are typically designed using well-known architectures[citation needed] known as design patterns. The most common design patterns for graphical LabVIEW applications are listed in the table below.
Common design patterns for LabVIEW applications
Design pattern
Purpose
Implementation details
Use cases
Limitations
Functional Global Variable
Exchange information without using global variables
A shift register of a while loop is used to store the data and the while loop runs only one iteration in a "non-reentrant" virtual instrument (VI)
Exchange information with less wiring
All owning virtual instruments (VIs) are kept in memory.
Case structure inside a while loop passes an enumerated variable to a shift register, representing the next state; complex state machines can be designed using the Statechart module
User interfaces,
complex logic,
communication protocols
All possible states must be known in advance.
Event-driven user interface
Lossless processing of user actions
GUI events are captured by an event structure queue, inside a while loop; the while loop is suspended by the event structure and resumes only when the desired events are captured
A master loop controls the execution of two slave loops, that communicate using notifiers, queues and semaphores; data-independent loops are automatically executed in separate threads
Data sampling and visualization
Order of execution is not obvious to control.
Queued state machine with event-driven producer-consumer
Highly responsive user-interface for multithreaded applications
An event-driven user interface is placed inside the producer loop and a state machine is placed inside the consumer loop, communicating using queues between themselves and other parallel VIs
LabVIEW includes extensive support for interfacing to instruments, cameras, and other devices. Users interface to hardware by either writing direct bus commands (USB, GPIB, Serial) or using high-level, device-specific drivers that provide native "G" function nodes for controlling the device. National Instruments makes thousands of device drivers available for download on their Instrument Driver Network (IDNet).[9]
LabVIEW has built-in support for other National Instruments products, such as the CompactDAQ and CompactRIO hardware platforms and Measurement and Automation eXplorer (MAX) and Virtual Instrument Software Architecture (VISA) toolsets.
Code compiling and execution
LabVIEW includes a compiler that translates "G" code into native code for supported CPU platforms. The graphical code is converted into Dataflow Intermediate Representation, and then translated into chunks of executable machine code by a compiler based on LLVM. These code chunks are called by the "G" run-time engine, providing for fast, high-performance native execution of the graphical code. The LabVIEW syntax is strictly enforced during the editing process, and when "G" code is run or saved, the compiler is automatically invoked. "G" code is saved to a single binary file that contains both the source and executable code. Execution is controlled by the run-time engine, which contains some pre-compiled code to perform common tasks defined in the "G" language. The run-time engine manages execution flow, and provides a consistent interface to supported operating systems, graphic systems and hardware components. The use of a portable run-time environment makes the source code files portable across supported platforms. LabVIEW programs are slower than equivalent compiled C code, although it is often possible to mitigate speed issues with program optimizations.[10]
Large libraries
LabVIEW includes a large number of libraries containing functions for data acquisition, signal generation, mathematics, statistics, signal conditioning, analysis, integration, filtering, and other specialized abilities such as data capture from hardware sensors. In addition, it includes MathScript, a text-based programming component with built-in functions for signal processing, analysis, and mathematics. MathScript can be integrated with graphical programming using script nodes and uses a syntax that is generally compatible with MATLAB.[11]
Parallel programming
LabVIEW is an inherently concurrent language, so it is very easy to program multiple tasks that are performed in parallel via multithreading, for example by drawing two or more parallel while loops and connecting them to two separate nodes. This provides a great benefit for test system automation, where it is common practice to run processes like test sequencing, data recording, and hardware interfacing in parallel.
Ecosystem
Due to the longevity and popularity of the LabVIEW platform and the ability for users to extend its functions, a large ecosystem of third-party add-ons has developed via contributions from the community. Most of these add-ons are available for direct download and installation into LabVIEW using the VI Package Manager (VIPM),[12] the official package manager for LabVIEW add-ons. National Instruments also hosts a marketplace for both free and paid LabVIEW add-ons, called the NI Tools Network.
User community
There is a low-cost LabVIEW Student Edition aimed at educational institutions for learning purposes. There is also an active community of LabVIEW users who communicate through several electronic mailing lists (email groups) and Internet forums.
Home Bundle Edition
National Instruments provides a low cost LabVIEW Home Bundle Edition.[13]
Community Edition
National Instruments provides a free-for-non-commercial use version called LabVIEW Community Edition.[14] This version includes everything in the Professional Editions of LabVIEW, has no watermarks, and includes the LabVIEW NXG Web Module for non-commercial use. These editions may also be used by K-12 schools.[15]
Criticism
LabVIEW is a proprietary product of National Instruments. Unlike common programming languages such as C or Fortran, LabVIEW is not managed or standardized by any third-party standards committee.
Non-textual
Since the "G" language is non-textual, common software tools such as versioning, side-by-side (or diff) comparison, and version code change tracking cannot be applied in the same manner as for textual programming languages. There are, however, some source code control (versioning) tools that do enable code comparison and merging, such as subversion, CVS and Perforce.[16][17][18]
Release history
In 2005, starting with LabVIEW 8.0, major versions are released around the first week of August, to coincide with the annual National Instruments conference NI Week, and followed by a bug-fix release the following February.
In 2009, National Instruments began naming releases after the year in which they are released. A bug-fix is termed a Service Pack, for example, the 2009 service pack 1 was released in February 2010.
In 2017, National Instruments moved the annual conference to May and released LabVIEW 2017 alongside a completely redesigned LabVIEW NXG 1.0 built on Windows Presentation Foundation (WPF).
OpenG and LAVA Code Repository (LAVAcr) serve as repositories for a wide range of Open Source LabVIEW applications and libraries. SourceForge has LabVIEW listed as one of the possible languages in which code can be written.
VI Package Manager has become the standard package manager for LabVIEW libraries. It is very similar in purpose to Ruby's RubyGems and Perl's CPAN, although it provides a graphical user interface similar to the Synaptic Package Manager. VI Package Manager provides access to a repository of the OpenG (and other) libraries for LabVIEW.
National Instruments also offers Measurement Studio, a product that offers many of the test, measurement, and control abilities of LabVIEW as a set of classes for use with MicrosoftVisual Studio. This allows developers to harness some of LabVIEW's strengths within the text-based .NET Framework. National Instruments also offers LabWindows/CVI as an alternative for ANSI C programmers.
When applications need sequencing, users often use LabVIEW with the National Instruments TestStand test management software.
The Ch interpreter is a C/C++ interpreter that can be embedded in LabVIEW for scripting.[29]
DSP Robotics' FlowStone DSP also uses a form of graphical programming similar to LabVIEW but is limited to the robotics industry.
LabVIEW has a direct node with modeFRONTIER, a multidisciplinary and multi-objective optimization and design environment, written to allow coupling to almost any computer-aided engineering tool. Both can be part of the same process workflow description and can be virtually driven by the optimization technologies available in modeFRONTIER.
Bress, Thomas J. (2013). Effective LabVIEW Programming. [S.l.]: NTS Press. ISBN978-1-934891-08-7.
Blume, Peter A. (2007). The LabVIEW Style Book. Upper Saddle River, NJ: Prentice Hall. ISBN978-0-13-145835-2.
Travis, Jeffrey; Kring, Jim (2006). LabVIEW for Everyone : Graphical Programming Made Easy and Fun (3rd ed.). Upper Saddle River, NJ: Prentice Hall. ISBN0-13-185672-3.
Conway, Jon; Watts, Steve (2003). A Software Engineering Approach to LabVIEW. Upper Saddle River, NJ: Prentice Hall PTR. ISBN0-13-009365-3.
Olansen, Jon B.; Rosow, Eric (2002). Virtual Bio-Instrumentation : Biomedical, Clinical, and Healthcare Applications in LabVIEW. Upper Saddle River, NJ: Prentice Hall PTR. ISBN0-13-065216-4.
Beyon, Jeffrey Y. (2001). LabVIEW Programming, Data Acquisition and Analysis. Upper Saddle River, NJ: Prentice Hall PTR. ISBN0-13-030367-4.
Travis, Jeffrey (2000). Internet Applications In LabVIEW. Upper Saddle River, NJ: Prentice Hall PTR. ISBN0-13-014144-5.
Essick, John (1999). Advanced LabVIEW Labs. Upper Saddle River, NJ: Prentice Hall. ISBN0-13-833949-X.
Belletti A., Borromei R., Ingletto G., A.; Borromei, R.; Ingletto, G. (September 2006). "Teaching physical chemistry experiments with a computer simulation by LabVIEW". Journal of Chemical Education. 83 (9). ACS: 1353–1355. Bibcode:2006JChEd..83.1353B. doi:10.1021/ed083p1353.{{cite journal}}: CS1 maint: multiple names: authors list (link)
Lauterburg, Urs (June 2001). "LabVIEW in Physics Education"(PDF). A White Paper About Using LabVIEW in Physics Demonstration and Laboratory Experiments and Simulations.
Drew SM, Steven M. (December 1996). "Integration of National Instruments' LabVIEW software into the chemistry curriculum". Journal of Chemical Education. 73 (12). ACS: 1107–1111. Bibcode:1996JChEd..73.1107D. doi:10.1021/ed073p1107.
Muyskens MA, Glass SV, Wietsma TW, Gray TM, Mark A.; Glass, Samuel V.; Wietsma, Thomas W.; Gray, Terry M. (December 1996). "Data acquisition in the chemistry laboratory using LabVIEW software". Journal of Chemical Education. 73 (12). ACS: 1112–1114. Bibcode:1996JChEd..73.1112M. doi:10.1021/ed073p1112.{{cite journal}}: CS1 maint: multiple names: authors list (link)
Ogren PJ, Jones TP, Paul J.; Jones, Thomas P. (December 1996). "Laboratory interfacing using the LabVIEW software package". Journal of Chemical Education. 73 (12). ACS: 1115–1116. Bibcode:1996JChEd..73.1115O. doi:10.1021/ed073p1115.
Duta Besar Senegal untuk IndonesiaPetahanaAbdoulaye Barrosejak 2022 Berikut adalah daftar duta besar Republik Senegal untuk Republik Indonesia. Nama Kredensial Selesai tugas Ref. Abdoulaye Barro 1 Desember 2022 [1][cat. 1] Catatan ^ Berkedudukan di Kuala Lumpur. Lihat pula Daftar Duta Besar Indonesia untuk Senegal Daftar duta besar untuk Indonesia Referensi ^ Presiden Jokowi Terima Surat Kepercayaan Enam Dubes Negara Sahabat. Arsip Nasional Republik Indonesia. 1 Desember ...
Syekh Muhammad Said BonjolLahir1881Bonjol, Hindia BelandaMeninggal1979Bonjol, IndonesiaFirkahSunniMazhab FikihSyafi'iMazhab AkidahAsy'ariTarekatNaqsyabandiOrganisasiPersatuan Tarbiyah IslamiyahKarya yang terkenalNazam al-WasiyahKeturunanBuya H. Harun A.R. SaidBuya H. Khalidi Said Syekh Muhammad Said Bonjol (1881-1979) adalah ulama Minangkabau dari Bonjol, Pasaman. Ia dikenal sebagai mursyid Naqsyabandiyah dan tokoh Persatuan Tarbiyah Islamiyah (Perti). Riwayat hidup Muhammad Said lahir di Gan...
American politician Maecenas Eason BentonFrom Volume 1 of 1899's Autobiographies and Portraits of the President, Cabinet, Supreme Court, and Fifty-fifth CongressMember of the U.S. House of Representativesfrom Missouri's 15th districtIn officeMarch 4, 1897 – March 3, 1905Preceded byCharles Germman BurtonSucceeded byCassius M. Shartel Personal detailsBornJanuary 29, 1848Dyersburg, TennesseeDiedApril 27, 1924(1924-04-27) (aged 76)Springfield, MissouriResting placeOdd ...
Tribal land-grant college in Wisconsin, U.S. College of Menominee NationCollege of Menominee NationTypePrivate tribal land-grant community collegeEstablished1993Academic affiliationsAmerican Indian Higher Education ConsortiumPresidentChris CaldwellStudents661LocationKeshena & Oneida., Wisconsin, United StatesWebsitewww.menominee.edu The College of Menominee Nation (CMN) is a private tribal land-grant community college. Chartered by the Menominee Nation, the college's main campus is in Kes...
العلاقات البوروندية السيشلية بوروندي سيشل بوروندي سيشل تعديل مصدري - تعديل العلاقات البوروندية السيشلية هي العلاقات الثنائية التي تجمع بين بوروندي وسيشل.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية للدولتين: وجه المقارنة بو�...
Cet article est une ébauche concernant un compositeur italien, un compositeur de musique de film et un musicien italien. Vous pouvez partager vos connaissances en l’améliorant (comment ?). Pour plus d’informations, voyez le projet musique classique. Consultez la liste des tâches à accomplir en page de discussion. Fiorenzo CarpiFiorenzo CarpiBiographieNaissance 19 octobre 1918MilanDécès 21 mai 1997 (à 78 ans)RomeSépulture Cimetière monumental de MilanNom de naissance Fi...
هذه المقالة بحاجة لصندوق معلومات. فضلًا ساعد في تحسين هذه المقالة بإضافة صندوق معلومات مخصص إليها. جزء من سلسلة مقالات حولالشعب الفلسطيني التركيبة السكانية الهوية فلسطين التاريخ الاسم الشعب النكبة الشتات مخيمات اللجوء السياسةسابق اللجنة العربية العليا القرى المهجرة محم...
City in Zanjan province, Iran For the administrative divisions, see Mahneshan County and Mah Neshan Rural District. City in Zanjan, IranMah Neshan Persian: ماه نشانCityMah NeshanCoordinates: 36°44′37″N 47°40′25″E / 36.74361°N 47.67361°E / 36.74361; 47.67361[1]CountryIranProvinceZanjanCountyMahneshanDistrictCentralPopulation (2016)[2] • Total5,487Time zoneUTC+3:30 (IRST) Mah Neshan (Persian: ماه نشان, also Roman...
Type of chair push back redirects here. For the song, see Push Back. This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Recliner – news · newspapers · books · scholar · JSTOR (May 2012) (Learn how and when to remove this message) A recliner Recliner aboard a business jet A recliner is an armchair or sofa that r...
Rare chromosomal disorder Man with XYYYY syndrome XYYYY syndrome, also known as 49,XYYYY, is an exceptionally rare chromosomal disorder in which a male human has three additional copies of the Y chromosome. Only seven non-mosaic cases of the disorder have ever been recorded in the medical literature, as well as five mosaic cases, of which two had more 48,XYYY than 49,XYYYY cells.[1] Due to the extreme rarity of the disorder, little is understood about it,[2] and the phenotype ...
British shot putter and discus thrower Carl MyerscoughMyerscough in 2012Personal informationBirth nameCarl Andrew MyerscoughNicknameThe Blackpool TowerNationalityBritishBorn (1979-10-21) 21 October 1979 (age 44)Hambleton, LancashireHeight2.08 m (6 ft 10 in)[1]Weight160 kg (25 st 3 lb; 353 lb)[1]SpouseMelissa PriceSportCountry Great BritainSportShot put and Discus throwUniversity teamUniversity of Nebraska-LincolnRetired2016 Med...
County in North Dakota, United States County in North DakotaNelson CountyCountyWater Tower behind Lakota City Hall.Location within the U.S. state of North DakotaNorth Dakota's location within the U.S.Coordinates: 47°55′N 98°11′W / 47.92°N 98.19°W / 47.92; -98.19Country United StatesState North DakotaFoundedMarch 2, 1883 (created)June 9, 1883 (organized)SeatLakotaLargest cityLakotaArea • Total1,009 sq mi (2,610 km2) •&...
1973 soundtrack album by Neil DiamondJonathan Livingston SeagullSoundtrack album by Neil DiamondReleasedOctober 19, 1973Recorded1973GenreFilm soundtrackLength43:29LabelColumbiaProducerTom CatalanoNeil Diamond chronology Rainbow(1972) Jonathan Livingston Seagull(1973) His 12 Greatest Hits(1974) Professional ratingsReview scoresSourceRatingAllMusic[2]Rolling Stone(mixed)[1] Jonathan Livingston Seagull is the soundtrack album to the 1973 American film Jonathan Livingston ...
Extinct genus of reptiles BrachyuranochampsaTemporal range: Middle Eocene, 56–33.9 Ma PreꞒ Ꞓ O S D C P T J K Pg N Scientific classification Domain: Eukaryota Kingdom: Animalia Phylum: Chordata Class: Reptilia Clade: Archosauromorpha Clade: Archosauriformes Order: Crocodilia Genus: †BrachyuranochampsaZangerl, 1944 Species †B. eversolei Zangerl, 1944 (type) Brachyuranochampsa is an extinct genus of crocodilian. The only robust occurrence of Brachyuranochampsa is B. eversolei from...
Untuk kegunaan lain, lihat Metropolitan railway (disambiguasi). Gambar stasiun-stasiun Metropolitan Railway dari Illustrated London News Desember 1862, sebulan sebelum jalur kereta api tersebut dibuka Metropolitan Railway (juga dikenal sebagai Met[note 1]) adalah sebuah jalur kereta barang dan penumpang yang melayani London dari 1863 sampai 1933, yang jalur utamanya menghadap barat laut dari jantung keuangan ibu kota tersebut yang kemudian menjadi subperkotaan Middlesex. Jalur pertama...
Fort in Mazagaon, MumbaiMazagaon Fortमाझगाव किल्लाLocation within MumbaiGeneral informationTypeFortLocationMazagaon, MumbaiCoordinates18°57′56″N 72°50′34″E / 18.965633°N 72.842703°E / 18.965633; 72.842703Elevation32 m (105 ft)Completed1680Demolished8 June 1690ClientBritish The Mazagaon Fort was a British fort in Mazagaon, Bombay (present-day Mumbai), in the Indian state of Maharashtra, built around 1680. The fort was razed...
Ryan SeacrestLahirRyan John SeacrestPekerjaanPresenter, Penyiar radio, produserTahun aktif1990 — Sekarang Ryan John Seacrest (lahir 24 Desember 1974) adalah presenter, penyiar radio dan produser televisi asal Amerika Serikat. Ryan terkenal setelah menjadi host acara American Idol sejak musim pertama hingga saat ini. Ryan juga menjadi penyiar radio untuk acara, On Air With Ryan Seacrest dan America Top 40. Pranala luar Official website TheBeat 94.5fm - Ryan host the show at 40 with Rya...