Stackable Devices
7-18
The devices in Example 7-9 have been configured statically. The devices
sineWave and printDat are DGN devices. pip0 is a DPI device. scale is a DTR
stacking device. For more information on how to add and configure DPI,
DGN, and DTR devices, see the DPI, DGN and DTR drivers description in the
TMS320 DSP/BIOS API Reference Guide for your platform.
The streams in Example 7-9 have also been added to the configuration. The
input stream for the sourceTask task is inStreamSrc.
When you configure an SIO stream that uses a stacking device, you must first
enter a configured terminal device in the Device Control Parameter property.
The name of the terminal device must be preceded by a slash character ( / ).
In the example we use /sineWave, where sineWave is the name of a
configured DGN terminal device. Then select the stacking device (scale) from
the dropdown list in the Device property. The configuration will not allow you
to select a stacking device in Device until a terminal device has been entered
in Device Control Parameter. The other SIO streams created for Example 7-
9 are outStreamSrc (output stream for sourceTask), inStreamSink (input
stream for sinkTask), and outStreamSink (output stream for sinkTask). The
devices used by these streams are the terminal devices pip0 and printData.