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: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

SerialPort.List

Returns list of names of serial ports.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SerialPort 3.0 Yes Yes Yes No No
MBS( "SerialPort.List" )   More

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

Example Databases

Blog Entries

Release notes

  • Version 8.2

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


SerialPort.LastError   -   SerialPort.Open

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins