The maximum time that the ASCOM serial port will wait for incoming receive data (seconds, default = 5)

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public int ReceiveTimeout { get; set; }
Visual Basic
Public Property ReceiveTimeout As Integer
	Get
	Set
Visual C++
public:
virtual property int ReceiveTimeout {
	int get () sealed;
	void set (int value) sealed;
}

Field Value

Integer, serial port timeout in seconds

Return Value

Integer, serial port timeout in seconds.

Implements

ISerial..::..ReceiveTimeout

Remarks

The minimum delay timout that can be set through this command is 1 seconds. Use ReceiveTimeoutMs to set a timeout less than 1 second.

Exceptions

ExceptionCondition
ASCOM..::..InvalidValueExceptionThrown when value is invalid (outside the range 1 to 120 seconds.

See Also