Transmit an array of binary bytes 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 TransmitBinary(
	byte[] Data
)
Visual Basic
Public Sub TransmitBinary ( _
	Data As Byte() _
)
Visual C++
public:
virtual void TransmitBinary(
	array<unsigned char>^ Data
) sealed

Parameters

Data
Type: array<System..::..Byte>[]()[][]
Byte array to transmit

Implements

ISerial..::..TransmitBinary(array<Byte>[]()[][])

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