Table of Contents

SerialPortSettings Section

These settings define a serial port name and communication parameters.

  • Parent Sections
  • Full Section Key Path Examples
    • Workstation:BarCodeScanning:Scanners:0:SerialPort
    • Workstation:BarCodeScanning:Scanners:1:SerialPort
Key Value Type Default Value Description
PortName string COM1 The port for communications, including but not limited to all available COM ports.
BaudRate integer 9600 The serial baud rate. This must be greater than 0.
DataBits integer 8 The standard length of data bits per byte. This must be from 5 to 8.
Parity string None The parity-checking protocol. This must be None (no parity check occurs), Odd (sets the parity bit so that the count of bits set is an odd number), Even (sets the parity bit so that the count of bits set is an even number), Mark (leaves the parity bit set to 1), or Space (leaves the parity bit set to 0).
StopBits string One The standard number of stop bits per byte. This must be None, One, Two, or OnePointFive.
Handshake string None The handshaking protocol for serial port transmission of data. This must be None (no control), XOnXOff (XON/XOFF software control protocol), RequestToSend (Request-to-Send (RTS) hardware flow control), or RequestToSendXOnXOff (both the Request-to-Send (RTS) hardware control and the XON/XOFF software controls).
DtrEnable boolean false Whether to enable the Data Terminal Ready (DTR) signal during serial communication.
RtsEnable boolean false Whether the Request to Send (RTS) signal is enabled during serial communication.