Program Structure in LabVIEW

Publisher:caoda143Latest update time:2015-07-29 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
  The loop structure includes the For loop structure and the While loop structure, both of which can be used to repeatedly execute a program. The For loop structure has a relatively fixed number of loops, and the loop process cannot be interrupted, which is more suitable for programs with fixed numerical loops; the While loop can add conditions for control. 

  The conditional structure judges and executes the corresponding subroutine based on the input value. The data types of the conditional selector input include integer, Boolean, string, and enumeration.

  Sequence structures include cascading sequence structures and flat sequence structures. They are essentially the same and both control the execution flow of the program. The difference lies in the display form and internal data transfer. Sequence structures can ensure the execution order of the program, but also organize the parallel operation of the program.

  Formula nodes describe formula algorithms in text form, using operators and calculation functions provided by the system. They can appropriately simplify graphic programming in numerical calculation programs. They are particularly suitable for equations containing multiple variables and more complex equations, as well as the use of existing text codes.

  The event structure is used to respond to user interface events and is a frequently used structure in interactive instrument programming. LabVIEW uses event registration to specify the events you want to generate. Event registration modes are divided into static event registration and dynamic event registration. Static event registration cannot change the events handled by the event structure while the program is running.

Reference address:Program Structure in LabVIEW

Previous article:LabVIEW Creates a 1D Array
Next article:Dynamic Event Modification in LabVIEW

Recommended ReadingLatest update time:2024-11-16 13:34

Developing XBOX Kinect Applications in LabVIEW
Loading .NET 4.0 Assemblies in LabVIEW Since LabVIEW 2011 and earlier versions of LabVIEW do not automatically support .Net 4.0, it needs to be added manually. Method: Create a text file LabVIEW.exe.config in the location where the Labview.exe file is located. The file name must be LabVIEW.exe.config and sav
[Test Measurement]
Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号