SerialConnection.StopBit

From Xojo Documentation

aSerialConnection.StopBit = newSerialConnection.StopBitsValue
or
SerialConnection.StopBitsValue = aSerialConnection.StopBit

New in 2019r2

Supported for all project types and targets.

The number of stop bits 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.

Set this property using the StopBits enumeration.

Example

This code sets the number of Stop bits in the Open event of the window.

SerialConnection1.StopBit = SerialConnection.StopBits.One