SerialPort.GetBaudRate
----------------------

Queries the baud rate.

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

MBS( "SerialPort.GetBaudRate"; PortReference ) 

**MBS**( **"SerialPort.GetBaudRate";** /\* Queries the baud rate. \*/  
**$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 baud rate as number or error message.

### Description

Queries the baud rate.  
### See also

- [SerialPort.GetDataBits](SerialPortGetDataBits.md)
- [SerialPort.Open](SerialPortOpen.md)
- [SerialPort.SetBaudRate](SerialPortSetBaudRate.md)

### Blog Entries

- [MBS Filemaker Plugin, version 3.1pr1](https://www.mbsplugins.de/archive/2012-12-14/MBS_Filemaker_Plugin_version_3/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[SerialPort.CloseAll](SerialPortCloseAll.md) - [SerialPort.GetCTS](SerialPortGetCTS.md)

[HTML Version](SerialPortGetBaudRate.shtml)