5. About Software
COM-1(PM), COM-1D(PM)
33
5.
About Software
The "Standard COM Driver Software COM Setup Disk" from the supplied CD-ROM provides the
following functions.
-
Operation under Windows and Linux.
-
The serial ports can be used in the same way as the standard COM ports on the PC.
-
The PC cards can be used for all types of serial communications such as for remote access service (RAS) and
uninterruptible power supply (UPS) applications.
-
Under Windows, the serial ports can be accessed using the standard Win32 API communication routines
(CreateFile( ), WriteFile( ), ReadFile( ), and SetCommState( ), etc.)
-
The serial ports are also compatible with the Visual Basic communication control (MSComm).
-
Under Linux, the software functions as a standard Linux tty driver. The standard open( ), close( ),
read( ), and write( ), etc. routines are supported.
Refer to the \PCCARD\COM(PM)\Readmee.txt and \Linux\Readmee.htm files on the CD-ROM for
details.
About Sample programs
Sample programs are provided in the \Samples folder on the CD-ROM. Use the sample programs for
reference and testing when developing software.
Visual Basic sample programs
(1) Transmit/Receive sample
-
Sends data entered from the keyboard and displays received data on the screen.
-
Source folder: \Samples\Vb folder
Visual C++ sample programs
(1) Transmit sample
-
Sends data entered from the keyboard. Execute from the command prompt.
-
Source folder: \Samples\Vc\Comsend.c file
(2) Receive sample
-
Displays received data on the screen.
-
Source folder: \Samples \Vc\Comread.c file