The type of parity used on the serial port

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public enum SerialParity
Visual Basic
Public Enumeration SerialParity
Visual C++
public enum class SerialParity

Members

Member nameValueDescription
Even2 Sets the parity bit so that the count of bits set is an even number.
Mark3 Leaves the parity bit set to 1.
None0 No parity check occurs.
Odd1 Sets the parity bit so that the count of bits set is an odd number.
Space4 Leaves the parity bit set to 0.

Remarks

Parity is an error-checking procedure in which the number of 1s must always be the same — either even or odd — for each group of bits that is transmitted without error. Parity is one of the parameters that must be agreed upon by both sending and receiving parties before transmission can take place.

See Also