SerialPort.Resume
-----------------

Resumes serial port.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SerialPort](component_SerialPort.md) | [7.4](newinversion74.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |

MBS( "SerialPort.Resume"; PortReference ) 

**MBS**( **"SerialPort.Resume";** /\* Resumes serial port. \*/  
**$PortReference**) /\* The reference number of the port. You get this number from [SerialPort.Open](SerialPortOpen.md) when you open the port.e.g. $port \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PortReference | The reference number of the port. You get this number from [SerialPort.Open](SerialPortOpen.md) when you open the port. | $port |

### Result

Returns OK or error.

### Description

Resumes serial port.  
While suspended, we do not trigger event and clear incoming buffer regularly.  
### See also

- [SerialPort.Open](SerialPortOpen.md)
- [SerialPort.ReadByte](SerialPortReadByte.md)
- [SerialPort.ReadHex](SerialPortReadHex.md)
- [SerialPort.SetCTS](SerialPortSetCTS.md)
- [SerialPort.SetDSR](SerialPortSetDSR.md)
- [SerialPort.SetDTR](SerialPortSetDTR.md)
- [SerialPort.SetRTS](SerialPortSetRTS.md)
- [SerialPort.SetTag](SerialPortSetTag.md)
- [SerialPort.Setup](SerialPortSetup.md)
- [SerialPort.Suspend](SerialPortSuspend.md)

### Release notes

- **Version 15.1**
    - Changed [SerialPort.Resume](https://www.mbsplugins.eu/SerialPortResume.shtml) and [SerialPort.Clear](https://www.mbsplugins.eu/SerialPortClear.shtml) to allow script trigger.
- **Version 7.4**
    - Added [SerialPort.Clear](http://www.mbsplugins.eu/SerialPortClear.shtml), [SerialPort.IsSuspended](http://www.mbsplugins.eu/SerialPortIsSuspended.shtml), [SerialPort.Resume](http://www.mbsplugins.eu/SerialPortResume.shtml) and [SerialPort.Suspend](http://www.mbsplugins.eu/SerialPortSuspend.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 15.1pr1](https://www.mbsplugins.de/archive/2025-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 7.4pr6](https://www.mbsplugins.de/archive/2017-09-17/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 12nd September 2017 , last changed 15th June 2021

  
[SerialPort.ReadLine](SerialPortReadLine.md) - [SerialPort.SetBaudRate](SerialPortSetBaudRate.md)

[HTML Version](SerialPortResume.shtml)