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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem