The ISerial type exposes the following members.

Properties

  NameDescription
Public propertyAvailableComPorts
Returns a list of all available ASCOM serial ports with COMnnn ports sorted into ascending port number order
Public propertyConnected
Gets or sets the connected state of the ASCOM serial port.
Public propertyDataBits
Gets or sets the number of data bits in each byte
Public propertyDTREnable
Gets or sets the state of the DTR line
Public propertyHandshake
Gets or sets the type of serial handshake used on the serial line
Public propertyParity
Gets or sets the type of parity check used over the serial link
Public propertyPort
Gets or sets the number of the ASCOM serial port (Default is 1, giving COM1 as the serial port name).
Public propertyPortName
Sets the ASCOM serial port name as a string
Public propertyReceiveTimeout
The maximum time that the ASCOM serial port will wait for incoming receive data (seconds, default = 5)
Public propertyReceiveTimeoutMs
The maximum time that the ASCOM serial port will wait for incoming receive data (milliseconds, default = 5000)
Public propertyRTSEnable
Gets or sets use of the RTS handshake control line
Public propertySpeed
Gets and sets the baud rate of the ASCOM serial port
Public propertyStopBits
Gets or sets the number of stop bits used on the serial link

See Also