LabVIEW Program Design basics
The process of programming with LabVIEW is simply the process of drawing a program flow diagram.
LabVIEW Program Design (Project browser)
New Project
mode ①: In the upper left corner of the menu bar, select file → new Item
mode ②: In The new dialog box, select Project, and then click the OK button
After saving the project to complete the above project creation ("file" → "save"), there are three files in the saved project directory
project name. Lvproj: is a project file that is used to save file references, configuration information, deployment information, program generation information, etc. in the project;
project name. Aliases: Is a mapping relationship file for a computer and an IP address that is created automatically by LabVIEW and creates a new . aliases file each time the project is opened;
project name. Lvlps: is used to save the project configuration file held by this computer (save the project and save the file).
(PS: In the project development process, the files used only the . lvproj file, the other two files are the development environment of their own management files, after the deletion of the project's operation and performance will not have an impact )
after the project is created, it is necessary to add the vi ...
Components of VI
All LabVIEW Applications (VI) include the front panel (front panel), program block diagram, and Icon \ Connector (icon\connector) three parts:
front panel (front panel)
The front panel is the graphical user interface, VI's Virtual instrument panel (specifically switches, knobs, graphics and other control objects and display objects, etc.)
Program Block Diagram (block)
VI Graphical source program, VI Programming, control and manipulation (wiring terminals, functions, structures, etc.) defined in the front panel of the various input, output functions
icon \ Connector (icon\connector)
VI has hierarchical and structured features. A vi width as a subroutine (Sub VI, SUBVI) is called by other VI , and the icon \ Connector is equivalent to a variety of graphical parameters