Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Component: SerialPort
Enumerate serial ports and send/receive data.
Version | macOS | Windows | Linux | Server | iOS SDK |
3.0 / 13.4 | ✅ 98% | ✅ Yes | 🔶 18% | ✅ Yes, on macOS and Windows | ❌ No |
Item | Details |
---|---|
SerialPort.AvailableBytes Queries number of bytes available in buffer. | Mac/Win 4.4 |
SerialPort.Clear Clears incoming buffer. | Mac/Win 7.4 |
SerialPort.ClearDataAvailableHandler Clears the data available handler. | Mac/Win 5.1 |
SerialPort.Close Closes serial port. | Mac/Win 3.0 |
SerialPort.CloseAll Closes all serial ports. | Mac/Win 5.4 |
SerialPort.GetBaudRate Queries the baud rate. | Mac/Win 3.1 |
SerialPort.GetCTS Queries current CTS mode. | Mac/Win/Linux 3.4 |
SerialPort.GetDSR Queries whether DSR mode is used. | Mac/Win/Linux 3.4 |
SerialPort.GetDTR Queries whether DTR (data-terminal-ready) flow control is used. | Mac/Win/Linux 3.4 |
SerialPort.GetDataBits Queries the data bit size. | Mac/Win 3.1 |
SerialPort.GetParity Queries parity setting. | Mac/Win 5.0 |
SerialPort.GetRTS Queries whether to use RTS (request-to-send) flow control. | Mac/Win/Linux 3.4 |
SerialPort.GetStopBits Queries number of stop bits. | Mac/Win 5.0 |
SerialPort.GetTag Queries tag value. | Mac/Win 13.0 |
SerialPort.GetXON Queries if XON/XOFF flow control is used. | Mac/Win 3.4 |
SerialPort.HasLine Checks if a line is available. | Mac/Win 7.0 |
SerialPort.IsSuspended Checks suspension state. | Mac/Win 7.4 |
SerialPort.LastError Returns the system error from last serial port function call. | Mac/Win 3.3 |
SerialPort.List Returns list of names of serial ports. | Mac/Win 3.0 |
SerialPort.Open Opens a serial port. | Mac/Win 3.0 |
SerialPort.OpenPath Opens a special file, device or pipe. | Mac/Win 13.4 |
SerialPort.Path Queries the path used to open the serial port. | Mac/Win 13.0 |
SerialPort.Read Reads bytes from serial port and returns them as text. | Mac/Win 3.0 |
SerialPort.ReadByte Reads a single byte to the serial port. | Mac/Win 3.0 |
SerialPort.ReadHex Reads bytes from serial port and returns them hex encoded. | Mac/Win 3.0 |
SerialPort.ReadLine Reads a line of text from serial port. | Mac/Win 7.0 |
SerialPort.Resume Resumes serial port. | Mac/Win 7.4 |
SerialPort.SetBaudRate Sets the baud rate. | Mac/Win 3.1 |
SerialPort.SetCTS Sets CTS mode. | Mac/Win/Linux 3.4 |
SerialPort.SetDSR Sets whether DSR mode is used. | Mac/Win/Linux 3.4 |
SerialPort.SetDTR Sets whether DTR (data-terminal-ready) flow control is used. | Mac/Win/Linux 3.4 |
SerialPort.SetDataAvailableEvaluate Sets the data available expression for this serial port. | Mac/Win 6.2 |
SerialPort.SetDataAvailableHandler Sets the data available handler for this serial port. | Mac/Win 5.1 |
SerialPort.SetDataBits Sets data bit size. | Mac/Win 3.1 |
SerialPort.SetParity Sets parity setting. | Mac/Win 5.0 |
SerialPort.SetRTS Sets whether to use RTS (request-to-send) flow control. | Mac/Win/Linux 3.4 |
SerialPort.SetStopBits Sets number of stop bits. | Mac/Win 5.0 |
SerialPort.SetTag Sets tag value. | Mac/Win 13.0 |
SerialPort.SetXON Sets the serial port to use XON/XOFF mode. | Mac/Win 3.4 |
SerialPort.Suspend Suspends serial port. | Mac/Win 7.4 |
SerialPort.WaitNamedPipe Waits for a named pipe. | Win only 13.4 |
SerialPort.Write Writes text to the serial port. | Mac/Win 3.0 |
SerialPort.WriteByte Writes a single byte to the serial port. | Mac/Win 3.0 |
SerialPort.WriteHex Writes text to the serial port. | Mac/Win 3.0 |
44 functions shown.
Release notes
- Version 13.4
- Added SerialPort.OpenPath function, so you can use SerialPort functions to open special files or pipes.
- Added SerialPort.WaitNamedPipe function to wait for a pipe and use with SerialPort.OpenPath on Windows.
- Version 13.0
- Added SerialPort.GetTag and SerialPort.SetTag functions.
- Added SerialPort.Path function.
- Version 12.3
- Added Mode = 2 for SerialPort.List function to return information as JSON.
- Implemented SerialPort.GetCTS, SerialPort.GetDSR, SerialPort.GetDTR, SerialPort.GetRTS, SerialPort.SetCTS, SerialPort.SetDSR, SerialPort.SetDTR, and SerialPort.SetRTS for Linux.
- Version 10.1
- Improved error message for SerialPort.Open to include port name.
- Version 9.2
- Added workaround for SerialPort.Open to avoid Windows bug with COM ports >9
- Improved error message for SerialPort.Open to include name of the COM port.
- Version 9.0
- Fixed memory leak in SerialPort.Clear function.
- Version 8.3
- Fixed SerialPort.Open for Windows to work with COM10 now.
- Version 8.2
- Rewrote SerialPort.List on Windows to query COM ports better.
- Version 7.4
Blog Entries
- News in MBS FileMaker Plugin 13.4
- MBS FileMaker Plugin, version 13.4pr6
- SerialPort functions in MBS Plugin
- Combine MBS functions to automate processes in FileMaker
- MBS FileMaker Plugin 7.4 - More than 4900 Functions In One Plugin
- MBS FileMaker Plugin 7.0 - More than 4400 Functions In One Plugin
- MBS FileMaker Plugin 5.4 for OS X/Windows
- MBS FileMaker Plugin 3.4 for OS X/Windows
- MBS FileMaker Plugin 3.1 for OS X/Windows - More than 1400 Functions In One Plugin
- MBS FileMaker Plugin 3.0 for OS X/Windows - More than 1300 Functions In One Plugin