PCI Express Board User’s Manual

Serial Programming Tools

MOXA PComm

PComm, a professional serial communication tool for PCs, is a software package that runs under Windows NT/2000/XP/2003/95/98. PComm provides:

yA powerful serial communication library that simplifies serial programming tasks for most popular programming languages. The serial communication library is useful for developing applications for data communications, remote access, data acquisition, and industrial control under Windows NT/2000/XP/2003/95/98, and is a simpler programming solution compared to the more complex Windows Win32 COMM API.

yUseful utilities such as diagnostics, monitor, and terminal emulator.

yIllustrative sample programs.

yComprehensive on-line documentation.

Installing PComm

To install PComm, run \Setup.exe from the Documentation and Software CD. Note that the PComm diagnostics and monitor utilities are for MOXA boards only. To use these utilities, you must have a MOXA board and the appropriate Windows (95/98/NT/2000/XP/2003) device driver installed in your system. See the “Software Installation” chapter for instructions on how to install the drivers.

After installing PComm, click Start, select Program Files, and then the PComm Lite group to select from the list of utilities and documents.

PComm Programming Library

The serial communication library helps you develop serial communications programs for any COM port that complies with the Microsoft Win32 API. This library facilitates the implementation of multi-process, multi-thread serial communication programs, and greatly reduces the time required to develop applications.

For a complete description of the library functions and sample programs for Visual C++, Visual Basic, and Delphi, check the help file and the sample programs in the PComm directory.

Utilities

In this section, we provide brief descriptions of each utility. For more information about these utilities, read the on-line help from the Documentation and Software CD.

Diagnostics (for MOXA boards only)

This convenient diagnostics program, which only works with MOXA boards and ports, provides internal and external testing of IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, DTR/DCD, etc. The diagnostics program allows the user to check both the hardware and software functions.

To run the diagnostics program, click Start Æ Program Æ PComm Lite Æ Diagnostic. A typical test report for a MOXA board is as follows:

4-2