Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

SerialPort.LastError

Returns the system error from last serial port function call.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SerialPort 3.3 Yes Yes Yes No No

MBS( "SerialPort.LastError"; PortReference )

Parameters

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

Result

Returns error code.

Description

Returns the system error from last serial port function call.
The error code is zero for no error.
On Windows you get the windows system error codes and on Mac OS X the unix system error codes.

See also


SerialPort.IsSuspended   -   SerialPort.List

Feedback: Report problem or ask question.




Links
MBS FileMaker blog