WriteSerialPortData()
语法
Result = WriteSerialPortData(#SerialPort, *Buffer, Length)概要
Writes an arbitrary amount of data to the specified serial port.
参数
#SerialPort The serial port to use. *Buffer The buffer to write. Length The buffer length to write, in bytes.
返回值
The number of bytes written to the serial port, or zero if the operation has failed.
Remarks
To check how much data is available in the output buffer, use AvailableSerialPortOutput().
参阅
OpenSerialPort(), WriteSerialPortString()
已支持操作系统
所有