Specifications
Running the Application
Connecting to I/O Devices
7-9
11) Slide the control in the Volume Slider window. This changes the volume
of the output signal. Watch the amplitude of the Received Signal graph
change. (Only the scale values to the left and right of the graph change.
The graph changes scale automatically to accommodate the size of the
sine wave and the size of the window.)
Note: Initial Setting of Volume Slider
The initial setting of the Volume Slider bar is not synchronized with the
application. They are synchronized the first time you move the slider bar.
12) Close the Volume Slider application. This stops the input and output
channels.
13) Click Test OFF in the signalprog window. This closes the control channel.
14) Click (Halt) or press Shift F5 to stop the program.
15) You now see the “hostio example started” message from the call to
LOG_printf in the Message Log area. You did not see this message
earlier because the entire program runs within the main function.
DSP/BIOS communicates with the host PC within the idle loop. Until a
program returns from main, it never enters the idle loop. Therefore, if you
want to see the effects of DSP/BIOS calls at run-time, your program
should perform its functions after returning from main. The modified
version of hostio.c used in the next section shows this technique.