SerialPort.IsSuspended
----------------------

Checks suspension state.

| 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.IsSuspended"; PortReference ) 

**MBS**( **"SerialPort.IsSuspended";** /\* Checks suspension state. \*/  
**$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 1, 0 or error.

### Description

Checks suspension state.  
While suspended, we do not trigger event and clear incoming buffer regularly.  
### See also

- [SerialPort.Open](SerialPortOpen.md)
- [SerialPort.Suspend](SerialPortSuspend.md)

### Release notes

- **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 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.HasLine](SerialPortHasLine.md) - [SerialPort.LastError](SerialPortLastError.md)

[HTML Version](SerialPortIsSuspended.shtml)