User guide

8: Client Applications DLI Overview
DC 900-1338I 145
//-----------------------------------------------------------------//
// "main" section. If not defined defaults are used. If present //
// the main section must be the very first section of the DLI //
// configuration file. //
//-----------------------------------------------------------------//
main
{
AsyncIO = "yes"; // Non-blocking I/O //
TSICfgName = "spsaltcfg.bin"; // TSI binary config file //
}
//-----------------------------------------------------------------//
// Define a section for a raw port. //
//-----------------------------------------------------------------//
server0icp0port0
{
AlwaysQIO = "yes"; // DLI always queues I/O //
AsyncIO = "Yes"; // Non-blocking I/O //
BoardNo = 0; // First ICP is board 0 //
CfgLink = "No"; // Client must configure link //
Enable = "No"; // Client must enable link //
PortNo = 0; // First link is 0 //
Protocol = "raw"; // SPS uses Raw operation //
Transport = "conn0"; // TSI connection name //
}
//-----------------------------------------------------------------//
// Define a section for a raw port. //
//-----------------------------------------------------------------//
server0icp0port1
{
AlwaysQIO = "yes"; // DLI always queues I/O //
AsyncIO = "Yes"; // Non-blocking I/O //
BoardNo = 0; // First ICP is board 0 //
CfgLink = "No"; // Client must configure link //
Enable = "No"; // Client must enable link //
PortNo = 1; // Second link is 1 //
Protocol = "raw"; // SPS uses Raw operation //
Transport = "conn0"; // TSI connection name //
}
Figure 81: DLI Configuration File for Two Links (Freeway Server)