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

SerialPort.HasLine

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

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 1, 0 or error.

Description

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