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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

SerialPort.List

Returns list of names of serial ports.

Component Version macOS Windows Linux Server iOS SDK
SerialPort 3.0 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "SerialPort.List" )

Parameters

none

Result

Returns the list of names.

Description

Returns list of names of serial ports.
On Windows can list ports with textual name.

When script calling this function runs on client in FileMaker Pro, you may see the ports of the machine your FileMaker Pro runs on. But if run on server side, you see the ports of the server.

Examples

Get device list and pick first one:

$list = MBS( "SerialPort.List" )
$firstDevice = LeftValues($list; 1)

See also

Release notes

Example Databases

Blog Entries

Created 18th August 2014, last changed 12nd March 2020


SerialPort.LastError - SerialPort.Open

Feedback: Report problem or ask question.