SerialPort_WriteString
Writes string characters to serial port.
Syntax
C++
Python
def SerialPort_WriteString( state: SerialPortState, inString: str, inTerminator: list[int], /, *, inPortId: int = 0, inASCIIMode: bool = False ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | SerialPortState | |||
![]() |
inPortId | int | 0 - 7 | 0 | Identifies open port instance when working with multiple serial ports |
![]() |
inString | str | |||
![]() |
inASCIIMode | bool | False | ||
![]() |
inTerminator | list[int] |


