SerialReceiveTimeout Property

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

Definition

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
C#
public int ReceiveTimeout { get; set; }

Property Value

Int32
Integer, serial port timeout in seconds

Return Value

Int32
Integer, serial port timeout in seconds.

Remarks

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

Exceptions

InvalidValueExceptionThrown when value is invalid (outside the range 1 to 120 seconds.)

See Also