5. About Software
GCOM-2C2-PCI, GCOM-4C2-PCI, GCOM-8C2-PCI
39
5.
About Software
The "DRV-COM" from the supplied CD-ROM provides the following functions.
- Operation
under
Windows.
-
The serial ports can be used in the same way as the standard COM ports on the PC.
-
The boards 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).
About Sample programs
Sample programs are provided in the DRVCOM\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:
DRVCOM\Samples\Vb
Visual C++ sample programs
(1) Transmit sample
-
Sends data entered from the keyboard. Execute from the command prompt.
-
Source folder: DRVCOM\Samples\Vc\Comsend.c file
(2) Receive sample
-
Displays received data on the screen.
-
Source folder: DRVCOM\Samples\Vc\Comread.c file
Содержание GCOM-2C2-PCI
Страница 13: ...1 Before Using the Product 8 GCOM 2C2 PCI GCOM 4C2 PCI GCOM 8C2 PCI...
Страница 43: ...4 Functions 38 GCOM 2C2 PCI GCOM 4C2 PCI GCOM 8C2 PCI...
Страница 46: ...5 About Software GCOM 2C2 PCI GCOM 4C2 PCI GCOM 8C2 PCI 41 CD ROM Directory Structure...
Страница 47: ...5 About Software 42 GCOM 2C2 PCI GCOM 4C2 PCI GCOM 8C2 PCI...
Страница 52: ...6 About Hardware GCOM 2C2 PCI GCOM 4C2 PCI GCOM 8C2 PCI 47...