Serial Framework
ContentsIndexHome
PreviousUpNext
TwclSerialClient.SetConfig Method

Sets the new serial port configuration.

Syntax
Pascal
function SetConfig(const Config: TwclSerialConfig): Integer;
Parameters 
Description 
const Config: TwclSerialConfig 
The new serial port configuration.  

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 current configuration first by calling the GetConfig method.

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