- Name
-
SetParity -- set parity mode for serial port connection (V8.0)
- Synopsis
-
SetParity(id, parity)
- Function
-
This command can be used to set the parity mode for the serial port connection specified
in
id
. This serial port connection must have been opened using OpenSerialPort() before.
You have to pass the desired parity mode in the parity
parameter. This must be one of
the following special constants:
#PARITY_NONE:
-
Do not use any parity bit.
#PARITY_EVEN:
-
Use 1 bit of even parity.
#PARITY_ODD:
-
Use 1 bit of odd parity.
- Inputs
-
- id
- identifier of the serial port connection to use
- baud
- desired parity mode
Show TOC