SerialReceiveTimeoutMs Property

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

Definition

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

Property Value

Int32
Integer, serial port timeout in milli-seconds

Return Value

Int32
Integer, serial port timeout in milli-seconds

Remarks

If a timeout occurs, an IO timeout error is raised. See ReceiveTimeout for an alternate form using the timeout in seconds.

Exceptions

InvalidValueExceptionThrown when value is invalid.

See Also