Specifications
4-1
Chapter 4
Testing Algorithms and Data from a File
This chapter shows the process for creating and testing a simple algorithm
and introduces additional Code Composer Studio features.
In this chapter, you create a program that performs basic signal processing.
You expand on this example in the following two chapters.
You create and test a simple algorithm using data stored in a file on your PC.
You also use Probe Points, graphs, animation, and GEL files with Code
Composer Studio.
4.1 Opening and Examining the Project . . . . . . . . . . . . . . . . . . . . . . . . . 4–2
4.2 Reviewing the Source Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–4
4.3 Adding a Probe Point for File I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–6
4.4 Displaying Graphs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–9
4.5 Animating the Program and Graphs . . . . . . . . . . . . . . . . . . . . . . . . 4–10
4.6 Adjusting the Gain. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–12
4.7 Viewing Out-of-Scope Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–13
4.8 Using a GEL File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–15
4.9 Adjusting and Profiling the Processing Load. . . . . . . . . . . . . . . . . 4–16
4.10 Things to Try . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–18
4.11 Learning More . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–18
Topic Page