Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets tag value.

Component Version macOS Windows Linux Server iOS SDK
SerialPort 13.0 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "SerialPort.SetTag"; PortReference; Tag )   More


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


Returns OK or error.


Sets tag value.
You can use the tag value to associate whatever value you like with the serial port object. Use SerialPort.GetTag function later to get back the value.

See also

Release notes

Blog Entries

This function checks for a license.

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

SerialPort.SetStopBits - SerialPort.SetXON