Description

The COMM procedures allow the application to use COM (serial) port in order to communicate with devices connected to the COM port. The provided procedure allows to open, setup, read and write and handle events from/to the COM port using the Windows COMM driver. COM devices can also be controlled using I/O Tables.

For serial communication (COM) port, two ports are typically present in a computer system as RS232 serial ports (9 or 25 pin), COM1 and COM2. However there can be also be RS422 or any other serial communication port that can operate using the Windows serial driver. Before working with COM ports you must open the port using the ComOpen procedure, ComSetup procedure allows you to change the serial port setup, ComSend and ComRevceive procedures let you send or receive data from the opened port. After completing the work with the serial port you should call the ComClose procedure.

Procedures

 

ComClose

ComGetHandle

ComOpen

ComSend

ComFlush

ComReceive

ComSetup

 

Constants

 

enumAComHandshake

enumAComStopBits

enumAIoMode

enumAComParity

enumAIoFlush