Click or drag to resize
Serial Properties

The Serial type exposes the following members.

Properties
  Name Description
Public property AvailableCOMPorts
Returns a list of all available ASCOM serial ports with COMnnn ports sorted into ascending port number order
Public property Connected
Gets or sets the connected state of the ASCOM serial port.
Public property DataBits
Gets or sets the number of data bits in each byte
Public property DTREnable
Gets or sets the state of the DTR line
Public property Handshake
Gets or sets the type of serial handshake used on the serial link
Public property Parity
Gets or sets the type of parity check used over the serial link
Public property Port
Gets or sets the number of the ASCOM serial port (Default is 1, giving COM1 as the serial port name).
Public property PortName
Sets the ASCOM serial port name as a string
Public property ReceiveTimeout
The maximum time that the ASCOM serial port will wait for incoming receive data (seconds, default = 5)
Public property ReceiveTimeoutMs
The maximum time that the ASCOM serial port will wait for incoming receive data (milliseconds, default = 5000)
Public property RTSEnable
Gets or sets use of the RTS handshake control line
Public property Speed
Gets and sets the baud rate of the ASCOM serial port
Public property StopBits
Gets or sets the number of stop bits used on the serial link
Top
See Also