Specifications

Adding a Probe Point for File I/O
Testing Algorithms and Data from a File
4-7
6) Choose File
File I/O. The File I/O dialog appears so that you can select
input and output files.
7) In the File Input tab, click Add File.
8) Choose the sine.dat file.
Notice that you can select the format of the data in the Files of Type box.
The sine.dat file contains hex values for a sine waveform.
9) Click Open to add this file to the list in the File I/O dialog.
A control window for the sine.dat file appears. (It may be covered by the
Code Composer Studio window.) Later, when you run the program, you
can use this window to start, stop, rewind, or fast forward within the data
file.
10) In the File I/O dialog, change the Address to inp_buffer and the Length to
100. Also, put a check mark in the Wrap Around box.
The Address field specifies where the data from the file is to be
placed. The inp_buffer is declared in volume.c as an integer array of
BUFSIZE.