Lesson 10 - Using Sequential and State-Based Designs
Lesson 10 - Using Sequential and State-Based Designs
1
LESSON 10 Using Sequential and State-Based Designs
A. Using Sequential
Programming
Use dataflow to ensure sequential execution of nodes.
2
A. Using Sequential Programming
3
A. Using Sequential Programming
Flow-Through Parameters
4
A. Using Sequential Programming
Sequence Structures
Sequence structures are a structure with frames, where
each frame executes in order.
5
A. Using Sequential Programming
6
A. Using Sequential Programming
7
LESSON 10 Using Sequential and State-Based Designs
B. Using State
Programming
Describe the functionality represented by a state transition
diagram.
8
B. Using State Programming
9
B. Using State Programming
10
B. Using State Programming
11
LESSON 10 Using Sequential and State-Based Designs
C. State Machines
Determine when to use a state machine.
12
C. State Machines
13
C. State Machines
14
LESSON 10 Using Sequential and State-Based Designs
Multimedia Module
Building State Machines
15
C. State Machines
Exercise 10-1
Weather Station Project
Exercise 10-1
Weather Station Project
How would you change the diagram to add an Initialize and Shutdown state?
C. State Machines
Demonstration
Simple State Machine Project Template
Use the Create Project dialog box to expedite implementing an
event-based state machine application.
20
LESSON 10 Using Sequential and State-Based Designs
Activity 10-1
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.
21
Lesson Review
22
Lesson Review
23
Lesson Review
24
Lesson Review