User Manual

Ports Serial Port Configuration
8-14
Termtype information is used for outbound sessions; the SCS doesn’t use this information. For example, a
remote host might use the terminal type to configure your terminal to run a particular application.
8.9.7 Transmitting Serial Data
Serial data can be handled a couple of different ways. The default settings will discard all data. Other options
include setting various triggers to transmit the accumulated data to a host.
Once a connection has been started, several different triggers can be used to transmit all accumulated serial
data to the host. These options are controlled with the Set/Define Ports Datasend command. The datasend
process used by the SCS balances network traffic with latency concerns.
One kind of trigger can be set by specifying a “timeout” condition of either the time since the last character
was received or the time since the current character burst was started. For example, to trigger data
transmission 150 milliseconds after the current character burst began, enter the following command:
Figure 8-36: Transmitting Serial Data with Trigger Delay
The example in Figure 8-36 can be visualized as:
x x x xxx xx (data) x x xx xxxxxxxx xx xxxx xx xxxx
|-----------------------------------------------------|
150 milliseconds transmit packet
Another option is to set a one- or two-character trigger that will cause the SCS to transmit the data. You can
also specify whether the trigger characters will be sent to the host as part of the serial data or whether they
should be discarded (the default). For example, the following commands will cause the accumulated serial
data to transmit as soon as the “Z” character is detected in the data stream and to send the matched character
(“Z”) to the host as part of that data.
Figure 8-37: Transmitting Serial Data with a Character Trigger
The example in Figure 8-37 can be visualized as:
x x x xxx xx (data) x x xx xxxxxxxx xx xxx Z xx xxxx
|-----------------------------------------------------|
transmit packet
The Set/Define Ports Datasend command is also discussed on page 12-59.
Local>> DEFINE PORT 2 DATASEND TIMEOUT FRAME 150
Local>> DEFINE PORT 2 DATASEND CHARACTER Z
Local>> DEFINE PORT 2 DATASEND SAVE 1