Home > Language Reference > Classes > StreamSerial
StopBits Property
Number of stop bits to be used.
Syntax
Public Property Get StopBits() As Integer
Public Property Let StopBits(ByVal iStopBits As Integer)
| Parameter | Description |
| iStopBits | New number of stop bits. |
Remarks
This property sets or retrieves the number of stop bits used by the serial protocol. It can take one of the following values:
| Values | Meaning |
| 1 | 1 stop bit |
| 2 | 2 stop bits |
Note: you have to ensure that the communication port is open using the Open method before set this property.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.3 | N/A |