I-7188XA Series User’s Manual ( Ver1.2, Feb/2014, 7MH-019-10 ) ---
109
Header:
#include ”7188xa.h”
Description: Reads data from the buffer of COM1. Assigned to
COM1.
Example: Please refer to “InstallCom1()” for an example.
ClearCom()
Function: Clears the data currently stored in the COM Port buffer.
The COM Port number is not assigned.
Syntax:
int ClearCom(int port);
Header:
#include ”7188xa.h”
Description: Clears the data currently stores in the COM Port buffer.
The COM Port number is not assigned and can be
modified using the “port” parameter.
port: assigns the COM Port number
Example: Please refer to “InstallCom()” for an example.
ClearCom1()
Function: Clears the data currently stored in the buffer of COM1.
Syntax:
int ClearCom1(void);
Header:
#include ”7188xa.h”
Description: Clears the data currently stored in buffer of COM1.
Assigned to COM1.
Example: Please refer to “InstallCom1()” for an example.
ToCom()
Function: Sends data to the COM Port. The COM Port number is
not assigned.
Syntax:
int ToCom(int port);
Header:
#include ”7188xa.h”
Description: Sends data to the COM Port. The COM Port number is
not assigned and can be modified using the “port”
parameter.
port: assigns the COM Port number
Example: Please refer to “InstallCom()” for an example.
ToCom1()
Function: Sends data to COM1.
Syntax:
int ToCom1(void);
Summary of Contents for I-7188XA
Page 62: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 62 5 6 COM1 RS 232 1 2 232...
Page 90: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 90 1 2...
Page 140: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 140...
Page 146: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 146 Step 8 Make the project...
Page 153: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 153 Step 8 Rebuild the project...
Page 158: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 158...
Page 162: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 162...
Page 164: ...I 7188XA Series User s Manual Ver1 2 Feb 2014 7MH 019 10 164...