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: 6.0.0.0 (6.2.0.2774)
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