Moxa Technologies CP-102U/UL user manual Moxa PComm, Installing PComm, PComm Programming Library

Page 64

CP-102U/UL User’s Manual

Serial Programming Tools

MOXA PComm

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

!A 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.

!Useful utilities such as diagnostic, monitor, and terminal emulator.

!Illustrative sample programs.

!Comprehensive on-line documentation.

Installing PComm

To install PComm, run \Setup.exe from the Documentation and Software CD. Note that the PComm diagnostic 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 on 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.

4-2

Image 64
Contents CP-102U/UL User’s Manual Trademarks Copyright NoticeDisclaimer Table of Contents Page Introduction Smartio-The Smart Multiport Async Solution OverviewPackage Checklist FeaturesApplications Installation Flowchart Hardware Installation CP-102U Block DiagramsCP-102UL Plugging the Board into an Expansion Slot Page Software Installation Windows Drivers CPCI Boards CT-114IInstalling the Driver Windows 2003/XPCP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation Configuring the Ports CP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation Using Moxa PComm Utility Using Event LogRemoving the Driver Installing the Driver for the First Time WindowsCP-102U/UL User’s Manual Software Installation Select Specify a location and then click on Next to continue CP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation Configuring the Ports CP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation Using Moxa PComm Utility Removing the Driver Windows 95/98 CP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation Configuring the Ports CP-102U/UL User’s Manual Software Installation Updating the Driver CP-102U/UL User’s Manual Software Installation Click on Next Removing the Driver CP-102U/UL User’s Manual Software Installation Windows NT Continue from in the next section, Configuring the Ports CP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation Removing a CP-102U/UL Board Click on Remove Click on Close, and then restart the system Non-Windows Drivers DOSSetting up the Driver Run BIN\SETUP.EXETxD buffer size Loading the Driver Unloading the DriverExecute the following commands from the Linux prompt LinuxSCO CP-102U/UL User’s Manual Software Installation CP-102U/UL User’s Manual Software Installation Serial Programming Tools UtilitiesMoxa PComm Installing PCommPComm Programming Library Diagnostic for Moxa boards only UtilitiesMonitor for Moxa boards under Windows NT/2000/XP/2003 Terminal Emulator Page Pin Assignments Female DB25 Connector CP-102UL Male DB9 Connector CP-102U & CBL-M25M9x2-50Troubleshooting General TroubleshootingWindows NT Windows 95/98Product Specifications Technical ReferencePCI Service Information Moxa Internet Services Following services are providedProblem Report Form Moxa CP-102U/UL SeriesProduct Return Procedure