Download Protogate Freeway 3112 Installation guide
Transcript
Freeway Server-Resident Application (SRA) Programmer Guide 3.2 DLI Normal Operation versus Raw Operation The DLI interface can be programmed in two modes of operation: Normal operation and Raw operation. The Freeway Data Link Interface Reference Guide (DC-900-1385) goes into more detail about these modes of operation. This section will give a brief summary of these modes as they pertain to programming the SRA, but they also apply to any other DLI/TSI application as well. The primary way of telling what DLI mode you are running in is by looking at the DLI configuration text file. The Protocol parameter in the port definition sections will tell you what mode the session is using. If the Protocol parameter is “raw”, then that session is using Raw operation. If the Protocol parameter is the name or mnemonic of a specific protocol (example: “AWS”), then that session is using Normal operation. Any protocol can be opened in Raw operation, however, only those protocols pre-configured by Protogate can be opened in Normal operation. The majority of the standard protocols offered by Protogate can be opened in Normal operation. The major difference between Normal and Raw operations is what happens during session start-up (specifically, the dlOpen call). Normal operation can perform many of the normal port start-up procedures automatically. For example, if you were to open a DLI session to a serial port on the ICP in Raw operation, your SRA would have to perform the following: 50 • Call dlOpen to open the DLI session • Call dlWrite to attach to a protocol session • Call dlWrite to set the ICP buffer size (if applicable) • Call dlWrite to set the port (link) configuration parameters • Call dlWrite to enable (turn on) the port DC 900-1325I