User's Manual

6-1
Chapter 6
Programming for the RF Terminal
The programming support offered for the RF Terminal are Active X drop-in
components. Every necessary function is defined. You just complete the code
for each function.
Remember, plan for every error that the Server might return including:
Sequence Errors detected
Illegal Command detected
Addressing a Terminal Not Signed In
Command without an ID
Programs languages that can interface with the Active X tool include VB,
C++, Delphi, Access, FoxPro, etc.
If the Application Server receives any of
1. 5 Addressing a Terminal not SIGNed On messages in a row or
2. 5 Sequence Errors in a row, or
3. 5 illegal commands in a row,
the Server transmits the following message to the Terminal and shuts down:
Server Shut Down
Due to Host Logic
Error
Check your program to correct these errors before starting again. The host
application program will have to restart and you will have to cycle power on the
Terminal and Sign On again in order to continue.
Control Keys for Possible Programming
There are some keys on the RF Terminal keypad that when pressed, can
transmit special ASCII characters back to the host program. This feature might
be used by a programmer to allow the operator to review transactions. You can
use these keys for special program functions, such as scrolling thru data,
backing up steps, jumping, finishing a process, etc The keys are as follows:
Key Code transmitted to Host
UP ARROW key FS (ASCII 28)
DOWN ARROW key GS (ASCII 29)
LEFT ARROW key RS (ASCII 30)
RIGHT ARROW key US (ASCII 31)
BEGIN key ETB (ASCII 23)
END key CAN (ASCII 24)
SEARCH key VT (ASCII 11)