FieldTalk™ Modbus Master .NET Library

MbusMasterFunctions.setTimeout Method 

Configures time-out

[Visual Basic]
Public Function setTimeout( _
   ByVal timeOut As Integer _
) As Integer
[C#]
public int setTimeout(
   int timeOut
);

Parameters

timeOut
Timeout value in ms (Range: 1 - 100000)

Return Value

BusProtocolErrors.FTALK_SUCCESS on success or error code. See BusProtocolErrors for possible error codes.

Remarks

Configures operation or socket time-out.

The time-out value is indicative only and not guaranteed to be maintained. How precise it is followed depends on the operating system used, it's scheduling priority and it's system timer resolution.

Note    A protocol must be closed in order to configure it.

See Also

MbusMasterFunctions Class | FieldTalk Namespace