SerialPort_WriteBuffer


Writes raw binary data from a byte buffer to serial port.

Syntax

C++
Python
 
def SerialPort_WriteBuffer(
	state: SerialPortState,
	inBuffer: ByteBuffer,
	/,
	*,
	inPortId: int = 0
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState SerialPortState
Input value inPortId int 0 - 7 0 Identifies open port instance when working with multiple serial ports
Input value inBuffer ByteBuffer Buffer containing raw data to write