system.serial
Serial Functions
The following functions give you access to read and write through serial ports.
📄️ system.serial.closeSerialPort
Closes a previously opened serial port.
📄️ system.serial.configureSerialPort
Configure a serial port for use in a later call.
📄️ system.serial.openSerialPort
Opens a previously configured serial port for use.
📄️ system.serial.readBytes
Read numberOfBytes bytes from a serial port.
📄️ system.serial.readBytesAsString
Read numberOfBytes bytes from a serial port and convert them to a String.
📄️ system.serial.readLine
Attempts to read a line from a serial port.
📄️ system.serial.readUntil
Reads a byte at a time from a serial port until a delimiter character is encountered.
📄️ system.serial.sendBreak
Sends a break signal for approximately millis milliseconds.
📄️ system.serial.write
Write a String to a serial port using the platforms default character encoding.
📄️ system.serial.writeBytes
Write a byte[] to a serial port.
Functions by Scope
Gateway
Vision
Designer