Professional Documents
Culture Documents
A. Case Structures
B. Event-Driven Programming
1
LESSON 6 Using Decision-Making Structures
A. Case Structures
Recognize and use the basic features and functionality of
Case Structures.
2
LESSON 6 Using Decision-Making Structures
Activity 6-1
Case Structures Review
Case Selector Label
Selector Terminal 3
LESSON 6 Using Decision-Making Structures
Demonstration
Case Structures
4
A. Case Structures
5
A. Case Structures
6
LESSON 6 Using Decision-Making Structures
Demonstration
Selector Terminal Types and Tunnels
7
LESSON 6 Using Decision-Making Structures
Exercise 6-1
Temperature Warnings with
Error Handling
Modify a VI to use Case structures to make a software decision.
8
LESSON 6 Using Decision-Making Structures
Exercise 6-1
Temperature Warnings with
Error Handling
• What happens if all the values are 10? How could you fix this?
• Are all output tunnels defined? What happens if an output is not defined?
9
LESSON 6 Using Decision-Making Structures
B. Event-Driven Programming
Recognize basic features and functionality of event
structures.
10
LESSON 6 Using Decision-Making Structures
Demonstration
Event-Driven Scenario
11
B. Event-Driven Programming
12
LESSON 6 Using Decision-Making Structures
Multimedia Module
Event-Driven Programming
13
B. Event-Driven Programming
14
B. Event-Driven Programming
Event Sources
15
B. Event-Driven Programming
16
LESSON 6 Using Decision-Making Structures
Demonstration
Configure and Use Events
17
LESSON 6 Using Decision-Making Structures
Exercise 6-2
Converting a Polling Design to
an Event Structure Design
Convert a polling-based application to an Event structure-based
application
18
LESSON 6 Using Decision-Making Structures
Exercise 6-2
Converting a Polling Design to
an Event Structure Design
• How many times did the loop run with polling?
• How many times did the loop run when you changed the VI to use an Event
structure?
19
B. Event-Driven Programming
21
LESSON 6 Using Decision-Making Structures
Activity 6-2
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.
22
Lesson Review
23
Lesson Review
24
Lesson Review
25
Lesson Review
26
Lesson Review
27
Lesson Review
28