COMM TIMEOUT statement

Purpose | Place a limit on the time to complete a COMM operation.
Syntax | COMM TIMEOUT [#] hComm, TimeOutMS&
Remarks | COMM TIMEOUT allows you to specify how long a COMM operation should wait to send or receive a byte of data. This value is measured in milliseconds. If the specified number of milliseconds elapses without a response, the COMM operation will fail and a run-time error 24 (Device Timeout) will be generated.
See also | Serial Communications, COMM CLOSE, COMM function, COMM LINE, COMM OPEN, COMM PRINT, COMM RECV, COMM RESET, COMM SEND, COMM SET, COMM TIMEOUT, FREEFILE, OPEN