beautypg.com

Figure 6.6. flowchart of sample program 4 – Compaq Contec COM-2(PC)F User Manual

Page 57

background image

Appendix

COM-2(PC)F

48

Sample Program 4

This GW-BASIC sample program demonstrates the receive-data
capability of COM-2(PC)F in Compatible mode. Using this
[OPEN "COM1 : 9600, N, 8, 2, DS" AS #1] command opens the
RS-232C communication file (COM1). It then reads the data from
COM1 and outputs to CRT through CN1.

Yes

No

Set

Communication File

Display File Buffer's

Data On CRT

START

File Buffer = 0

Figure 6.6. Flowchart of Sample Program 4

This manual is related to the following products: