Click or drag to resize
Serial Methods

The Serial type exposes the following members.

Methods
  Name Description
Public method ClearBuffers
Clears the ASCOM serial port receive and transmit buffers
Public method Dispose
Disposes of resources used by the profile object
Public method LogMessage
Adds a message to the ASCOM serial trace file
Public method Receive
Receive at least one text character from the ASCOM serial port
Public method ReceiveByte
Receive one binary byte from the ASCOM serial port
Public method ReceiveCounted
Receive exactly the given number of characters from the ASCOM serial port and return as a string
Public method ReceiveCountedBinary
Receive exactly the given number of characters from the ASCOM serial port and return as a byte array
Public method ReceiveTerminated
Receive characters from the ASCOM serial port until the given terminator string is seen
Public method ReceiveTerminatedBinary
Receive characters from the ASCOM serial port until the given terminator bytes are seen, return as a byte array
Public method Transmit
Transmits a string through the ASCOM serial port
Public method TransmitBinary
Transmit an array of binary bytes through the ASCOM serial port
Top
See Also