Silverfrost Logo About Us | Contact Us
 

Serial communications routines

The following routines provide for Win32 serial communication between your computer and external devices. To access these routines you need to provide definitions by, for example, including the file clearwin.ins or by using the MSWIN module.

GETTERMINATECOMMCHAR@

Gets the character that terminated the last call to READCOMMDEVICE@.

OPENCOMMDEVICE@

Opens a serial port for I/O.

READCOMMDEVICE@

Reads data from an open serial port.

SETCOMMTERMINATECHAR@

Sets the characters that may be used to terminate a call to READCOMMDEVICE@.

SETCOMMWAITFORLINEFEED@

Configures READCOMMDEVICE@ to wait for a linefeed character before returning.

SETECHOONREADCOMM@

Sets the communication port to echo back to the sending device.

SETYIELDCOMM@

Configures READCOMMDEVICE@ to yield to other applications when waiting for data.

WRITECOMMDEVICE@

Writes a string to a serial port.

 

 

Copyright © 1999-2017 Silverfrost Limited