Transmits a string through the ASCOM serial port

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

Syntax

C#
public void Transmit(
	string Data
)
Visual Basic
Public Sub Transmit ( _
	Data As String _
)
Visual C++
public:
virtual void Transmit(
	String^ Data
) sealed

Parameters

Data
Type: System..::..String
String to transmit

Implements

ISerial..::..Transmit(String)

Remarks

Exceptions

ExceptionCondition
ASCOM.Utilities.Exceptions..::..SerialPortInUseExceptionThrown when unable to acquire the serial port
ASCOM..::..NotConnectedExceptionThrown when this command is used before setting Connect = True

See Also