Lesson 01 - LabVIEW Environment
Lesson 01 - LabVIEW Environment
Navigating LabVIEW
Recognize the main components of the LabVIEW environment
and create a new project and VI.
1
LESSON 1 LabVIEW Environment
A. What is LabVIEW?
Recognize benefits of LabVIEW.
2
A. What is LabVIEW?
Benefits of LabVIEW
• Interfaces with wide variety of
hardware
• Scales across different targets
and OSs
• Provides built-in analysis libraries
3
A. LabVIEW Environment
4
LESSON 1 Navigating LabVIEW
Activity 1-1
Confidence Activity: Building a VI
5
LESSON 1 LabVIEW Environment
B. Project Explorer
Recognize the main components of the Project Explorer.
• LabVIEW Files
• Project Folders
6
B. Project Explorer
LabVIEW Files
• LabVIEW project —.lvproj
• Virtual instrument (VI) — .vi
• Custom control — .ctl
7
LESSON 1 LabVIEW Environment
Demonstration
Using the Project Explorer and Creating a VI
8
B. Project Explorer
• Virtual folder
• Auto-populating folder
9
LESSON 1 LabVIEW Environment
C. Parts of a VI
Recognize and understand the difference between the front panel
and block diagram.
10
LESSON 1 LabVIEW Environment
Demonstration
Components of a VI
Icon/Connector pane
Block diagram
Front panel
11
LESSON 1 LabVIEW Environment
D. Front Panel
Recognize the components and functionality of the Front Panel
window and select appropriate controls and indicators.
12
D. Front Panel
13
D. Front Panel
14
D. Front Panel
Boolean Boolean
control indicator
Numeric control
Increment/Decrement buttons
Numeric indicator
15
LESSON 1 Navigating LabVIEW
Activity 1-2
Select Front Panel Objects
For each scenario, determine the appropriate data type and whether the front panel object
should be a control or indicator.
16
16
D. Front Panel
17
LESSON 1 LabVIEW Environment
E. Block Diagram
Recognize features of the Block Diagram and be able to select
functions.
18
E. Block Diagram
19
LESSON 1 LabVIEW Environment
Demonstration
Components of a Block Diagram
20
E. Block Diagram
Express VIs
21
E. Block Diagram
Node Appearance
Icon Expandable Node
22
E. Block Diagram
Wires
• Wires transfer data between block diagram objects.
• A broken wire:
Floating-point Integer String Boolean
Scalar
1-D Array
2-D Array
23
LESSON 1 LabVIEW Environment
Demonstration
Context Help and LabVIEW Help
24
E. Block Diagram
Examples
Use NI Example Finder
(Help»Find Examples) to
browse and search
hundreds of installed
examples.
25
LESSON 1 LabVIEW Environment
Exercise 1-1
Exploring a VI
26
LESSON 1 LabVIEW Environment
Exercise 1-1
Exploring a VI
27
LESSON 1 LabVIEW Environment
• Palettes
• Quick Drop
• NI Global Search
28
LESSON 1 LabVIEW Environment
Demonstration
Searching for Controls, VIs, and Functions
29
LESSON 1 LabVIEW Environment
Exercise 1-2
Locating Controls, Functions, and
VIs
Learn to use the palettes and search for controls, functions and VIs.
30
LESSON 1 LabVIEW Environment
Exercise 1-2
Locating Controls, Functions, and
VIs
Why would you want to add a function to the Favorites category in the Functions
palette?
Why would you use the Quick Drop dialog box instead of the Search button on the
Controls and Functions palettes?
31
LESSON 1 Navigating LabVIEW
Activity 1-3
Lesson Review
Refer to the participant guide to answer questions about what you have learned in this
lesson and then discuss the answers as a group.
32
Lesson Review
33
Lesson Review
34