Name
GetParity -- get parity mode for serial port connection (V8.0)
Synopsis
parity = GetParity(id)
Function
This command can be used to get the parity mode for the serial port connection specified in id. This serial port connection must have been opened using OpenSerialPort() before.

The return value will 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
Results
parity
parity bit as a special constant (see above)

Show TOC