Click or drag to resize

SerialReceiveTimeout Property

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: 3c9121baba46811fe6e53a58a05935662261416d
Syntax
public int ReceiveTimeout { get; set; }

Property Value

Type: Int32
Integer, serial port timeout in seconds

Return Value

Type: Int32
Integer, serial port timeout in seconds.
Exceptions
ExceptionCondition
InvalidValueExceptionThrown when value is invalid (outside the range 1 to 120 seconds.)
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.
See Also