SerialPort.GetTag
-----------------

Queries tag value.

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

MBS( "SerialPort.GetTag"; PortReference ) 

**MBS**( **"SerialPort.GetTag";** /\* Queries tag value. \*/  
**$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 text or error.

### Description

Queries tag value.  
### See also

- [SerialPort.GetCTS](SerialPortGetCTS.md)
- [SerialPort.GetDSR](SerialPortGetDSR.md)
- [SerialPort.GetRTS](SerialPortGetRTS.md)
- [SerialPort.GetXON](SerialPortGetXON.md)
- [SerialPort.Open](SerialPortOpen.md)
- [SerialPort.SetDTR](SerialPortSetDTR.md)
- [SerialPort.SetRTS](SerialPortSetRTS.md)
- [SerialPort.SetTag](SerialPortSetTag.md)
- [SerialPort.Setup](SerialPortSetup.md)
- [SerialPort.SetXON](SerialPortSetXON.md)

### Release notes

- **Version 13.0**
    - Added [SerialPort.GetTag](https://www.mbsplugins.eu/SerialPortGetTag.shtml) and [SerialPort.SetTag](https://www.mbsplugins.eu/SerialPortSetTag.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 13.0](https://www.mbsplugins.de/archive/2023-01-24/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 12.6pr1](https://www.mbsplugins.de/archive/2022-12-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 29th November 2022 , last changed 29th November 2022

  
[SerialPort.GetStopBits](SerialPortGetStopBits.md) - [SerialPort.GetXON](SerialPortGetXON.md)

[HTML Version](SerialPortGetTag.shtml)