Serial Framework
ContentsIndexHome
PreviousUpNext
TwclSerialClient.SetTimeouts Method

Sets the serial port timeouts.

Syntax
Pascal
function SetTimeouts(const Timeouts: TwclSerialTimeouts): Integer;
Parameters 
Description 
const Timeouts: TwclSerialTimeouts 
The new serial port timeouts.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

It is recomended to read default/current timeouts firest by calling the GetTimeouts method.

Copyright (c) 2006-2019. All rights reserved.