SerialConnection.Parity
From Xojo Documentation
Property (As SerialConnection.Parities )
aSerialConnection.Parity = newSerialConnection.ParitiesValue
or
SerialConnection.ParitiesValue = aSerialConnection.Parity
New in 2019r2
Supported for all project types and targets.
or
SerialConnection.ParitiesValue = aSerialConnection.Parity
New in 2019r2
Supported for all project types and targets.
The parity that is being used.
Notes
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. |
Set this property using the Parities enumeration.
Example
This code sets the parity in the Open event of the window:
SerialConnection1.Parity = SerialConnection.Parities.Odd