Справочное Руководство для LXE 1280

Скачать
Страница из 260
142 
Sending Forms to a Host 
LDS Plus Reference Guide 
E-SW-LDSPLUSRG-G 
Transmit Compressed Forms  
Sending forms in a compressed format can reduce the amount of data that the DOS terminal 
transmits to the host. 
The DOS terminal transmits the character > (ASCII 3E Hex) between unprotected data fields. 
When the DOS terminal sends a form back to the host in the compressed format, no underline 
characters in the form fields are transmitted. 
Rule:  When a DOS terminal sends a form to the host computer in a 
compressed format, it returns the first three characters of the form as 
well as any data that the operator entered; however, it does not transmit 
unfilled field data. 
Number of Inbound Compressed Characters 
The total number of returned text characters always equals three for the form message header, the 
actual data entry characters, and the > characters.  
Note: 
The DOS terminal only returns unprotected data. 
Expanded Functions G, g, U, u, and V permit the host computer to partially fill a form. They can 
alter the effective number and size of the form fields and the number of delimiters transmitted. 
This alteration can occur since protected fill characters are not transmitted by the DOS terminal.  
For more information, see the discussion on Expanded Functions in Chapter 5, “Expanded 
Functions”. 
For example: 
Suppose the host computer sends the following form message to DOS terminal 02: 
<02SaAC]Part No._ _ _ _ _ _ _ _ _ _Qty._ _ _ _Loc._ _ _ _ C
R
L
F
 
The operator fills in the form as follows: 
AC]Part No.1234 _ _ _ _ _ _Qty.25 _ _Loc.A35_  
Note:  If the operator uses the [Right Arrow] key instead of the [Space] key to separate 
characters in a form field, the DOS terminal does not transmit a space character 
between the two words.  
The DOS terminal transmits the following data back to the host when the DOS terminal uses 
compressed format: 
AC]>1234>25>A35C
R
L
F
 
The delimiter (>) before the first data field is present only if the data field was preceded by a 
protected field (Part No. in the above example). A trailing delimiter (>) is present only if the form 
ends with a protected field. 
Refer to the specific parameter information in Chapter 3, “Configuration Utility”: 
CompressedXmit and BCBraceInhibit.