Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SerialPort.Clear
Clears incoming buffer.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| SerialPort | 7.4 | Yes | Yes | No | No | No |
MBS( "SerialPort.Clear"; PortReference ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| PortReference | The reference number of the port. You get this number from SerialPort.Open when you open the port. | $port |
Result
Returns OK or error.
Description
Clears incoming buffer.Reads all data from serial port.
See also
Blog Entries
Release notes
- Version 9.0
- Fixed memory leak in SerialPort.Clear function.
- Version 7.4
Created 12nd September 2017, last changed 25th September 2018
SerialPort.AvailableBytes - SerialPort.ClearDataAvailableHandler
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins