LabVIEW Fundamentals (1)

LabVIEW is a program development environment and a programming language independently developed by NI. Unlike other computer languages, LabVIEW programs are in the form of block diagrams rather than English codes. They are mainly used in industrial and instrument control simulation, test and measurement and other fields.

Here we take LabVIEW2020 as an example to introduce some basic knowledge of LabVIEW. Attached below is the 2018 installation package and installation tutorial. If you need other versions, please send me a private message to get them.

Installation package and tutorial: LabVIEW2018 graphic installation tutorial

The main interface of LabVIEW is as shown below. We can create a project or open an existing project to enter the program interface.

 

  

This includes all the vi programs, custom controls, pictures, EXE executable programs, etc. used in our project. Like other programming, labview first needs to create a project when designing its own program, and add a Main .vi is used as the entry point of the program, and other sub-VIs and controls are called during program execution.

LabVIEW is composed of a front panel and a block diagram. The front panel is a host computer interface, where there are buttons for operation and content to be displayed; the block diagram panel is where you design your own program.

 Various controls on the front panel can be displayed by right-clicking the blank space of the mouse. There are numerical controls, Boolean controls, string controls, etc. You can explore and use them one by one.

Then for the block diagram panel, right-clicking the blank space of the mouse will display the various functions, structures, etc. we use in programming, all of which are encapsulated into graphical things. When programming, find the corresponding function and drag Just pop it out and place it on the block diagram panel.

 As shown in the program panel in the above figure, we only need to connect the functions placed in the program panel to transfer data between functions. But you can also find that the thickness and color of the lines are different, so this is also particular. As shown in the figure below, different types of data cannot be connected and require data type conversion.

 The specific operation still needs to be explored by students after installing the software~

Guess you like

Origin blog.csdn.net/gougouainiuniu/article/details/128329216