Click or drag to resize

wclSerialClientConnect(String, wclMessageProcessingMethod) Method

Opens a connection to a specified serial port.

Namespace: wclSerialFramework
Assembly: wclSerialFramework (in wclSerialFramework.dll) Version: 8.0.6.0
Syntax
public int Connect(
	string DeviceName,
	wclMessageProcessingMethod MessageProcessing = wclMessageProcessingMethod.mpSync
)

Parameters

DeviceName  String
A serial device name.
MessageProcessing  wclMessageProcessingMethod  (Optional)
A message processing method that should be used by the connection.

Return Value

Int32
If the method completed with success the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See Also