SerialConnection.Parity

From Xojo Documentation

aSerialConnection.Parity = newSerialConnection.ParitiesValue
or
SerialConnection.ParitiesValue = aSerialConnection.Parity

New in 2019r2

Supported for all project types and targets.

The parity that is being used.

Notes

fa-info-circle-32.png
Changing property values does not automatically change the state of the hardware, you must call Reset or re-Open the connection in order for the change to take effect.

Sample Code

This code sets the parity in the Open event of the window:

SerialConnection1.Parity = SerialConnection.Parities.Odd

See Also

Parities enumeration.