From Xojo Documentation
| This item was deprecated in version 2019r2.
Please use SerialConnection.Baud as a replacement.
The rate at which data will be sent and received (see the Baud Rate chart in the Notes section, below).
|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.|
The “Baud” class constants can be used to get or set the Baud rate. To do this, check the value of Baud against one or more class constants. See the table in the section "Baud Rates", below.
To set the Baud rate, assign the desired class constant to the Baud property. To get the baud rate, compare the value of the Baud property to the constants in this table.
|Baud Rate||Value||Class Constant|
Setting nonstandard baud rates is supported only on Windows and macOS. On macOS, the system supports arbitrary baud rates by passing the request along to the driver. If the driver supports the passed baud rate, then it is set (or approximated).
On Linux, some non-standard baud rates are possible to achieve by using the Setserial system call and setting your baud rate to a special value.
The following example sets the Baud rate in the Open event of the window. The Baud rate can also be set in the IDE.