Receive at least one text character from the ASCOM serial port

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
string Receive()
Visual Basic
Function Receive As String
Visual C++
String^ Receive()

Return Value

The characters received

Remarks

This method reads all of the characters currently in the serial receive buffer. It will not return unless it reads at least one character. A timeout will cause a TimeoutException to be raised. Use this for text data, as it returns a String.

See Also