From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
| This item was deprecated in version 2019r2.
Please use SerialConnection.StopBit as a replacement.
Property (As Integer )
The number of stop bits being used.
|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.|
You can use the following class constants instead of the numbers to check or set the number of stop bits. They are:
|0||StopBits1||1 stop bits|
|1||StopBits15||1.5 stop bits|
|2||StopBits2||2 stop bits|
This example sets the number of Stop bits in the Open event of the window.
Serial1.Stop = Serial.StopBits1