Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Checks if a line is available.

Component Version macOS Windows Linux Server iOS SDK
SerialPort 7.0 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "SerialPort.HasLine"; PortReference )   More


Parameter Description Example
PortReference The reference number of the port. You get this number from SerialPort.Open when you open the port. $port


Returns 1, 0 or error.


Checks if a line is available.
The plugin checks the input buffer for a newline character.

See also

Release notes

Blog Entries

This function is free to use.

Created 21st December 2016, last changed 21st December 2016

SerialPort.GetXON - SerialPort.IsSuspended