User`s manual
CP-132 Series Serial Programming Tools
4-4
DOS
Installing API-232
API-232 Library is the professional serial programming tool for DOS. It is installed automatically along with the
MOXA DOS drivers. The installation is detailed in Chapter "Software Installation".
DOS API-232 Library
DOS API-232 library supports languages like Microsoft C, Turbo C, Macro Assembly, QuickBasic, Turbo Pascal,
Clipper, etc. Sample programs for each supported language are included, and placed in the
sub-directory, ..\EXAMPLE\language, of the API-232 directory.
In addition, for DOS C language only, there are also Modem Control and File Transfer library available,
supporting Hayes compatible modem control as well as ASCII, KERMIT, XMODEM, YMODEM and ZMODEM file
transfer protocol functions.
For complete API-232 function description, please see file API-232.TXT in the API-232 directory for more
details.
Utilities
There are two utilities available for DOS: Data Scope and Diagnose, which are detailed below.
Data Scope
The Data Scope, BIN\SCOPE.EXE, is a suite of utility programs that can help users with system
troubleshooting and serial communication debugging.
There are three major functions in Data Scope utility:
1. The Data Scope utility offers transparent monitoring of serial communication lines and allows data to be
streamed to disk storage for later analysis.
2. The TTY terminal emulation utility allows user to view the signal status and transfer data interactively
or files using ASCII, XMODEM, YMODEM, ZMODEM and KERMIT protocols.