Options for Serial Port Configuration

The options for configuring serial COM ports for a .NET managed program are:

Option Description
BAUD Sets the serial baud rate. This is a numerical value. For example BAUD=4800
DATABITS Sets the standard length of data bits per byte. This can be: 1, 1.5, 2
PARITY Sets the parity-checking protocol. This can be:
E Sets the parity bit so that the count of bits set is an even number
M Leaves the parity bit set to 1
N No parity check occurs
O Sets the parity bit so that the count of bits set is an odd number
S Leaves the parity bit set to 0
STOPBITS Specifies the number of stop bits used. This can be: 0, 1, 1.5, 2
TIMEOUT Sets the number of milliseconds before a time-out occurs when a read or write operation does not finish. For example, TIMEOUT=2000 gives a two second timeout

Related Topics: