Visible to Intel only — GUID: GUID-639E85EB-5000-40D6-B6EA-329EBED8ADCB
Visible to Intel only — GUID: GUID-639E85EB-5000-40D6-B6EA-329EBED8ADCB
SPORT_SET_TIMEOUTS
Serial Port I/O Function: Sets the user selectable timeouts for the serial port. This routine is only available for Windows.
USE IFPORT
result = SPORT_SET_TIMEOUTS (port [,rx_int] [,tx_tot_mult] [,tx_tot_const])
port |
(Input) Integer. The port number. |
rx_int |
(Input; optional) INTEGER(4). The receive interval timeout value. |
tx_tot_mult |
(Input; optional) INTEGER(4). The transmit multiplier part of the timeout value. |
tx_tot_const |
(Input; optional) INTEGER(4). The transmit constant part of the timeout value. |
The result type is INTEGER(4). The result is zero if successful; otherwise, a Windows* error value.
This routine must not be used when any I/O is pending. Since a read operation is always pending after any I/O has been started, you must first call SPORT_CANCEL_IO before port parameters can be changed.
USE IFPORT
INTEGER(4) iresult
iresult = SPORT_SET_TIMEOUTS( 2, 100, 0, 1000 )
END
See Also
Communications and Communications Functions in the Microsoft* Platform SDK