ThbComPort.Write
Unit: hbComm
 

Writes a number of BufferSize bytes from Buffer to the output buffer. If ThbComPort.Options.SyncMode is set to True, the method waits until all data has been sent succsessfully, otherwise the method returns immediately and the data is send in an asynchronous manner.

Declaration

procedure Write(const Buffer; BufferSize: Integer);

See Also

ThbComPort..Timeouts,ThbComPort.Options.SyncMode