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 | |
|---|---|---|---|---|---|
![]() |
ioState | SerialPortState | |||
![]() |
inPortId | int | 0 - 7 | 0 | Identifies open port instance when working with multiple serial ports |
![]() |
inBuffer | ByteBuffer | Buffer containing raw data to write |


