Installation guide

3: Interfacing to DLI/TSI and Protocol Software
DC 900-1325I 49
ent/bsd/bin, then the DLI and TSI binary files must be moved or copied to the same
directory in order for the SRA to work properly.
3.1.3 Log and Trace Files
DLI and TSI log and/or trace files may be created during the normal execution of your
SRA. Log and trace files are specified in the DLI and TSI configuration text file. When
running the SRA in the Freeway /usr partition, it is important to specify a file path such
that the log and trace files are created in a read-write partition (such as /tmp). Other-
wise, the SRA will encounter an error when the DLI tries to open a file in the read-only
partition. Figure 3–4 shows an example of using path names for the log and trace files.
Figure 3–4: Pathnames for Log and Trace files
4022
// SRA DLI Configuration File (text version) Name: sradcfg
main
{
TSICfgName = "sratcfg.bin"; // Name of SRA TSI config. file (binary version)
AsyncIO = "yes"; // Use asynchronous (non-blocking) I/O
logname = "/tmp/sradli.log"; // DLI log file name
tracename = "/tmp/sradli.trc"; // DLI trace file name
}
// SRA TSI Configuration File (text version) Name: sratcfg
main
{
AsyncIO = "yes"; // Use asynchronous (non-blocking) I/O
logname = "/tmp/sratsi.log"; // TSI log file name
tracename = "/tmp/sratsi.trc"; // TSI trace file name
}